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