function FrontPage_Feedback_Validator(theForm)
{

  if (theForm.ToName.value == "")
  {
    alert("Please enter a value for the \"Name\" field.");
    theForm.ToName.focus();
    return (false);
  }

  if (theForm.ToName.value.length < 2)
  {
    alert("Please enter at least 2 characters in the \"Name\" field.");
    theForm.ToName.focus();
    return (false);
  }

  if (theForm.Email.value == "")
  {
    alert("Please enter a value for the \"Email Address\" field.");
    theForm.Email.focus();
    return (false);
  }

  if (theForm.Email.value.length < 2)
  {
    alert("Please enter at least 2 characters in the \"Email Address\" field.");
    theForm.Email.focus();
    return (false);
  }
  return (true);
}


function FrontPage_slow_paying_debtor_Validator(theForm)
{

  if (theForm.state.selectedIndex == 0)
  {
    alert("The first \"state\" option is not a valid selection.  Please choose one of the other options.");
    theForm.state.focus();
    return (false);
  }

  if (theForm.Balance_Owed.selectedIndex < 0)
  {
    alert("Please select one of the \"Balance Owed\" options.");
    theForm.Balance_Owed.focus();
    return (false);
  }

  if (theForm.Balance_Owed.selectedIndex == 0)
  {
    alert("The first \"Balance Owed\" option is not a valid selection.  Please choose one of the other options.");
    theForm.Balance_Owed.focus();
    return (false);
  }

  if (theForm.Reason_For_Non_Payment.selectedIndex < 0)
  {
    alert("Please select one of the \"Reason for Non-Payment\" options.");
    theForm.Reason_For_Non_Payment.focus();
    return (false);
  }

  if (theForm.Reason_For_Non_Payment.selectedIndex == 0)
  {
    alert("The first \"Reason for Non-Payment\" option is not a valid selection.  Please choose one of the other options.");
    theForm.Reason_For_Non_Payment.focus();
    return (false);
  }

  if (theForm.Past_Due.selectedIndex < 0)
  {
    alert("Please select one of the \"Past_Due\" options.");
    theForm.Past_Due.focus();
    return (false);
  }

  if (theForm.Past_Due.selectedIndex == 0)
  {
    alert("The first \"Past_Due\" option is not a valid selection.  Please choose one of the other options.");
    theForm.Past_Due.focus();
    return (false);
  }
  return (true);
}




function FrontPage_Watch_List_Validator(theForm)
{

  if (theForm.companyname.value == "")
  {
    alert("Please enter a value for the \"companyname\" field.");
    theForm.companyname.focus();
    return (false);
  }

  if (theForm.companyname.value.length < 2)
  {
    alert("Please enter at least 2 characters in the \"companyname\" field.");
    theForm.companyname.focus();
    return (false);
  }

  if (theForm.contactname.value == "")
  {
    alert("Please enter a value for the \"contactname\" field.");
    theForm.contactname.focus();
    return (false);
  }

  if (theForm.contactname.value.length < 2)
  {
    alert("Please enter at least 2 characters in the \"contactname\" field.");
    theForm.contactname.focus();
    return (false);
  }

  if (theForm.phone.value == "")
  {
    alert("Please enter a value for the \"phone\" field.");
    theForm.phone.focus();
    return (false);
  }

  if (theForm.phone.value.length < 2)
  {
    alert("Please enter at least 2 characters in the \"phone\" field.");
    theForm.phone.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 < 2)
  {
    alert("Please enter at least 2 characters in the \"email\" field.");
    theForm.email.focus();
    return (false);
  }

  if (theForm.address.value == "")
  {
    alert("Please enter a value for the \"address\" field.");
    theForm.address.focus();
    return (false);
  }

  if (theForm.address.value.length < 2)
  {
    alert("Please enter at least 2 characters in the \"address\" field.");
    theForm.address.focus();
    return (false);
  }

  if (theForm.companytobewatched.value == "")
  {
    alert("Please enter a value for the \"companytobewatched\" field.");
    theForm.companytobewatched.focus();
    return (false);
  }

  if (theForm.companytobewatched.value.length < 2)
  {
    alert("Please enter at least 2 characters in the \"companytobewatched\" field.");
    theForm.companytobewatched.focus();
    return (false);
  }

  if (theForm.companysaddress.value == "")
  {
    alert("Please enter a value for the \"companysaddress\" field.");
    theForm.companysaddress.focus();
    return (false);
  }

  if (theForm.companysaddress.value.length < 2)
  {
    alert("Please enter at least 2 characters in the \"companysaddress\" field.");
    theForm.companysaddress.focus();
    return (false);
  }

  if (theForm.companysphone.value == "")
  {
    alert("Please enter a value for the \"companysphone\" field.");
    theForm.companysphone.focus();
    return (false);
  }

  if (theForm.companysphone.value.length < 2)
  {
    alert("Please enter at least 2 characters in the \"companysphone\" field.");
    theForm.companysphone.focus();
    return (false);
  }
  return (true);
}



function FrontPage_Claims_Validator(theForm)
{

  if (theForm.ToName.value == "")
  {
    alert("Please enter a value for the \"Name\" field.");
    theForm.ToName.focus();
    return (false);
  }

  if (theForm.ToName.value.length < 4)
  {
    alert("Please enter at least 4 characters in the \"Name\" field.");
    theForm.ToName.focus();
    return (false);
  }

  if (theForm.ToAddress.value == "")
  {
    alert("Please enter a value for the \"Email\" field.");
    theForm.ToAddress.focus();
    return (false);
  }

  if (theForm.ToAddress.value.length < 2)
  {
    alert("Please enter at least 2 characters in the \"Email\" field.");
    theForm.ToAddress.focus();
    return (false);
  }
  return (true);
}



function FrontPage_csp_Validator(theForm)
{

  if (theForm.state.selectedIndex == 0)
  {
    alert("The first \"state\" option is not a valid selection.  Please choose one of the other options.");
    theForm.state.focus();
    return (false);
  }

  if (theForm.Balance_Owed.selectedIndex < 0)
  {
    alert("Please select one of the \"Balance Owed\" options.");
    theForm.Balance_Owed.focus();
    return (false);
  }

  if (theForm.Balance_Owed.selectedIndex == 0)
  {
    alert("The first \"Balance Owed\" option is not a valid selection.  Please choose one of the other options.");
    theForm.Balance_Owed.focus();
    return (false);
  }

  if (theForm.Reason_For_Non_Payment.selectedIndex < 0)
  {
    alert("Please select one of the \"Reason for Non-Payment\" options.");
    theForm.Reason_For_Non_Payment.focus();
    return (false);
  }

  if (theForm.Reason_For_Non_Payment.selectedIndex == 0)
  {
    alert("The first \"Reason for Non-Payment\" option is not a valid selection.  Please choose one of the other options.");
    theForm.Reason_For_Non_Payment.focus();
    return (false);
  }

  if (theForm.Past_Due.selectedIndex < 0)
  {
    alert("Please select one of the \"Past_Due\" options.");
    theForm.Past_Due.focus();
    return (false);
  }

  if (theForm.Past_Due.selectedIndex == 0)
  {
    alert("The first \"Past_Due\" option is not a valid selection.  Please choose one of the other options.");
    theForm.Past_Due.focus();
    return (false);
  }
  return (true);
}



function FrontPage_OSSA_Validator(theForm)
{

  if (theForm.state.selectedIndex == 0)
  {
    alert("The first \"state\" option is not a valid selection.  Please choose one of the other options.");
    theForm.state.focus();
    return (false);
  }

  if (theForm.Balance_Owed.selectedIndex < 0)
  {
    alert("Please select one of the \"Balance Owed\" options.");
    theForm.Balance_Owed.focus();
    return (false);
  }

  if (theForm.Balance_Owed.selectedIndex == 0)
  {
    alert("The first \"Balance Owed\" option is not a valid selection.  Please choose one of the other options.");
    theForm.Balance_Owed.focus();
    return (false);
  }

  if (theForm.Reason_For_Non_Payment.selectedIndex < 0)
  {
    alert("Please select one of the \"Reason for Non-Payment\" options.");
    theForm.Reason_For_Non_Payment.focus();
    return (false);
  }

  if (theForm.Reason_For_Non_Payment.selectedIndex == 0)
  {
    alert("The first \"Reason for Non-Payment\" option is not a valid selection.  Please choose one of the other options.");
    theForm.Reason_For_Non_Payment.focus();
    return (false);
  }

  if (theForm.Past_Due.selectedIndex < 0)
  {
    alert("Please select one of the \"Past_Due\" options.");
    theForm.Past_Due.focus();
    return (false);
  }

  if (theForm.Past_Due.selectedIndex == 0)
  {
    alert("The first \"Past_Due\" option is not a valid selection.  Please choose one of the other options.");
    theForm.Past_Due.focus();
    return (false);
  }
  return (true);
}


function FrontPage_Free_access_app_Validator(theForm)
{

  if (theForm.ToName.value == "")
  {
    alert("Please enter a value for the \"First Name\" field.");
    theForm.ToName.focus();
    return (false);
  }

  if (theForm.ToName.value.length < 2)
  {
    alert("Please enter at least 2 characters in the \"First Name\" field.");
    theForm.ToName.focus();
    return (false);
  }

  if (theForm.Contact_LastName.value == "")
  {
    alert("Please enter a value for the \"Last Name\" field.");
    theForm.Contact_LastName.focus();
    return (false);
  }

  if (theForm.Contact_LastName.value.length < 2)
  {
    alert("Please enter at least 2 characters in the \"Last Name\" field.");
    theForm.Contact_LastName.focus();
    return (false);
  }

  if (theForm.Contact_Organization.value == "")
  {
    alert("Please enter a value for the \"Contact_Organization\" field.");
    theForm.Contact_Organization.focus();
    return (false);
  }

  if (theForm.Contact_WorkPhone.value == "")
  {
    alert("Please enter a value for the \"Contact_WorkPhone\" field.");
    theForm.Contact_WorkPhone.focus();
    return (false);
  }

  if (theForm.Contact_WorkPhone.value.length > 25)
  {
    alert("Please enter at most 25 characters in the \"Contact_WorkPhone\" field.");
    theForm.Contact_WorkPhone.focus();
    return (false);
  }

  if (theForm.ToAddress.value == "")
  {
    alert("Please enter a value for the \"Email\" field.");
    theForm.ToAddress.focus();
    return (false);
  }

  if (theForm.ToAddress.value.length < 3)
  {
    alert("Please enter at least 3 characters in the \"Email\" field.");
    theForm.ToAddress.focus();
    return (false);
  }
  return (true);
}


function FrontPage_AER_Survey_Validator(theForm)
{

  return (true);
}





