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