
function enviar_reserva(){
	var error_str="";
	if (document.form_reserva.reserva_nombre.value.length == 0) {
	       error_str+="Please enter your name \n";
	} // del If

	if (document.form_reserva.reserva_mail.value.length == 0) {
	       error_str+="Please enter your email \n";
	} // del If

	if (document.form_reserva.reserva_mail.value != document.form_reserva.reserva_mailc.value) {
	       error_str+="Your email confirmation does not match the first \n";
	} // del If
	if (parseInt(document.form_reserva.reserva_pais.selectedIndex) == 0) {
	       error_str+="Please select your country \n";
	} // del If
	if (document.form_reserva.reserva_pasaporte.value.length == 0) {
	       error_str+="Please enter your passport number \n";
	} // del If
	if (parseInt(document.form_reserva.reserva_cant_personas.selectedIndex) == 0) {
	       error_str+="Please select the number of guests \n";
	} // del If
	if (document.form_reserva.reserva_checkin.value.length == 0) {
	       error_str+="Please select your check-in date \n";
	} // del If
	if (document.form_reserva.reserva_checkout.value.length == 0) {
	       error_str+="Please select your check-out date \n";
	} // del If
	if (document.form_reserva.reserva_terminos.checked == false) {
	       error_str+="You must agree to our terms and conditions to continue \n";
	} // del If
	if (error_str == '') {
		return(true);
	}else{
		alert(error_str);
		return(false);
	}//del if
}
