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