function DateOnChange()
   {
   if (typeof(DynamicComboBoxServerExists) == 'undefined')
      return;
   DynamicComboBoxClear('RouteDirectionDynamicComboBox');
   }
function RouteDirectionGetState()
   {
   var state = new Object();
   var date = DatePicker_DatePicker.getDate();
   state['day'] = date.getDate();
   state['month'] = date.getMonth()+1;
   state['year'] = date.getFullYear();
   return (state);
   }
function RouteDirectionOnSelect()
   {
   if (typeof(DynamicComboBoxServerExists) == 'undefined')
      return;
   DynamicComboBoxClear('StopDynamicComboBox');
   }
function RouteDirectionOnReQuery()
   {
   if (typeof(DynamicComboBoxServerExists) == 'undefined')
      return;
   DynamicComboBoxReQuery('StopDynamicComboBox');
   }
function StopGetState()
   {
   var state = new Object();
   state['routeDirectionClientID'] = 'RouteDirectionDynamicComboBox';
   state['routeDirectionSelectedIndex'] = DynamicComboBoxGetSelectedIndex('RouteDirectionDynamicComboBox');
   return (state);
   }


