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