	function update_dropoff_date()
	{
		var oDay 	= document.Form1.pickupday.options[document.Form1.pickupday.selectedIndex].value
		var oMonth 	= document.Form1.PickupMonth.options[document.Form1.PickupMonth.selectedIndex].value
		var oYear 	= document.Form1.PickupYear.options[document.Form1.PickupYear.selectedIndex].value
		var sDefault = new Date()
		sPickup = new Date(oMonth + ' ' + oDay + ', ' + oYear + ' 09:00:00')
		sDefault = DateAdd(sPickup,3,0,0)
		SetValue(document.Form1.returnday, sDefault.getDate())
		SetValue(document.Form1.ReturnMonth, GetMonthName(sDefault.getMonth()))
		SetValue(document.Form1.ReturnYear, sDefault.getYear())

	}

	function GetMonthName(iMonth){
		if (iMonth == 0){
			return 'January'
		}
		else if (iMonth == 1){
			return 'February'
		}
		else if (iMonth == 2){
			return 'March'
		}
		else if (iMonth == 3){
			return 'April'
		}
		else if (iMonth == 4){
			return 'May'
		}
		else if (iMonth == 5){
			return 'June'
		}
		else if (iMonth == 6){
			return 'July'
		}
		else if (iMonth == 7){
			return 'August'
		}
		else if (iMonth == 8){
			return 'September'
		}
		else if (iMonth == 9){
			return 'October'
		}
		else if (iMonth == 10){
			return 'November'
		}
		else if (iMonth == 11){
			return 'December'
		}
	}

	function SetValue(sControl,sFig){
		var i

		//alert(sFig)
		i = -1
		do {
			i = i + 1;
			//alert(i + ':' + sControl.options[i].value + ':' + sFig)
			if (sControl.options[i].value == sFig){
				sControl.options[i].selected = true
			}
			}
		while(i < sControl.length -1  && sControl.options[i].value != sFig);
	}
	function DateAdd(startDate, numDays, numMonths, numYears)
	{
		var returnDate = new Date(startDate.getTime());
		var yearsToAdd = numYears;

		var month = returnDate.getMonth()	+ numMonths;
		if (month > 11)
		{
			yearsToAdd = Math.floor((month+1)/12);
			month -= 12*yearsToAdd;
			yearsToAdd += numYears;
		}
		returnDate.setMonth(month);
		returnDate.setFullYear(returnDate.getFullYear()	+ yearsToAdd);

		returnDate.setTime(returnDate.getTime()+60000*60*24*numDays);

		return returnDate;

	}
