function checkFormAlquiler() {
	if ($("#nombre").val() == "") {
		alert("Please, fill the 'Name' field");
		$("#nombre").focus();
		return false;
	}
	if ($("#apellido").val() == "") {
		alert("Please, fill the 'Surname' field");
		$("#apellido").focus();
		return false;
	}
	var emailPattern = /^[a-zA-Z0-9._-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,4}$/; 
	if (!emailPattern.test($("#email").val())) {
		alert("The e-mail address haven't a correct format. Please fill a correct e-mail address");
		$("#email").focus();
		return false; 
	}
	if ($("#localidad").val() == "") {
		alert("Please, fill the 'City' field");
		$("#localidad").focus();
		return false;
	}
	if ($("#provincia").val() == "") {
		alert("Please, fill the 'State' field");
		$("#provincia").focus();
		return false;
	}
	if ($("#dimensiones").val() == "") {
		alert("Please, fill the 'Size' field");
		$("#dimensiones").focus();
		return false;
	}
	if ($("#material").val() == "") {
		alert("Please, fill the 'Roof's material' field");
		$("#material").focus();
		return false;
	}
	return true;
}

