rem: SearchTree.addItemToSelection( document.getElementById( "search-unifinder-treeitem-"+EventSelectionArray[i].id ) ); 
add:  if( SearchTreeItem ) SearchTree.addItemToSelection( SearchTreeItem ); 
context: function unifinderInit( CalendarWindow ){   var unifinderEventSelectionObserver =    {      onSelectionChanged : function( EventSelectionArray )      {         var CategoriesTree = document.getElementById( "unifinder-categories-tree" );         var SearchTree = document.getElementById( "unifinder-search-results-tree" );         CategoriesTree.clearSelection();         SearchTree.clearSelection();                  if( EventSelectionArray.length > 0 )         {            for( i = 0; i < EventSelectionArray.length; i++ )            {               CategoriesTree.addItemToSelection( document.getElementById( "unifinder-treeitem-"+EventSelectionArray[i].id ) );                  SearchTree.addItemToSelection( document.getElementById( "search-unifinder-treeitem-"+EventSelectionArray[i].id ) );            }         }      }   }         gCalendarWindow.EventSelection.addObserver( unifinderEventSelectionObserver );}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/8598bfe9d324fc6f1fdd4457698238653b9ad258/unifinder.js/clean/calendar/resources/content/unifinder/unifinder.js