rem: var selectedFolder = GetThreadPaneFolder(); if (!selectedFolder || ((selectedFolder.flags & flags) == 0)) { return false; } else { return true; } 
add: var selectedFolder = GetThreadPaneFolder(); return IsSpecialFolder(selectedFolder, flags); 
context: function IsSpecialFolderSelected(flags){    var selectedFolder = GetThreadPaneFolder();    if (!selectedFolder || ((selectedFolder.flags & flags) == 0)) {        return false;    }    else {        return true;    }}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/bbbe9a77cb8854e9abd626f7bfbcb171f56cbf1d/threadPane.js/clean/mailnews/base/resources/content/threadPane.js