
// Script para forçar a entrada de dados em formulário
function checaIndex()
{
   with(document.form1)
   {
      if (nome.value.length == 0) {
            alert('Por favor, digite o seu nome.\n');
            nome.focus();
            return false;
      }
      if (email.value.length == 0) {
            alert('Preencha o campo de e-mail.');
            email.focus();
            return false;
      }
	  if (telefone.value.length == 0) {
            alert('Preencha o campo telefone.');
            telefone.focus();
            return false;
      }
	  if (mensagem.value.length == 0) {
            alert('Digite sua mensagem antes de enviar.');
            mensagem.focus();
            return false;
      }
      return true;
    }
}