rem: return (server.canEmptyTrashOnExit?IsMailFolderSelected():false); 
add: return (server && server.canEmptyTrashOnExit ? IsMailFolderSelected() : false); 
context: function IsEmptyTrashEnabled(){  var folderURI = GetSelectedFolderURI();  var server = GetServer(folderURI);  return (server.canEmptyTrashOnExit?IsMailFolderSelected():false);}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/2bff1c5bd233d6da21ab2ae6b054eb382bebb350/mailWindowOverlay.js/buggy/mailnews/base/resources/content/mailWindowOverlay.js