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