function Check() { if(document.LOgin.username.value.length==0){ alert('请输入用户名'); document.LOgin.username.focus(); return false; } if(document.LOgin.password.value.length==0){ alert('请输入密码'); document.LOgin.password.focus(); return false; } } document.writeln("
| ");
document.writeln(" |