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