function ValidateForm(theForm)
{
	theForm.systemTest.value="on";

	if (theForm.memName.value.length<1 || theForm.memName.value.length>50)
	{
		alert("请正确输入“用户名”信息");
		theForm.memName.focus();
		return false;
	}

	if (theForm.pwd.value.length<1 || theForm.pwd.value.length>32)
	{
		alert("请正确输入“密码”信息");
		theForm.pwd.focus();
		return false;
	}
	
	if ((!theForm.userType[0].checked)&& (!theForm.userType[1].checked))
	{
		alert("请正确选择您的“用户类型”，用户类型将决定登录结果");
		theForm.userType[0].focus();
		return false;
	}

	theForm.btnSubmit.disabled=true;
}
