var arrival=new Date();arrival.setDate(arrival.getDate()+14);var month=arrival.getMonth()+1;var day=arrival.getDate();var year=arrival.getFullYear();var full_arrival_date=month+"/"+day+"/"+year;var departure=new Date();departure.setDate(departure.getDate()+16);var month_departure=departure.getMonth()+1;var day_departure=departure.getDate();var year_departure=departure.getFullYear();var full_departure_date=month_departure+"/"+day_departure+"/"+year_departure;var flight_departure=new Date();flight_departure.setDate(flight_departure.getDate()+21);var flight_month_departure=flight_departure.getMonth()+1;var flight_day_departure=flight_departure.getDate();var flight_year_departure=flight_departure.getFullYear();var flight_departure_date=flight_month_departure+"/"+flight_day_departure+"/"+flight_year_departure;function loadDateText(){$("#OnewayRoundtrip").show();$("#OnewayRoundtrip").load("include/roundtrip.html",function(b,a,c){if(a=="success"){$("#ReturnFlightTR3").show();$("#ReturnFlightTR4").show();$("#fromcity").val("Airport or City");$("#toCity").val("Airport or City");$("#flyDate_from").val(full_arrival_date);$("#flyDate_return").val(flight_departure_date);$("#SearchTypeRoundTrip").attr("checked","checked")}});if(document.forms.hotSearch!=null){document.forms.hotSearch.flyDate_from.value=full_arrival_date;document.forms.hotSearch.flyDate_return.value=full_departure_date;document.forms.hotSearch.departureMonth.value=month_departure;document.forms.hotSearch.departureMonth.value=month_departure;document.forms.hotSearch.departureDay.value=day_departure;document.forms.hotSearch.COYear.value=year;document.forms.hotSearch.arrivalMonth.value=month;document.forms.hotSearch.arrivalDay.value=day}};
