rem: if( SearchTreeItem ) { var Index = SearchTree.contentView.getIndexOfItem( SearchTreeItem );  SearchTree.treeBoxObject.ensureRowIsVisible( Index );  SearchTree.treeBoxObject.selection.select( Index ); } 
add: SearchTree.treeBoxObject.ensureRowIsVisible( RowToScrollTo );  SearchTree.treeBoxObject.selection.select( RowToScrollTo ); 
context: function calendarUnifinderInit( ){   var unifinderEventSelectionObserver =    {      onSelectionChanged : function( EventSelectionArray )      {         if( gCalendarEventTreeClicked === false )         {            var SearchTree = document.getElementById( UnifinderTreeName );                        SearchTree.treeBoxObject.selection.select( -1 );                        if( EventSelectionArray.length > 0 )            {               for( i = 0; i < EventSelectionArray.length; i++ )               {                  var SearchTreeItem = document.getElementById( "search-unifinder-treeitem-"+EventSelectionArray[i].id );                                    if( SearchTreeItem )                  {                     var Index = SearchTree.contentView.getIndexOfItem( SearchTreeItem );                                          SearchTree.treeBoxObject.ensureRowIsVisible( Index );                              SearchTree.treeBoxObject.selection.select( Index );                  }               }            }         }         gCalendarEventTreeClicked = false;      }   }         gCalendarWindow.EventSelection.addObserver( unifinderEventSelectionObserver );}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/aac08243cd1670905485f170f736fd4c83464d90/unifinder.js/clean/calendar/resources/content/unifinder.js