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