$(document).ready(function(){//SET DEFAULT$('#booking_other_pointer').hide();$('#booking_other_pointer').animate({top:'-7'}, "fast",function() {    $('#booking_other_pointer').show();  });$('#booking_other_container').hide();	//var minDate = $( ".selector" ).datepicker( "option", "minDate" );				$("#datepicker").datepicker();	$("#datepicker2").datepicker();	//{ minDate: new Date(2012, 1 - 1, 1) }		$('#qrcalendarA').click(function() { 	$('#datepicker').datepicker('show');	});		$('#qrcalendarB').click(function() { 	$('#datepicker2').datepicker('show');	});		$("#datepicker").change( function(){    // do something	var startdate = $('#datepicker').datepicker('getDate'); 	var startdateplus = $('#datepicker').datepicker('getDate', '+1d'); 	var enddate = $('#datepicker2').datepicker('getDate');	  	startdateplus.setDate(startdateplus.getDate()+1);		//now check date values	if (enddate > startdateplus) {	} else {	   $("#datepicker2").datepicker('setDate', startdateplus);	};	  			//$("#datepicker").validate({   		//rules: {        //EndDate: { greaterThan: "#datepicker2" }    	//}		//});		});	//END DEFUALT$('#res_function_hotel').click(function() {	$('#booking_hotel_pointer').animate({	top:'0',	left:'0'	});		$('#booking_other_pointer').animate({	top:'-7',	left:'7'	});		$('#booking_other_container').hide( function() {	$('#booking_hotel_container').fadeIn();	});		//$('#booking_hotel_container').show();	//$('#booking_other_container').hide();});$('#res_function_other').click(function() {	$('#booking_hotel_pointer').animate({	top:'-7',	left:'7'	});		$('#booking_other_pointer').animate({	top:'0',	left:'0'	});		$('#booking_hotel_container').hide( function() {	$('#booking_other_container').fadeIn();	});	});});//SET FOR THE SUBMIT FORM TO WORKfunction submithotelform(){$("#hotelreservations").submit()}function submithiltonform(){$("#restofworld_search").attr("target", "_blank");$("#restofworld_search").submit();}
