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