function CheckForm()
{
	//	用户名
	var thisUser = document.regform.UserID;
	var UserRe=/^[0-9a-zA-Z]{4,20}$/;
	//	昵称
	var thisUserName = document.regform.UserName;
	var UserNameRe = /^[\u4e00-\u9fa5a-zA-Z0-9]+$/;
	//	密码
	var thisPass = document.regform.Pass;
	var thisRePass = document.regform.RePass;
	var PassRe=/^[0-9a-zA-Z]{6,20}$/;
	
	//	密码保护
	var thisIssue = document.regform.Issue;
	var thisAnswer = document.regform.Answer;
	//	公司信息
	var thisCompany = document.regform.Company;
	var thisAddress = document.regform.Address;
	var thisTel = document.regform.Tel;
	var thisEmail = document.regform.Email;
	//	邮箱
	var thisEmail = document.regform.Email;
	var EmailRe = /^[_a-zA-Z0-9\-\.]+@([\-_a-zA-Z0-9]+\.)+[a-zA-Z0-9]{2,3}$/;
	
	if (thisUser.value == "")
	{
		alert("错误：请输入4～20位的帐号[0-9a-zA-Z]");
		thisUser.focus();
		return false;
	}
	if (thisUser.value.length < 4 || thisUser.value.length > 20)
	{
		alert("错误：请输入4～20位的帐号[0-9a-zA-Z]");
		thisUser.focus();
		return false;
	}
	if (thisUser.value.search(UserRe)==-1)
	{		
		alert("错误：您的帐号中含有非法字符。");
		thisUser.focus();
		return false;
	}
	if (thisUserName.value == "" || thisUserName.value.length < 2 || thisUserName.value.length > 30)
	{
		alert("错误：您填写的昵称字数不符合规定，昵称为2-30个字以内！");
		thisUserName.focus();
		return false;
	}
	if (thisUserName.value.search(UserNameRe)==-1)
	{		
		alert("错误：您填写的昵称字数不符合规定,含有非法字符。");
		thisUserName.focus();
		return false;
	}
	if (thisPass.value == "" || thisPass.value.length < 6 || thisPass.value.length > 20)
	{
		alert("错误：请输入6～20位的密码[0-9a-zA-Z]");
		thisPass.focus();
		return false;
	}

	if (thisPass.value.search(PassRe)==-1)
	{		
		alert("错误：您的密码中含有非法字符。");
		thisPass.focus();
		return false;
	}
	if (thisRePass.value == "")
	{
		alert("错误：密码确定不能为空");
		thisRePass.focus();
		return false;
	}
	if (thisPass.value != thisRePass.value)
	{
		alert("错误：密码与密码确定不一致！");
		thisRePass.focus();
		return false;
	}
	if (thisIssue.value == "")
	{
		alert("错误：密码保护问题不能为空！");
		thisIssue.focus();
		return false;
	}
	if (thisIssue.value.length > 50)
	{
		alert("错误：您设定的 密码保护问题 位数过长，请缩短。");
		thisIssue.focus();
		return false;
	}
	if (thisAnswer.value == "")
	{
		alert("错误：密码保护问题的答案不能为空！");
		thisAnswer.focus();
		return false;
	}
	if (thisAnswer.value.length > 50)
	{
		alert("错误：您设定的 密码保护的答案 位数过长，请缩短。");
		thisAnswer.focus();
		return false;
	}
	
	if (thisCompany.value == "")
	{
		alert("错误：公司名称 不能为空！");
		thisCompany.focus();
		return false;
	}
	if (thisAddress.value == "")
	{
		alert("错误：公司地址 不能为空！");
		thisAddress.focus();
		return false;
	}
	if (thisTel.value == "")
	{
		alert("错误：联系电话 不能为空！");
		thisTel.focus();
		return false;
	}
	
	if (thisEmail.value == "") {
		alert("错误：邮箱内容不能为空，请填写您的联系邮箱！");
		thisEmail.focus();
		return false;
	}
	if (!thisEmail.value.match(EmailRe))
	{
		alert("错误：输入的邮箱不符合规范！");
		thisEmail.focus();
		return false;
	}
	if (thisEmail.value.length < 6 || thisEmail.value.length > 60)
	{
		alert("错误：请确定您填写了正确邮箱地址！");
		thisEmail.focus();
		return false;
	}
}