rem: if( item ) { profileList.selectItem( item ); profileList.ensureElementIsVisible( item ); } 
add: profileList.view.selection.select(profileList.view.rowCount - 1); profileList.treeBoxObject.ensureRowIsVisible(profileList.currentIndex); 
context: function CreateProfile( aProfName, aProfDir ){  var profile = new Profile( aProfName, aProfDir, "yes" );  var item = AddItem( "profiles", profile );  var profileList = document.getElementById( "profiles" );  if( item ) {    profileList.selectItem( item );    profileList.ensureElementIsVisible( item );  }}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/97b2b7af1273ff0f6a722d514056886f4d4e2d5a/profileManager.js/buggy/profile/resources/content/profileManager.js