var container = document.getElementById("gpViewCount"); if(container){ container.innerHTML = "5900"; }else{ document.write("5900"); }