// JavaScript Document
<!--
function Form_Form1_Validator(theForm)
{

  if (theForm.realname.value == "")
  {
    alert("Please enter your name.");
    theForm.realname.focus();
    return (false);
  }


  if (theForm.realname.value.length > 50)
  {
    alert("Please don\'t enter more than 50 characters as your name.");
    theForm.realname.focus();
    return (false);
  }

  if (theForm.POSITION.value == "")
  {
    alert("Please enter your position/job title.");
    theForm.POSITION.focus();
    return (false);
  }

  if (theForm.POSITION.value.length > 50)
  {
    alert("Please don\'t enter more than 50 characters for your position.");
    theForm.POSITION.focus();
    return (false);
  }

  if (theForm.COMPANY.value == "")
  {
    alert("Please enter your company name.");
    theForm.COMPANY.focus();
    return (false);
  }

  if (theForm.COMPANY.value.length > 50)
  {
    alert("Please don\'t enter more than 50 characters for your company name.");
    theForm.COMPANY.focus();
    return (false);
  }

  if (theForm.SUB_ADDR.value.length < 3)
  {
    alert("Please enter an email address.");
    theForm.SUB_ADDR.focus();
    return (false);
  }

  if (theForm.SUB_ADDR.value.length > 50)
  {
    alert("Please enter a valid email address under 50 characters.");
    theForm.SUB_ADDR.focus();
    return (false);
  }

  if (theForm.PHONE.value.length < 7)
  {
    alert("Please enter a valid phone number, including area code.");
    theForm.PHONE.focus();
    return (false);
  }

  if (theForm.PHONE.value.length > 15)
  {
    alert("Please enter a valid phone number.");
    theForm.PHONE.focus();
    return (false);
  }


  if (theForm.ISSUE_DETAIL.value.length < 2)
  {
    alert("Please fill out the details of your issue.");
    theForm.ISSUE_DETAIL.focus();
    return (false);
  }
  return (true);
}
//-->