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