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