/*
  Calendar.setup(
    {
      inputField : "departureDate",
      ifFormat    : "%m %d, %Y",
      displayArea : "departureCalendar",
    }
  );
  Calendar.setup(
    {
      inputField : "arrivalDate",
      ifFormat    : "%m %d, %Y",
      displayArea : "arrivalCalendar",
    }
  );
*/

    Calendar.setup({
				inputField     :    "arrivalDate",      // id of the input field
        dateSelect     :    "arrDate",
        monthSelect    :    "arrMonth",
        yearSelect     :    "arrYear",
        ifFormat       :    "%d/%m/%Y",       // format of the input field
        weekNumbers	 	: false,
        showsTime      :    false,            // will display a time selector
        button         :    "arrivalDateTrigger",   // trigger for the calendar (button ID)
        singleClick    :    true,           // double-click mode?
		onUpdate	   :	arrCalUpdate,
		step           :    1                // show all years in drop-down boxes (instead of every other year as default)
    });

    Calendar.setup({
        dateSelect     :    "depDate",
        monthSelect    :    "depMonth",
        yearSelect     :    "depYear",
        inputField     :    "departureDate",      // id of the input field
        ifFormat       :    "%d/%m/%Y",       // format of the input field
        weekNumbers		: false,
        showsTime      :    false,            // will display a time selector
        button         :    "departureDateTrigger",   // trigger for the calendar (button ID)
        singleClick    :    true,           // double-click mode?
		onUpdate		:	depCalUpdate,
        step           :    1                // show all years in drop-down boxes (instead of every other year as default)
    });

