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