function Validator(theForm)
{

  if (theForm.fname.value == "")
  {
    alert("Please enter your first name.");
    theForm.fname.focus();
    return (false);
  }
   if (theForm.aage.value == "")
  {
    alert("Please enter your age.");
    theForm.aage.focus();
    return (false);
  }
  if (theForm.phone.value == "")
  {
    alert("Please enter your phone number.");
    theForm.phone.focus();
    return (false);
  } 
    
   if (theForm.email.value == "")
  {
    alert("Please enter your email");
    theForm.email.focus();
    return (false);
  }
 if (theForm.seccode.value != "471")
  {
    alert("Please enter the correct security code");
    theForm.seccode.focus();
    return (false);
  }
   
   return (true);
}
