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