<!--
function Validator_News(theForm)
{
  if (theForm.TXTnome.value == "")
  {
    alert("Digite o seu Nome.");
    theForm.TXTnome.focus();
    return (false);
  }

  if (theForm.TXTnome.value.length > 100)
  {
    alert("Digite no máximo 100 caracteres.");
    theForm.TXTnome.focus();
    return (false);
  }

  var checkOK = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyzƒŠŒŽšœžŸÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõöøùúûüýþÿ0123456789-&., \t\r\n\f";
  var checkStr = theForm.TXTnome.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("Digite somente caracteres válidos.");
    theForm.TXTnome.focus();
    return (false);
  }

  if (theForm.TXTemail.value == "")
  {
    alert("Digite o seu e-mail.");
    theForm.TXTemail.focus();
    return (false);
  }

  if (theForm.TXTemail.value.length < 5)
  {
    alert("e-mail inválido.");
    theForm.TXTemail.focus();
    return (false);
  }

  if (theForm.TXTemail.value.length > 255)
  {
    alert("Digite no máximo 255 caracteres.");
    theForm.TXTemail.focus();
    return (false);
  }

  var checkOK = "abcdefghijklmnopqrstuvwxyzƒ0123456789-@._-";
  var checkStr = theForm.TXTemail.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("e-mail inválido.");
    theForm.TXTemail.focus();
    return (false);
  }

  return (true);
}

//-->