function bh_init () {
	
	bh_cal_objs = new Array();
	
	$$('.bh-calendar').each(function(elem) {
		bh_cal_obj	= new DatePicker( elem );
		bh_cal_objs.push(bh_cal_obj);
	});
}



function ValidateChangeFlights (form_id) {

	var res = $(form_id).reservation;
	var contact = $(form_id).email;
	
	if (res.value == "" || contact.value == "") {
		alert("You must enter a Reservation Number and contact e-mail to continue. Please try again.");
		return false;
	}
	
	if (!/^([a-zA-Z0-9]{6})/.test(res.value)) {
		alert("Your reservation number is a combination of 6 numbers and letters. It can be found on the top section of your itinerary. Please try again.");
		return false;
	}
	
	var changeform = $(form_id);
	changeform.submit()
}



