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