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