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