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