function checkform(theform){
	if (theform.username.value==""){
		alert('用户名不能为空!');
		theform.username.focus();
		return false;
	}
	if (theform.password.value==""){
		alert('密码不能为空!');
		theform.password.focus();
		return false;
	}
	return true;
}