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