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