<!--
	// Format the error message.
var errorLine1		= "Before you continue, please complete the fields listed below.";
var errorLine2		= "_________________________________________________       ";
var errorLine3		= "Form validation errors:";
var errorBullet		= "   ·   ";

	// Define the valid characters. Used by checkValidChars().
//var validChars		= "abcdefghijklmnopqrstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ";

	// Define (required) fields and messages
var numChecks		= 6;
var checkFields		= new Array();


	// Begin validation
function defineFields() {

		// isRequired:			field_name, field_label, error_label
		// validateEmailBox:	field_name, field_label, error_label (if any, it becomes a
		// 						general label, if not - a separate label is built for each error)
		// validateSelectBox:	field_name, field_label, error_label, non_valid_options_value

	checkFields[1]	= isRequired( "FirstName", "FirstName", "Please enter your First Name." );
	checkFields[2]	= isRequired( "LastName", "LastName", "Please enter your Last Name." );
	checkFields[3]	= isRequired( "Phone", "Phone", "Please enter your Phone Number." );
	checkFields[4]	= isRequired( "Email", "Email", "Please enter your email." );
	checkFields[5]	= validateEmailBox( "Email", "EMAIL BOX", "" );
	checkFields[6]	= isRequired( "Comments", "Comments", "Please enter your comments." );
	
	//runValidation();
}
// -->
