function Validate(theForm)
{

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

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

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

  var checkOK = "0123456789-";
  var checkStr = theForm.Zip.value;
  var allValid = true;
  var decPoints = 0;
  var allNum = "";
  for (i = 0;  i < checkStr.length;  i++)
  {
    ch = checkStr.charAt(i);
    for (j = 0;  j < checkOK.length;  j++)
      if (ch == checkOK.charAt(j))
        break;
    if (j == checkOK.length)
    {
      allValid = false;
      break;
    }
    allNum += ch;
  }
  if (!allValid)
  {
    alert("Please enter only digit characters in the \"Zip Code\" field.");
    theForm.Zip.focus();
    return (false);
  }

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

  if (theForm.AnnualReceipts.value == "")
  {
    alert("Please enter a value for the \"Annual Gross Receipts\" field.");
    theForm.AnnualReceipts.focus();
    return (false);
  }

  var checkOK = "0123456789-,";
  var checkStr = theForm.AnnualReceipts.value;
  var allValid = true;
  var decPoints = 0;
  var allNum = "";
  for (i = 0;  i < checkStr.length;  i++)
  {
    ch = checkStr.charAt(i);
    for (j = 0;  j < checkOK.length;  j++)
      if (ch == checkOK.charAt(j))
        break;
    if (j == checkOK.length)
    {
      allValid = false;
      break;
    }
    if (ch != ",")
      allNum += ch;
  }
  if (!allValid)
  {
    alert("Please enter only digit characters in the \"Annual Gross Receipts\" field.");
    theForm.AnnualReceipts.focus();
    return (false);
  }

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

  var checkOK = "0123456789-,";
  var checkStr = theForm.AnnualPayroll.value;
  var allValid = true;
  var decPoints = 0;
  var allNum = "";
  for (i = 0;  i < checkStr.length;  i++)
  {
    ch = checkStr.charAt(i);
    for (j = 0;  j < checkOK.length;  j++)
      if (ch == checkOK.charAt(j))
        break;
    if (j == checkOK.length)
    {
      allValid = false;
      break;
    }
    if (ch != ",")
      allNum += ch;
  }
  if (!allValid)
  {
    alert("Please enter only digit characters in the \"Annual Payroll\" field.");
    theForm.AnnualPayroll.focus();
    return (false);
  }

  if (theForm.AnnualSubout.value == "")
  {
    alert("Please enter a value for the \"Annual Sub-Out Cost\" field.");
    theForm.AnnualSubout.focus();
    return (false);
  }

  var checkOK = "0123456789-,";
  var checkStr = theForm.AnnualSubout.value;
  var allValid = true;
  var decPoints = 0;
  var allNum = "";
  for (i = 0;  i < checkStr.length;  i++)
  {
    ch = checkStr.charAt(i);
    for (j = 0;  j < checkOK.length;  j++)
      if (ch == checkOK.charAt(j))
        break;
    if (j == checkOK.length)
    {
      allValid = false;
      break;
    }
    if (ch != ",")
      allNum += ch;
  }
  if (!allValid)
  {
    alert("Please enter only digit characters in the \"Annual Sub-Out Cost\" field.");
    theForm.AnnualSubout.focus();
    return (false);
  }

  var radioSelected = false;
  for (i = 0;  i < theForm.Liability.length;  i++)
  {
    if (theForm.Liability[i].checked)
        radioSelected = true;
  }
  if (!radioSelected)
  {
    alert("Please select one of the \"Liability Limit\" options.");
    return (false);
  }

  if (theForm.WorkDesc.value == "")
  {
    alert("Please enter a value for the \"Description of Work\" field.");
    theForm.WorkDesc.focus();
    return (false);
  }
  return (true);
}

