function validacao(contato){
	
	//verificar se o campo nome foi preenchido!
	if(contato.nome.value == ""){
		alert("Preencha o campo nome!");
		contato.nome.focus();
		return false;
	}
	
	//verificar se o campo email foi preenchido!
	if(contato.email.value == ""){
		alert("Preencha o campo email!");
		contato.email.focus();
		return false;
	}
	
	//verificar se email está incorreto!
	if(contato.email.value.indexOf('@')==-1 || contato.email.value.indexOf('.')==-1){
		alert("Email preenchido está incorreto!");
		contato.email.focus();
		return false;
	}
	
	//verificar se o campo empresa foi preenchido!
	if(contato.empresa.value == ""){
		alert("Preencha o campo empresa!");
		contato.empresa.focus();
		return false;
	}
	
	//verificar se mensagem foi preenchido!
	if(contato.mensagem.value == ""){
		alert("Digite sua mensagem!");
		contato.mensagem.focus();
		return false;
	}
	
	//verificar se captcha foi preenchido!
	if(contato.captcha.value == ""){
		alert("Digite os caracteres da imagem!");
		contato.captcha.focus();
		return false;
	}
	return true;
}
