<!-- 
function changeFormAction(){

   var oForm = document.aform;
   var temp;
   var pass;

   if (oForm.mid.value.length == 0){
     alert("The ID field is required. \nYou must enter your Employee ID!");
     oForm.mid.focus();
     return (false);	
	}
	
	if (oForm.mid.value.length == 8){
   }
   else{
     alert("You must enter a valid Employee ID!");
     oForm.mid.focus();
     return (false);
   }

   if (oForm.first_name.value == "")
   {
     alert("\"First Name\" is required.");
     oForm.first_name.focus();
     return (false);
   }

   if (oForm.last_name.value == "")
   {
     alert("\"Last Name\" is required.");
     oForm.last_name.focus();
     return (false);
   }

   if (oForm.mdepartment.value == "")
   {
     alert("\"Department\" is required.");
     oForm.mdepartment.focus();
     return (false);
   }

   if (oForm.moffice_address.value == "")
   {
     alert("\"Office address\" is required.\nWe need your office address to contact you.");
     oForm.last_name.focus();
     return (false);
   }

   if (oForm.mphone.value == "")
   {
     alert("\"Phone #\" is required.");
     oForm.mphone.focus();
     return (false);
   }

   pass = false;
   for (var i = 0; i < oForm.memail.value.length; i++){
      temp = oForm.memail.value.substring(i,i+1);
      if (temp == '@'){
        pass = true;
        i = oForm.memail.value.length;
      }
   }
   
   if(!pass)
   {
      alert("Please enter a valid email address for the \"email\" field. \nFor example: your_name@missouri.edu");
      oForm.memail.focus();
      return (false);
   }   
   
   if(oForm.choice1.value == oForm.choice2.value)
   {
      alert("Please specify different garage names for your priorities.");
      oForm.choice1.focus();
      return (false);
   }   

	if (oForm.choice1.value == "0-1") {
	      alert("Please select a garage for your 1st choice.");
   	   oForm.choice1.focus();
      	return (false);
	}

	if (oForm.choice2.value == "0-2") {
		oForm.choice2.options[oForm.choice2.selectedIndex].value = " ";
	}
	
   if (oForm.mphone.value == "")oForm.mphone.value = " ";
   if (oForm.memployeedate.value == "")oForm.memployeedate.value = " ";

/*	if (oForm.choice1.value == "7") {
		if (oForm.other1.length == 0) {
	      alert("Please specify the garage name of your 1st choice.");
   	   oForm.other1.focus();
      	return (false);
		}
		else oForm.choice1.options[oForm.choice1.selectedIndex].value = oForm.other1.value;
	}
*/
   oForm.action="index.cfm";
   oForm.submit();
   return (true);
}

function check_choice1(){
	if(document.aform.choice1.value == "0-1"){
      alert("Please specify a garage name for your 1st priority.");
      document.aform.choice1.focus();
		return (false);
	}
	return (true);
}

function check_choice2(){
	if(document.aform.choice1.value == document.aform.choice2.value){
      alert("Please specify a different garage name for your 2nd priority.");
      document.aform.choice2.focus();
		return (false);
		}
	return (true);
}
//-->

