rem:  gCalendarWindow.EventSelection.addObserver( unifinderEventSelectionObserver ); 
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 = getCompositeCalendar();   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: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/23fce7cac682e3a6c382c813fd5e068be567d78d/unifinder.js/buggy/calendar/resources/content/unifinder.js