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