function CheckLoginForm(theForm){
	var theUserName=eval('document.'+theForm).theUserName.value;
	if (theUserName==""){
		alert("请输入用户名！");
		eval('document.'+theForm).theUserName.focus();
		return false;
	}

	var thePassword=eval('document.'+theForm).thePassword.value;
	if (thePassword==""){
		alert("请输入密码！");
		eval('document.'+theForm).thePassword.focus();
		return false;
	}else if (thePassword.length<6){
		alert("密码长度必需大于6！");
		eval('document.'+theForm).thePassword.focus();
		return false;
	}

	var TheVaildCode=eval('document.'+theForm).TheVaildCode.value;
	if (TheVaildCode==""){
		alert("请输入验证码！");
		eval('document.'+theForm).TheVaildCode.focus();
		return false;
	}else if(TheVaildCode.length!=4){
		alert("验证码长度必需为4！");
		eval('document.'+theForm).TheVaildCode.focus();
		return false;
	}
	eval('document.'+theForm).submit();
}