document.write("<SCRIPT LANGUAGE='JavaScript1.2' SRC='/scripts/check_form_base.js'></SCRIPT>");

function check_contact_form()  {
// first name
    if  (!hasValue(document.contact.first_name, "TEXT" )) {
        if  (!onError(document.contact, document.contact.first_name, document.contact.first_name.value, "Please enter your first name."))
        {
         document.contact.first_name.focus();
         return false; 
        }
    }


// last name 
    if  (!hasValue(document.contact.last_name, "TEXT" )) {
        if  (!onError(document.contact, document.contact.last_name, document.contact.last_name.value, "Please enter your last name."))
        {
           document.contact.last_name.focus();
           return false; 
        }
    }
	
	
// email 
    if  (!hasValue(document.contact.email, "TEXT" )) {
        if  (!onError(document.contact, document.contact.email, document.contact.email.value, "Please enter your email address."))
        {
           document.contact.email.focus();
           return false; 
        }
    }


	
// verification code	
	if  (!hasValue(document.contact.verify, "TEXT" ) || document.contact.verify.value != 'E4U6T') {
        if  (!onError(document.contact, document.contact.verify, document.contact.verify.value, "Please enter the correct verification code."))
        {
           document.contact.verify.focus();
           return false; 
        }
    }
	
} // end of function check_contact_form
