add: if (!folderURI) return false; 
context: function IsCanSearchMessagesEnabled(){  var folderURI = GetSelectedFolderURI();  var server = GetServer(folderURI);  return server.canSearchMessages;}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/8395/634044202ad0e89ed5e63759bb283c8d4f090335/mail3PaneWindowCommands.js/clean/mail/base/content/mail3PaneWindowCommands.js