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