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