<!--
// JavaScript Form Check 

function FormChk(thisForm)
{
	
// check to see if the field is blank
	if (thisForm.Name.value == "" || thisForm.Name.value == "Full Name" || thisForm.Name.value == "First Name")
	{
	alert("Please type your name.");
	thisForm.Name.focus();
	return (false);	
	}
	
// check if email field is blank
var form_email = thisForm.Email.value;
var invalidChars = " /:;,"
var badChar =""
if (form_email== "" || form_email == "Email")
{
alert("You must enter your Email.");
 return (false);
}
for (i = 0;  i < invalidChars.length;  i++)
{
badChar=invalidChars.charAt(i);
if(form_email.indexOf(badChar,0)>-1)
{
alert("You cannot have a /:;, or a space");
thisForm.Email.focus();
return (false);
}
}
atPos=form_email.indexOf("@",1)
if(atPos==-1)
{
alert("Your Email is not Valid, must have an @");
thisForm.Email.focus();
return (false);
}
if(form_email.indexOf("@",atPos+1)>-1)
{
alert("You cannot have two @'s");
thisForm.Email.focus();
return (false);
}
periodPos=form_email.indexOf(".",atPos)
if(periodPos==-1)
{
alert("There must be an . in your email address");
thisForm.Email.focus();
return (false);
}
if(periodPos+3>form_email.length)
{
alert("There must be atleast two letters after .");
thisForm.Email.focus();
return (false);
}


return (true);
}
//-->