function Validator(theForm){

a=Validator.arguments;
for(i=1; i<a.length; i++){
	if (theForm[Validator.arguments[i]].value == ""){
		theForm[Validator.arguments[i]].className += " missing_field"
		alert("Please fill all required fields.");
		theForm[Validator.arguments[i]].focus();
		return (false);
	}
}
if (jcap() == false) {
	return (false);
}
 return (true);
}
