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