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