function CheckForm(){
	var theName;
	var thePass;

	theName=document.getElementById("UserName");
	thePass=document.getElementById("UserPass");

	if(theName.value == ""){
		alert("请输入用户名！");
		theName.focus();
		return false;
	}
	if(thePass.value == ""){
		alert("请输入密码！");
		thePass.focus();
		return false;
	}

	thePass.value=MD5(thePass.value);
	return true;
}