document.write(''); function CheckForm(){ if (document.loginform.username.value==''||document.loginform.username.value=='username'){$.dialog.alert('Please input username',function(){document.loginform.username.focus();});return false;} if (document.loginform.password.value==''){$.dialog.alert('Please input password',function(){document.loginform.password.focus();});return false; } return true;} document.write('
username password  ');document.write(' ');document.write('
');