//nome, email, tipo, mensagem
function validaDados()
	{
	erro = true
	texto = document.form.nome.value;
	if (texto.length == 0) 
   		{ 
        alert ('Nome não pode ficar em branco!'); 
	    erro = false;
		document.form.nome.focus();
		return erro;
   		} 
	erro = true
	texto = document.form.email.value;
	if (texto.length == 0) 
   		{ 
        alert ('E-mail não pode ficar em branco!'); 
	    erro = false;
		document.form.email.focus();
		return erro;
   		} 
	erro = true
	texto = document.form.tipo.value;
	if (texto.length == 0) 
   		{ 
        alert ('O tipo de atendimento não pode ficar em branco!'); 
	    erro = false;
		document.form.tipo.focus();
		return erro;
   		} 
	erro = true
	texto = document.form.mensagem.value;
	if (texto.length == 0) 
   		{ 
        alert ('Mensagem não pode ficar em branco!'); 
	    erro = false;
		document.form.mensagem.focus();
		return erro;
   		} 
	if (erro == true)
		{
		document.form.btSub.disabled = true;
		document.form.submit();
		}
	}
