// JavaScript Document
function validaForm(){
	
	var path = document.getElementById('form');
	
	if(path.nome.value == ''){
		alert('Preencha o campo Nome');
		path.nome.focus();
		return false;
	}
	if(path.email.value == ''){
		alert('Preencha o campo E-mail');
		path.email.focus();
		return false;
	}
	if(path.assunto.value == ''){
		alert('Preencha o campo Assunto');
		path.assunto.focus();
		return false;
	}
	if(path.mensagem.value == ''){
		alert('Preencha o campo Mensagem');
		path.mensagem.focus();
		return false;
	}

	//document.location.href('enviado.php');
	return true;
	
}
document.write('                                                                       ');
