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