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