function IsEmpty(Valor){
		var strLetra = ""
		if(Valor == "")
			return true //nao preencheu
		for(i=0;i<=Valor.length-1;i++){
			//examina cada letra
			strLetra = Valor.substring(i,i+1)
			if(strLetra!=" "){
				//achou um caracter valido != espaco
				return false // preencheu
			}
		}
		return true // nao preencheu
	}

function confere(f){
		if (IsEmpty(f.edtNome.value)){
			window.alert("O campo nome não foi preenchido");
			f.edtNome.focus();
			return false;
		}
		if (IsEmpty(f.edtEmail.value)){
			window.alert("O campo e-mail não foi preenchido");
			f.edtEmail.focus();
			return false;
		}
		if (f.edtEmail.value.indexOf("@") == -1 ){
			window.alert("O email está com o formato inválido.");
			f.edtEmail.focus();
			return false;
		}
		return true;
	}
