<!--
function FrontPage_Form1_Validator(theForm)
{


  if (theForm.Full_name.value == "")
  {
    alert("Please enter a value for the \"Full Name\" field.");
    theForm.Full_name.focus();
    return (false);
  }

  if (theForm.Full_name.value.length < 3)
  {
    alert("Please enter at least 3 characters in the \"Full Name\" field.");
    theForm.Full_name.focus();
    return (false);
  }

  if (theForm.Cell_pager_number.value == "")
  {
    alert("Please enter a value for the \"Cell Phone\" field.");
    theForm.Cell_pager_number.focus();
    return (false);
  }

  if (theForm.Cell_pager_number.value.length < 5)
  {
    alert("Please enter at least 5 characters in the \"Cell Phone\" field.");
    theForm.Cell_pager_number.focus();
    return (false);
  }

if (theForm.EMAIL.value == "")
  {
    alert("Please enter a value for the \"Email\" field.");
    theForm.EMAIL.focus();
    return (false);
  }

  if (theForm.EMAIL.value.length < 3)
  {
    alert("Please enter at least 3 characters in the \"Email\" field.");
    theForm.EMAIL.focus();
    return (false);
  }

  if (theForm.signed_contract.value == "")
  {
    alert("Please answer the \"Signed contract?\" question.");
    theForm.signed_contract.focus();
    return (false);
  }

  if (theForm.mortgage_approved.value == "")
  {
    alert("Please answer the \"Preapproved for mortgage?\" question.");
    theForm.mortgage_approved.focus();
    return (false);
  }

  if (theForm.Existing_Address.value == "")
  {
    alert("Please enter a value for the \"Address of Your Existing Home\" field.");
    theForm.Existing_Address.focus();
    return (false);
  }

  if (theForm.Existing_Address.value.length < 3)
  {
    alert("Please enter at least 3 characters in the \"Address of Your Existing Home\" field.");
    theForm.Existing_Address.focus();
    return (false);
  }

  if (theForm.Existing_subdivision_or_apt_complex.value == "")
  {
    alert("Please enter a value for the \"Subdivision of Your Existing Home\" field.");
    theForm.Existing_subdivision_or_apt_complex.focus();
    return (false);
  }

  if (theForm.Existing_subdivision_or_apt_complex.value.length < 3)
  {
    alert("Please enter at least 3 characters in the \"Subdivision of Your Existing Home\" field.");
    theForm.Existing_subdivision_or_apt_complex.focus();
    return (false);
  }

  if (theForm.Monthly_Rental.value == "")
  {
    alert("Please enter a value for the \"Monthly Rental\" field.");
    theForm.Monthly_Rental.focus();
    return (false);
  }

  if (theForm.Monthly_Rental.value.length < 3)
  {
    alert("Please enter at least 3 characters in the \"Monthly Rental\" field.");
    theForm.Monthly_Rental.focus();
    return (false);
  }

  if (theForm.Beginning_lease_date.value == "")
  {
    alert("Please enter a value for the \"Beginning of Lease\" field.");
    theForm.Beginning_lease_date.focus();
    return (false);
  }

  if (theForm.Beginning_lease_date.value.length < 2)
  {
    alert("Please enter at least 2 characters in the \"Beginning of Lease\" field.");
    theForm.Beginning_lease_date.focus();
    return (false);
  }

  if (theForm.Ending_lease_date.value == "")
  {
    alert("Please enter a value for the \"End of Lease\" field.");
    theForm.Ending_lease_date.focus();
    return (false);
  }

  if (theForm.Ending_lease_date.value.length < 2)
  {
    alert("Please enter at least 2 characters in the \"End of Lease\" field.");
    theForm.Ending_lease_date.focus();
    return (false);
  }
  

    if (selectedRadioButton(theForm.Copy_of_lease) == null)
  {
    alert("Please answer \"Do you have a copy of your Current Lease?\"");
    theForm.Copy_of_lease[0].focus();
    return (false);
  }
  
  return (true);
}

function selectedRadioButton(btn) {
    var rtnVal = null;
	if (btn.length > 0) {
		for (i=0;i<btn.length; i++) {
			if (btn[i].checked) {
				rtnVal = btn[i].value;
			}
			
		}
	}
	return rtnVal;
}
//-->