document.write("<SCRIPT LANGUAGE='JavaScript1.2' SRC='/scripts/check_form_base.js'></SCRIPT>");

function check_contact_form()  {

// need to check last_name name address city state zip email
// name
    if  (!hasValue(document.contact.name, "TEXT" )) {
        if  (!onError(document.contact, document.contact.name, document.contact.name.value, "Please enter your name."))
        {
         document.contact.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; 
        }
    }

// question 
    if  (!hasValue(document.contact.message, "TEXT" )) {
        if  (!onError(document.contact, document.contact.message, document.contact.message.value, "Please enter your message."))
        {
           document.contact.message.focus();
           return false; 
        }
    }

// verify 
    if  (!hasValue(document.contact.verify, "TEXT" ) || document.contact.verify.value != "E4U6T") {
        if  (!onError(document.contact, document.contact.verify, document.contact.verify.value, "Please the correct verification code."))
        {
           document.contact.verify.focus();
           return false; 
        }
    }
} // end of function check_contact_form
