rem: var ccalendar=getCalendar(); ccalendar.addObserver(unifinderObserver,ccalendar.ITEM_FILTER_TYPE_EVENT); 
add: var ccalendar = getDisplayComposite(); ccalendar.addObserver(unifinderObserver, ccalendar.ITEM_FILTER_TYPE_EVENT); 
context: function prepareCalendarUnifinder( ){   // tell the unifinder to get ready   var unifinderEventSelectionObserver =    {      onSelectionChanged : function( EventSelectionArray )      {         selectSelectedEventsInTree( EventSelectionArray );      }   }         gCalendarWindow.EventSelection.addObserver( unifinderEventSelectionObserver );      // set up our calendar event observer      var ccalendar=getCalendar();   ccalendar.addObserver(unifinderObserver,ccalendar.ITEM_FILTER_TYPE_EVENT);   refreshEventTree(); //Display something upon first load. onLoad doesn't work properly for observers}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/f5f502297ab8e4860d64cd91cff54a1ae426c4fd/unifinder.js/clean/calendar/resources/content/unifinder.js