function chkdiv(divid){ var chkid=document.getElementById(divid); if(chkid != null){return true; } else {return false; } } if (chkdiv('hits')) {document.getElementById('hits').innerHTML='10571 '; document.getElementById('UserReName').innerHTML='ks5uÍøÓÑ';}