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