function chkLogin(theForm)
{
	if(theForm.username.value=="") {
		alert("用户名不能为空");
		theForm.username.focus();
		return false;
	}
	
	if(theForm.passwd.value=="") {
		alert("密码不能为空");
		theForm.passwd.focus();
		return false;
	}
}
