rem: var folderTree = GetFolderTree(); var selectedFolderList = folderTree.selectedItems; var selectedFolder = selectedFolderList[0]; var uri = selectedFolder.getAttribute('id');  var folderResource = RDF.GetResource(uri); return folderResource; 
add: var folderOutliner = GetFolderOutliner(); var startIndex = {}; var endIndex = {}; folderOutliner.outlinerBoxObject.selection.getRangeAt(0, startIndex, endIndex); return GetFolderResource(folderOutliner, startIndex.value); 
context: function GetSelectedFolderResource(){  var folderTree = GetFolderTree();  var selectedFolderList = folderTree.selectedItems;  var selectedFolder = selectedFolderList[0];  var uri = selectedFolder.getAttribute('id');	var folderResource = RDF.GetResource(uri);	return folderResource;}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/938770831965cde1ef5c4ce945b768186518efae/commandglue.js/clean/mailnews/base/resources/content/commandglue.js