rem: CategoriesTree.addItemToSelection( document.getElementById( "search-unifinder-treeitem-"+EventSelectionArray[i].id ) ); 
add: SearchTree.addItemToSelection( document.getElementById( "search-unifinder-treeitem-"+EventSelectionArray[i].id ) ); 
context:       onSelectionChanged : function( EventSelectionArray )      {         var CategoriesTree = document.getElementById( "unifinder-categories-tree" );         var SearchTree = document.getElementById( "unifinder-search-tree" );         CategoriesTree.clearSelection();                  if( EventSelectionArray.length > 0 )         {            for( i = 0; i < EventSelectionArray.length; i++ )            {               CategoriesTree.addItemToSelection( document.getElementById( "unifinder-treeitem-"+EventSelectionArray[i].id ) );                  CategoriesTree.addItemToSelection( document.getElementById( "search-unifinder-treeitem-"+EventSelectionArray[i].id ) );            }         }      }
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/cd323b7a1bd634c1baec51cdc321c08f5145741a/unifinder.js/buggy/calendar/resources/content/unifinder/unifinder.js