rem: var eventStartDate = getNextOrPreviousRecurrence( SelectedEvent ); 
add: var eventStartDate = getCurrentNextOrPreviousRecurrence( SelectedEvent ); 
context: function focusFirstItemIfNoSelection(){   if( gCalendarWindow.EventSelection.selectedEvents.length == 0 )   {      //select the first event in the list.      var ListBox = document.getElementById( UnifinderTreeName );      if( ListBox.childNodes.length > 0 )      {         var SelectedEvent = ListBox.childNodes[0].event;         var ArrayOfEvents = new Array();            ArrayOfEvents[ ArrayOfEvents.length ] = SelectedEvent;                  gCalendarWindow.EventSelection.setArrayToSelection( ArrayOfEvents );               /*start date is either the next or last occurence, or the start date of the event */         var eventStartDate = getNextOrPreviousRecurrence( SelectedEvent );                     /* you need this in case the current day is not visible. */         gCalendarWindow.currentView.goToDay( eventStartDate, true);      }   }}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/9bf90d79dc9715696efcb0a16fa694b2f8790f15/unifinder.js/clean/calendar/resources/content/unifinder.js