function form_enquete_Validator(theForm)
{

  var radioSelected = false;
  for (i = 0;  i < theForm.R_enquete.length;  i++)
  {
    if (theForm.R_enquete[i].checked)
        radioSelected = true;
  }
  if (!radioSelected)
  {
    alert("Selecione uma das opções antes de votar.");
    return (false);
  }
  return (true);
}


function form_indicar_Validator(theForm)
{

  if (theForm.Nome.value == "")
  {
    alert("Digite um valor para o campo \"Seu nome\".");
    theForm.Nome.focus();
    return (false);
  }

  if (theForm.Nome.value.length < 3)
  {
    alert("Digite pelo menos 3 caracteres no campo \"Seu nome\".");
    theForm.Nome.focus();
    return (false);
  }

  if (theForm.Mail.value == "")
  {
    alert("Digite um valor para o campo \"Seu e-mail\".");
    theForm.Mail.focus();
    return (false);
  }

  if (theForm.Mail.value.length < 6)
  {
    alert("Digite pelo menos 6 caracteres no campo \"Seu e-mail\".");
    theForm.Mail.focus();
    return (false);
  }

  if (theForm.Destinatario.value == "")
  {
    alert("Digite um valor para o campo \"Destinatário\".");
    theForm.Destinatario.focus();
    return (false);
  }

  if (theForm.Destinatario.value.length < 3)
  {
    alert("Digite pelo menos 3 caracteres no campo \"Destinatário\".");
    theForm.Destinatario.focus();
    return (false);
  }

  if (theForm.MDestinatario.value == "")
  {
    alert("Digite um valor para o campo \"E-mail destinatário\".");
    theForm.MDestinatario.focus();
    return (false);
  }

  if (theForm.MDestinatario.value.length < 6)
  {
    alert("Digite pelo menos 6 caracteres no campo \"E-mail destinatário\".");
    theForm.MDestinatario.focus();
    return (false);
  }
  return (true);
}