function addDays(myDate,days)
{
    	oneday = (1000*60*60*24);
     	return new Date(myDate.getTime() + (days * oneday));
}

function initArriveDate(monthIn,dateIn,yearIn) {
	// The Arrival Date is Set to 10 Days from the start
     	var arrDate = addDays(new Date(),10);
 	monthIn.selectedIndex=arrDate.getMonth()+1;
 	dateIn.selectedIndex=arrDate.getDate();
     	yearIn.selectedIndex=(arrDate.getFullYear()-2002);
}

function initDepartDate(monthIn,dateIn,yearIn) {
	// The Departure Date is Kept 3 Days After the arrival
  	var arrDate = addDays(new Date(),13);
 	monthIn.selectedIndex=arrDate.getMonth()+1;
 	dateIn.selectedIndex=arrDate.getDate();
   	yearIn.selectedIndex=(arrDate.getFullYear()-2002);
}
