<!--
function Unibar_Validator(theForm)
{

  if (theForm.FirstName.value == "")
  {
    alert("Please enter a value for the \"FirstName\" field.");
    theForm.FirstName.focus();
    return (false);
  }

  if (theForm.FirstName.value.length < 2)
  {
    alert("Please enter at least 2 characters in the \"FirstName\" field.");
    theForm.FirstName.focus();
    return (false);
  }

  if (theForm.LastName.value == "")
  {
    alert("Please enter a value for the \"LastName\" field.");
    theForm.LastName.focus();
    return (false);
  }

  if (theForm.LastName.value.length < 2)
  {
    alert("Please enter at least 2 characters in the \"LastName\" field.");
    theForm.LastName.focus();
    return (false);
  }

  if (theForm.Voicephonenumber.value == "")
  {
    alert("Please enter a value for the \"Phone Number\" field.");
    theForm.Voicephonenumber.focus();
    return (false);
  }

  if (theForm.Voicephonenumber.value.length < 10)
  {
    alert("Please enter at least 10 characters in the \"Phone Number\" field.");
    theForm.Voicephonenumber.focus();
    return (false);
  }

  var checkOK = "0123456789--+ \t\r\n\f";
  var checkStr = theForm.Voicephonenumber.value;
  var allValid = true;
  var validGroups = 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 digit, whitespace and \"-+\" characters in the \"Phone Number\" field.");
    theForm.Voicephonenumber.focus();
    return (false);
  }

  if (theForm.Emailaddress.value == "")
  {
    alert("Please enter a value for the \"Emailaddress\" field.");
    theForm.Emailaddress.focus();
    return (false);
  }

  if (theForm.Emailaddress.value.length < 6)
  {
    alert("Please enter at least 6 characters in the \"Emailaddress\" field.");
    theForm.Emailaddress.focus();
    return (false);
  }

  if (theForm.CompanyName.value == "")
  {
    alert("Please enter a value for the \"CompanyName\" field.");
    theForm.CompanyName.focus();
    return (false);
  }

  if (theForm.CompanyName.value.length < 3)
  {
    alert("Please enter at least 3 characters in the \"CompanyName\" field.");
    theForm.CompanyName.focus();
    return (false);
  }

if (theForm.OS_Type.selectedIndex == 0)
  {
    alert("The first \"Production System\" option is not a valid selection.  Please choose one of the other options.");
    theForm.OS_Type.focus();
    return (false);
  }

  if (theForm.Heard_From.selectedIndex < 0)
  {
    alert("Please select one of the \"Product\" options.");
    theForm.Heard_From.focus();
    return (false);
  }

  var radioSelected = false;
  for (i = 0;  i < theForm.Newsletter.length;  i++)
  {
    if (theForm.Newsletter[i].checked)
        radioSelected = true;
  }
  if (!radioSelected)
  {
    alert("Please select one of the \"Newsletter\" options.");
    return (false);
  }
  return (true);
}
//-->