
function Form_ValidatorAdd(theForm)
{
	if (theForm.on0.value == "")
  {
    alert("Please Enter School Name");
    theForm.on0.focus();
    return (false);
  }
	if (theForm.os0.value == "")
  {
    alert("Please Contact Name");
    theForm.os0.focus();
    return (false);
  }
  if (theForm.on1.value == "")
  {
    alert("Please Enter Phone Number");
    theForm.on1.focus();
    return (false);
  }
	   
   if (theForm.os1.value.length == 0) {
    alert("Please fill in the E-mail address");
    theForm.os1.focus();
    return false;
  }
  re = /^[a-zA-Z0-9_.\-]+@[a-zA-Z0-9.\-]+[a-zA-Z0-9\-]\.[a-zA-Z][a-zA-Z]+$/;
  if (!re.test(theForm.os1.value)) {
    alert("Please fill in a correct E-mail address");
    theForm.os1.focus();
    return false;
  }	
   return (true);
}