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