<!--

function checkform(infrm)
{

	if (!validate("string", infrm.name.value))
	{
		alert ("Please enter your name.");
		infrm.name.focus();
		return false;
	}
	
	if (!validate("string", infrm.city.value))
	{
		alert ("Please enter your city and state/province.");
		infrm.city.focus();
		return false;
	}	

	if (!validate("string", infrm.comments.value))
	{
		alert ("Please enter your comments.");
		infrm.comments.focus();
		return false;
	}	

	return true;

}

function checksignupform(infrm)
{

	if (!validate("string", infrm.name.value))
	{
		alert ("Please enter your name.");
		infrm.name.focus();
		return false;
	}
	
	if (!validate("email", infrm.email.value))
	{
		alert ("Please enter a valid e-mail address.");
		infrm.email.focus();
		return false;
	}	
	
	if (infrm.pw.value.length < 6 || infrm.pw.value.length > 12)
	{
		alert ("Password must be 6 to 12 characters made up of letters and numbers.");
		infrm.pw.focus();
		return false;
	}
	
	
	if (!validate("string", infrm.pw.value))
	{
		alert ("Please enter a password.");
		infrm.pw.focus();
		return false;
	}	
	
	if (!validate("string", infrm.pw2.value))
	{
		alert ("Please enter a password.");
		infrm.pw2.focus();
		return false;
	}		
	
	if (infrm.pw.value!=infrm.pw2.value)
	{
		alert ("Passwords do not match.");
		infrm.pw2.focus();
		return false;
	}		


	if (infrm.agreed.checked)
		{
		return true;
		}
		else
		{
		alert ("You must agree to the membership terms by checking the box provided.");
		
		return false;
		}

	return true;

}
//-->
