function popUp(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=1,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=0,left=50,top=50,width=350,height=400');");
}
function frmRequestComments_Validator(theForm) {
  if (theForm.comments.value == "")
  {
    alert("Please enter comment for the \"Comments or Suggestions\" field.");
    theForm.comments.focus();
    return (false);
  }

  if (theForm.FirstName.value == "")
  {
    alert("Please enter a value for the \"First Name\" field.");
    theForm.FirstName.focus();
    return (false);
  }

  if (theForm.FirstName.value.length > 15)
  {
    alert("Please enter at most 15 characters in the \"First Name\" field.");
    theForm.FirstName.focus();
    return (false);
  }

  var checkOK = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyzÄSÿÎZÿsÿÏzÿÙËçåÌ€®‚éƒæèíêëì<ETH>„ñîïÍ…¯ôòó†Y«<THORN>§ˆ‡‰‹ŠŒ¾Ž‘“’”•<eth>–˜—™›š¿œžŸy«<thorn> \t\r\n\f";
  var checkStr = theForm.FirstName.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 and whitespace characters in the \"First Name\" field.");
    theForm.FirstName.focus();
    return (false);
  }

  if (theForm.LastName.value == "")
  {
    alert("Please enter a value for the \"Last Name\" field.");
    theForm.LastName.focus();
    return (false);
  }

  if (theForm.LastName.value.length < 2)
  {
    alert("Please enter at least 3 characters in the \"Last Name\" field.");
    theForm.LastName.focus();
    return (false);
  }

  if (theForm.LastName.value.length > 30)
  {
    alert("Please enter at most 30 characters in the \"Last Name\" field.");
    theForm.LastName.focus();
    return (false);
  }

  var checkOK = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyzÄSÿÎZÿsÿÏzÿÙËçåÌ€®‚éƒæèíêëì<ETH>„ñîïÍ…¯ôòó†Y«<THORN>§ˆ‡‰‹ŠŒ¾Ž‘“’”•<eth>–˜—™›š¿œžŸy«<thorn> \t\r\n\f";
  var checkStr = theForm.LastName.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 and whitespace characters in the \"Last Name\" field.");
    theForm.LastName.focus();
    return (false);
  }

  if (theForm.phone.value == "")
  {
    alert("Please enter your phone # in the \"phone #\" field.");
    theForm.phone.focus();
    return (false);
  }

  if (theForm.email.value == "")
  {
    alert("Please enter your email address in the \"email address\" field.");
    theForm.email.focus();
    return (false);
  }

  if (theForm.email2.value == "")
  {
    alert("Please enter your email address in the \"verify email address\" field.");
    theForm.email2.focus();
    return (false);
  }

  // check if both email address fields are the same
  if (theForm.email.value != theForm.email2.value)
  {
	   alert("The two email addresses are not the same.");
	   theForm.email2.focus();
	   return (false);
  }

  return (true);
}
