<!--
function FrontPage_Form1_Validator(theForm)
{

  var checkOK = "0123456789-.";
  var checkStr = theForm.ppm.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 += ".";
      decPoints++;
    }
    else
      allNum += ch;
  }
  if (!allValid)
  {
    alert("Please enter only digit characters in the \"Pieces per minute\" field.");
    theForm.ppm.focus();
    return (false);
  }

  if (decPoints > 1)
  {
    alert("Please enter a valid number in the \"PPM_Speed\" field.");
    theForm.ppm.focus();
    return (false);
  }

  var checkOK = "0123456789-.";
  var checkStr = theForm.fpm.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 += ".";
      decPoints++;
    }
    else
      allNum += ch;
  }
  if (!allValid)
  {
    alert("Please enter only digit characters in the \"Feet per minute\" field.");
    theForm.fpm.focus();
    return (false);
  }

  if (decPoints > 1)
  {
    alert("Please enter a valid number in the \"FPM_Speed\" field.");
    theForm.fpm.focus();
    return (false);
  }

  var checkOK = "0123456789-.";
  var checkStr = theForm.Print_height.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 += ".";
      decPoints++;
    }
    else
      allNum += ch;
  }
  if (!allValid)
  {
    alert("Please enter only digit characters in the \"Print_height\" field.");
    theForm.Print_height.focus();
    return (false);
  }

  if (decPoints > 1)
  {
    alert("Please enter a valid number in the \"Print_height\" field.");
    theForm.Print_height.focus();
    return (false);
  }

  var checkOK = "0123456789-";
  var checkStr = theForm.Est_life_in_days.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 \"Est. Life of Mark in Days\" field.");
    theForm.Est_life_in_days.focus();
    return (false);
  }

  if (theForm.Contact_FullName.value == "")
  {
    alert("Please enter a value for the \"Name\" field.");
    theForm.Contact_FullName.focus();
    return (false);
  }

  if (theForm.Contact_FullName.value.length < 1)
  {
    alert("Please enter at least 1 characters in the \"Name\" field.");
    theForm.Contact_FullName.focus();
    return (false);
  }

  var checkOK = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyzƒŠŒŽšœžŸÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõöøùúûüýþÿ0123456789-.,-' \t\r\n\f";
  var checkStr = theForm.Contact_FullName.value;
  var allValid = true;
  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 (!allValid)
  {
    alert("Please enter only letter, digit, whitespace and \".,-'\" characters in the \"Name\" field.");
    theForm.Contact_FullName.focus();
    return (false);
  }

  if (theForm.Contact_Title.value == "")
  {
    alert("Please enter a value for the \"Title\" field.");
    theForm.Contact_Title.focus();
    return (false);
  }

  if (theForm.Contact_Title.value.length < 1)
  {
    alert("Please enter at least 1 characters in the \"Title\" field.");
    theForm.Contact_Title.focus();
    return (false);
  }

  var checkOK = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyzƒŠŒŽšœžŸÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõöøùúûüýþÿ0123456789-.,-'& \t\r\n\f";
  var checkStr = theForm.Contact_Title.value;
  var allValid = true;
  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 (!allValid)
  {
    alert("Please enter only letter, digit, whitespace and \".,-'&\" characters in the \"Title\" field.");
    theForm.Contact_Title.focus();
    return (false);
  }

  if (theForm.Contact_Company.value == "")
  {
    alert("Please enter a value for the \"Company Name\" field.");
    theForm.Contact_Company.focus();
    return (false);
  }

  if (theForm.Contact_Company.value.length < 1)
  {
    alert("Please enter at least 1 characters in the \"Company Name\" field.");
    theForm.Contact_Company.focus();
    return (false);
  }

  var checkOK = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyzƒŠŒŽšœžŸÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõöøùúûüýþÿ0123456789-.,-'& \t\r\n\f";
  var checkStr = theForm.Contact_Company.value;
  var allValid = true;
  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 (!allValid)
  {
    alert("Please enter only letter, digit, whitespace and \".,-'&\" characters in the \"Company Name\" field.");
    theForm.Contact_Company.focus();
    return (false);
  }

  if (theForm.Contact_StreetAddress.value == "")
  {
    alert("Please enter a value for the \"Address\" field.");
    theForm.Contact_StreetAddress.focus();
    return (false);
  }

  if (theForm.Contact_StreetAddress.value.length < 1)
  {
    alert("Please enter at least 1 characters in the \"Address\" field.");
    theForm.Contact_StreetAddress.focus();
    return (false);
  }

  if (theForm.Contact_City.value == "")
  {
    alert("Please enter a value for the \"City\" field.");
    theForm.Contact_City.focus();
    return (false);
  }

  if (theForm.Contact_City.value.length < 1)
  {
    alert("Please enter at least 1 characters in the \"City\" field.");
    theForm.Contact_City.focus();
    return (false);
  }

  var checkOK = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyzƒŠŒŽšœžŸÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõöøùúûüýþÿ0123456789-.,-' \t\r\n\f";
  var checkStr = theForm.Contact_City.value;
  var allValid = true;
  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 (!allValid)
  {
    alert("Please enter only letter, digit, whitespace and \".,-'\" characters in the \"City\" field.");
    theForm.Contact_City.focus();
    return (false);
  }

  if (theForm.Contact_State.value == "")
  {
    alert("Please enter a value for the \"State/Province\" field.");
    theForm.Contact_State.focus();
    return (false);
  }

  if (theForm.Contact_State.value.length < 1)
  {
    alert("Please enter at least 1 characters in the \"State/Province\" field.");
    theForm.Contact_State.focus();
    return (false);
  }

  var checkOK = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyzƒŠŒŽšœžŸÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõöøùúûüýþÿ0123456789--,'. \t\r\n\f";
  var checkStr = theForm.Contact_State.value;
  var allValid = true;
  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 (!allValid)
  {
    alert("Please enter only letter, digit, whitespace and \"-,'.\" characters in the \"State/Province\" field.");
    theForm.Contact_State.focus();
    return (false);
  }

  if (theForm.Contact_WorkPhone.value == "")
  {
    alert("Please enter a value for the \"Work Phone Number\" field.");
    theForm.Contact_WorkPhone.focus();
    return (false);
  }

  if (theForm.Contact_WorkPhone.value.length < 1)
  {
    alert("Please enter at least 1 characters in the \"Work Phone Number\" field.");
    theForm.Contact_WorkPhone.focus();
    return (false);
  }

  if (theForm.Contact_WorkPhone.value.length > 25)
  {
    alert("Please enter at most 25 characters in the \"Work Phone Number\" field.");
    theForm.Contact_WorkPhone.focus();
    return (false);
  }

  var checkOK = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyzƒŠŒŽšœžŸÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõöøùúûüýþÿ0123456789-.()/,& \t\r\n\f";
  var checkStr = theForm.Contact_WorkPhone.value;
  var allValid = true;
  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 (!allValid)
  {
    alert("Please enter only letter, digit, whitespace and \".()/,&\" characters in the \"Work Phone Number\" field.");
    theForm.Contact_WorkPhone.focus();
    return (false);
  }

  if (theForm.Contact_Email.value == "")
  {
    alert("Please enter a value for the \"E-mail Address\" field.");
    theForm.Contact_Email.focus();
    return (false);
  }

  if (theForm.Contact_Email.value.length < 1)
  {
    alert("Please enter at least 1 characters in the \"E-mail Address\" field.");
    theForm.Contact_Email.focus();
    return (false);
  }
  return (true);
}
//-->
