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