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