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