document.write("<SCRIPT LANGUAGE='JavaScript1.2' SRC='/scripts/check_form_base.js'></SCRIPT>");

function check_scholarship_2006_form()  {
//alert("Here we are in check_scholarship_form");
// need to check last_name name address city state zip email
// name
    if  (!hasValue(document.scholarship.name, "TEXT" )) {
        if  (!onError(document.scholarship, document.scholarship.name, document.scholarship.name.value, "Please enter your name."))
        {
         document.scholarship.name.focus();
         return false; 
        }
    }

//  email address
    if  (!hasValue(document.scholarship.email, "TEXT" )) {
        if  (!onError(document.scholarship, document.scholarship.email, document.scholarship.email.value, "Please enter your email."))
        {
         document.scholarship.email.focus();
         return false; 
        }
    }

//  email address
    if  (!hasValue(document.scholarship.address, "TEXT" )) {
        if  (!onError(document.scholarship, document.scholarship.address, document.scholarship.address.value, "Please enter your address."))
        {
         document.scholarship.address.focus();
         return false; 
        }
    }

//high_school
    if  (!hasValue(document.scholarship.high_school, "TEXT" )) {
        if  (!onError(document.scholarship, document.scholarship.high_school, document.scholarship.high_school.value, "Please enter your high school."))
        {
           document.scholarship.high_school.focus();
           return false; 
        }
    }
//grad_date
    if  (!hasValue(document.scholarship.grad_date, "TEXT" )) {
        if  (!onError(document.scholarship, document.scholarship.grad_date, document.scholarship.grad_date.value, "Please enter graduation date."))
        {
           document.scholarship.grad_date.focus();
           return false; 
        }
    }
//college
    if  (!hasValue(document.scholarship.college, "TEXT" )) {
        if  (!onError(document.scholarship, document.scholarship.college, document.scholarship.college.value, "Please enter your college."))
        {
           document.scholarship.college.focus();
           return false; 
        }
    }
//program	
if  (!hasValue(document.scholarship.program, "TEXT" )) {
        if  (!onError(document.scholarship, document.scholarship.program, document.scholarship.program.value, "Please enter your program."))
        {
           document.scholarship.program.focus();
           return false; 
        }
    }
	
//verification code
if  (!hasValue(document.scholarship.verify, "TEXT" ) || document.scholarship.verify.value != 'E4U6T') {
        if  (!onError(document.scholarship, document.scholarship.verify, document.scholarship.verify.value, "Please enter the correct verification code."))
        {
           document.scholarship.verify.focus();
           return false; 
        }
    }	
} // end of function check_scholarship_form
