function validaForm(){
	var retVal = true;
	
	if(document.frm_anuncie.nome.value == ""){
		alert("O campo Nome precisa ser preenchido.");
		document.frm_anuncie.nome.focus();
		retVal = false;
	}
	
	if(retVal && document.frm_anuncie.contato.value == ""){
		alert("O campo Contato precisa ser preenchido.");
		document.frm_anuncie.contato.focus();
		retVal = false;
	}

	if(retVal && document.frm_anuncie.email.value == ""){
		alert("O campo E-mail precisa ser preenchido.");
		document.frm_anuncie.email.focus();
		retVal = false;
	}
	
	if(retVal && document.frm_anuncie.telefone.value == ""){
		alert("O campo Telefone precisa ser preenchido.");
		document.frm_anuncie.telefone.focus();
		retVal = false;
	}
	
	return retVal;
}