if (chkdiv('newmessage')) {document.getelementbyid('newmessage').innerhtml='\n';}