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