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