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