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