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