
function validar(){
	Vnome=document.frmContato.nome.value;
	Vemail=document.frmContato.email.value;
	Vddd=document.frmContato.ddd.value;
	Vtelefone=document.frmContato.telefone.value;
	Vassunto=document.frmContato.assunto.value;
	Vmensagem=document.frmContato.mensagem.value;

	if(Vnome.length < 1){
		alert("Digite o nome");
		document.frmContato.nome.focus();
		return false;
	}
	if(Vemail.length < 1){
		alert("Digite o email");
		document.frmContato.email.focus();
		return false;
	}
	if(Vddd.length < 1){
		alert("Digite o DDD do telefone");
		document.frmContato.ddd.focus();
		return false;
	}
	if(Vtelefone.length < 1){
		alert("Digite o n\u00famero do telefone");
		document.frmContato.telefone.focus();
		return false;
	}
	if(Vassunto.length < 1){
		alert("Digite o assunto");
		document.frmContato.assunto.focus();
		return false;
	}
	if(Vmensagem < 1){
		alert("Digite a mensagem/motivo do contato");
		document.frmContato.mensagem.focus();
		return false;
	}
}

function retornar(){
	history.back();
}
