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