rem: var ccalendar = getDisplayComposite(); 
add: var ccalendar = getCompositeCalendar(); 
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 = getDisplayComposite();   ccalendar.addObserver(unifinderObserver);   kDefaultTimezone = calendarDefaultTimezone();   // Listen for changes in the selected day, so we can update if need be   var viewDeck = document.getElementById("view-deck")   viewDeck.addEventListener("dayselect", unifinderOnDaySelect, false);   refreshEventTree(); //Display something upon first load. onLoad doesn't work properly for observers}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/0b6ed036d2d55fbfd325f5325a4e8f425762b43a/unifinder.js/buggy/calendar/resources/content/unifinder.js