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