//----------------------------------------
//	name:	ValidateMailList.js
//	desc:	Validate data of frmMailList
//	auth:	roger
//	date:	2006-2-21
//----------------------------------------
function ValidateForm(theForm)
{
	theForm.systemTest.value="on";

	if (theForm.eMail.value.length<1 || theForm.eMail.value.length>30)
	{
		alert("请正确输入“E-Mail”信息");
		theForm.eMail.focus();
		return false;
	}

	if (!checkEMail(theForm.eMail.value))
	{
		alert("请正确输入“E-Mail”信息");
		theForm.eMail.focus();
		return false;	
	}

	theForm.btnSubscibe.disabled=true;
	theForm.btnCountermand.disabled=true;
}






