// JavaScript Document
//--------------------------------------

function validate_form ( )
{
    valid = true;

    if ( document.application.name.value == "" ){
        alert ( "Please fill in the 'Student Name' box." );
        valid = false;
    	}else if ( document.application.pname.value == "" ){
			alert ( "Please fill in the 'Parent or Gaurdian Name' box." );
			valid = false;
    	}else if ( document.application.email.value == "" ){
			alert ( "Please fill in the 'email' box." );
			valid = false;
    	}else if ( document.application.agree.checked == false){
			alert ( "Please Agree to the Terms before Submitting." );
			valid = false;
		}

    return valid;
}
