function validate()
{
	if (document.forms[0].fname.value=='') {
		alert("You must enter your First Name.");
		document.forms[0].fname.focus();
		return false;
	}
	if (document.forms[0].lname.value=='') {
		alert("Please enter your Last Name.");
		document.forms[0].lname.focus();
		return false;
	}
	if (document.forms[0].company.value=='') {
		alert("Please enter a Company.");
		document.forms[0].company.focus();
		return false;
	}
	if (document.forms[0].phone.value=='') {
		alert("Please enter a phone number.");
		document.forms[0].phone.focus();
		return false;
	}		
	if (document.forms[0].email.value=='') {
		alert("Please enter a valid email address.");
		document.forms[0].email.focus();
		return false;
	}
	if (document.forms[0].hearofus.value=='') {
		alert("Please tell us how you heard about us.");
		document.forms[0].hearofus.focus();
		return false;
	}
	
/* All required fields have been checked and the form
 * is free to be sent out to perl
 * Because the page uses a perlscript ripped from Jonathan's
 * register script the perl has redundant validaty checks on
 * the forms fields however because of the JavaScript perl
 * should never have any problems.
*/
return true; //Send the form
}