<!-- Initialize the calendar popup buttons. Must occur AFTER the form structure! -->
	var depCal = Zapatec.Calendar.setup({
   		weekNumbers: false,
			showOthers: true,
			electric: false,
			inputField: 'App_Engine_Form:question_1742',
			button: 'question_1742_button',
			ifFormat: '%m/%d/%Y',
			daFormat: '%m/%d/%Y',
			align: 'br',
			onUpdate: setDefaultReturnMonth
	});


	// Set the default month when the scheduled return date calendar
	// opens to the same month as the departure date rather than the
	// current month.
	function setDefaultReturnMonth(depCal)
	{		
		// Don't define the return calendar until a pickup date is selected,
		// in order to have it open with the pickup date selected.
		Zapatec.Calendar.setup({
	  	weekNumbers: false,
			showOthers: true,
			electric: false,
			inputField: 'App_Engine_Form:question_1743',
			button: 'question_1743_button',
			ifFormat: '%m/%d/%Y',
			daFormat: '%m/%d/%Y',
			align: 'br',
			date: depCal.currentDate
		});
	}
