rem: folderOutliner.outlinerBoxObject.selection.getRangeAt(0, startIndex, endIndex); 
add: folderTree.treeBoxObject.selection.getRangeAt(0, startIndex, endIndex); 
context: function MsgEmptyTrash() {    var folderOutliner = GetFolderOutliner();    var startIndex = {};    var endIndex = {};    folderOutliner.outlinerBoxObject.selection.getRangeAt(0, startIndex, endIndex);    if (startIndex.value >= 0)    {        var folderResource = GetFolderResource(folderOutliner, startIndex.value);        try {            messenger.EmptyTrash(GetFolderDatasource(), folderResource);        }            catch(e)        {              dump ("Exception : messenger.EmptyTrash \n");        }    }}
meta: 5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/d38a0937d9c93a0a9d913e2ac781e4328bb8cc73/widgetglue.js/clean/mailnews/base/resources/content/widgetglue.js