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