// JavaScript Document
function chkfrmval()
{
		if(document.frmcontact.groupname.value=="")
		{
			alert("Enter your group name.");
			document.frmcontact.groupname.focus();
			return false;
		}
		if(document.frmcontact.number.value=="")
		{
			alert("Enter number of members.");
			document.frmcontact.number.focus();
			return false;
		}
		if(!isDigit(Trim(document.frmcontact.number.value)))
		{
			alert("Enter digit only.");
			document.frmcontact.number.focus();
			return false;
		}
		if(document.frmcontact.name.value=="")
		{
			alert("Enter name of performing.");
			document.frmcontact.name.focus();
			return false;
		}
		if(document.frmcontact.address.value=="")
		{
			alert("Enter your mailing address.");
			document.frmcontact.address.focus();
			return false;
		}
		if(document.frmcontact.phone.value=="")
		{
			alert("Enter phone number.");
			document.frmcontact.phone.focus();
			return false;
		}
		if(document.frmcontact.cell.value=="")
		{
			alert("Enter cell phone for day.");
			document.frmcontact.cell.focus();
			return false;
		}
		
		if(Trim(document.frmcontact.email.value)=="")
		{
			alert("Enter your email address.");
			document.frmcontact.email.focus();
			return false;
		}
		if(!isEmail(Trim(document.frmcontact.email.value)))
		{
			alert("Enter valid email address.");
			document.frmcontact.email.focus();
			return false;
		}
				
	return true;
}

