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