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