function validar(){
	objF = MM_findObj("fData");
	var comentario = "";

	if(objF.txt_nombre.value == ""){
		comentario += "\n- Nombre.";
	}
	if((objF.txt_email.value.length == 0) || (objF.txt_email.value.indexOf("@") < 1) || (objF.txt_email.value.lastIndexOf(".") < 3)){
		comentario += "\n- El Email es obligatorio y ha de tener el formato correcto.";
	}
	if(objF.txt_comentario.value == ""){
		comentario += "\n- Consulta.";
	}
	if(objF.codigo.value == ""){
		comentario += "\n- Codigo de seguridad.";
	}
	if(comentario != ""){
		window.alert("Ha dejado de completar algún campo obligatorio:"+comentario);
		return false;
	}
	objF.submit();
	return true;
}