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