rem: var selected = dirTree.contentView.getItemAtIndex(dirTree.currentIndex); return selected.id; 
add: var selected = dirTree.contentView.getItemAtIndex(dirTree.currentIndex); return selected.id; } catch (ex) { return kPersonalAddressbookURI; } 
context: function GetSelectedDirectory(){  if (dirTree.currentIndex < 0)    return null;  var selected = dirTree.contentView.getItemAtIndex(dirTree.currentIndex);  return selected.id;}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/fd26233979f82786ad999cbf7f9f49086268b9e7/abCommon.js/buggy/mailnews/addrbook/resources/content/abCommon.js