var showstat=1; var imgCount='34186'; if(showstat>0&&document.getElementById("divstat")){ document.getElementById("divstat").innerHTML=imgCount;}