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