<!-- //hide the script
function checkEmail(strng) {
	var error = "";

	var emailFilter=/^.+@.+\..{2,6}$/;

	if (!(emailFilter.test(strng))) {
		return false;
	}

	var illegalChars= /[\(\)\<\>\,\;\:\\\/\"\[\] ']/

	if (strng.match(illegalChars)) {
		return false;
	}

	return true;
}


function multiform_validator(theForm)
{

 	if(theForm.sender.value == "") {
 		 alert("Please enter your Full Name.");
 		 theForm.sender.focus();
 		 return(false);
 	}
 	

	if(!checkEmail(theForm.email.value)) {
		 alert("Please enter a valid Email Address");
		theForm.email.focus();
		 return false;
	}
	
	
 	if(theForm.jobwanted.value == "") {
 		 alert("Please enter the name of the vacacany that interests you.");
 		 theForm.jobwanted.focus();
 		 return(false);
 	}
 	
		if(theForm.jobwanted.value == "enter the vacacany of interest") {
			 alert("Please enter the name of the vacacany that interests you.");
			 theForm.jobwanted.focus();
			 return(false);
		}
 	
 	if(theForm.hearabout.value == "") {
 		 alert("Please select an answer.");
 		 theForm.hearabout.focus();
 		 return(false);
 	}
 	
		if(theForm.hearabout.value == "Website") {
			if(theForm.other.value == "") {
				 alert("Please provide more detail for the answer above.");
				 theForm.other.focus();
				 return(false);
			}
		}
		
		if(theForm.hearabout.value == "Other") {
			if(theForm.other.value == "") {
				 alert("Please provide more detail for the answer above.");
				 theForm.other.focus();
				 return(false);
			}
		}
	
	return (true);
}
// end script hiding -->
