function validarBusqueda(form) {
	if (form.ref.value == "") {
		alert("Introduzca una referencia.");
		form.ref.focus();
		return false;
	}
	return true;
}

function validarNulo(txtCampo) {
	if (txtCampo.value == "") {
		alert("El campo es requerido.");
		txtCampo.focus();
		return false;
	}
	return true;
}

function procesarCorreo(correo){
	if (correo.indexOf("@") == -1)
		return false;
	if (correo.indexOf(".") == -1)
		return false;
	return true;
}