//-------------------------Start scripts for this page only
function localUnloadPg() {
;
}
//-----------------------------------------------------------------
function localLoadPgSetup(){



for(i=0;i<visibleFieldArray.length;i++){

document.form[visibleFieldArray[i]].value=document.form[hiddenFieldArray[i]].value;
}
verifyInfo();
}

//-------------------------------------------------------------------------------------------------------------------------

function verifyInfo(){

backgrndElemCtr=0;

msg="";

for(i=0;i<visibleFieldArray.length;i++){

if((document.form[visibleFieldArray[i]].value==" ")||(document.form[visibleFieldArray[i]].value=="")||(document.form[visibleFieldArray[i]].value==null)||(document.form[visibleFieldArray[i]].value=="unidentified")){
document.form[hiddenFieldArray[i]].value="unidentified";
backgrndElemCtr++;
}else{
document.form[hiddenFieldArray[i]].value=document.form[visibleFieldArray[i]].value;
}
msg+=msgArray[i]+document.form[hiddenFieldArray[i]].value+".  ";
}
if(backgrndElemCtr==hiddenFieldArray.length){
msg="No student background information has been entered."
}
document.form.infoVerification.value=msg;
}

//----------------------------------------------------

//---arrays for field updates
visibleFieldArray=new Array();

visibleFieldArray[0]="studentFirstName";
visibleFieldArray[1]="studentLastName";
visibleFieldArray[2]="examiner";
visibleFieldArray[3]="school";

hiddenFieldArray=new Array();

hiddenFieldArray[0]="studentFirstNameField";
hiddenFieldArray[1]="studentLastNameField";
hiddenFieldArray[2]="examinerField";
hiddenFieldArray[3]="schoolField";

msgArray=new Array();

msgArray[0]="The student's first name is ";
msgArray[1]="The student's last name is ";
msgArray[2]="The examiner was ";
msgArray[3]="The student's school or program is ";
//----------------------------------------------End scripts this page only