add: profileTree.ensureElementIsVisible( firstAdjacent ); } 
context: function DeleteProfile( deleteFiles ){  var profileTree = document.getElementById( "profiles" );  var profileKids = document.getElementById( "profilekids" )  if (profileTree.selectedItems && profileTree.selectedItems.length) {    var selected = profileTree.selectedItems[0];    var firstAdjacent = selected.previousSibling;    var name = selected.getAttribute( "rowName" );    try {      profile.deleteProfile( name, deleteFiles );      profileKids.removeChild( selected );    }    catch (ex) {    }    if( firstAdjacent )      profileTree.selectItem( firstAdjacent );    // set the button state    DoEnabling();  }}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/377edc92ac205baf7e16362330e9a1fee46aa4ae/profileManager.js/buggy/profile/resources/content/profileManager.js