rem: var offlineManager = Components.classes["@mozilla.org/messenger/offline-manager;1"].getService(Components.interfaces.nsIMsgOfflineManager); offlineManager.synchronizeForOffline(false, true, false, false, null); window.close(); 
add:  gMsgFolder.downloadAllForOffline(null, null); 
context: function onOfflineFolderDownload(){    var offlineManager = Components.classes["@mozilla.org/messenger/offline-manager;1"].getService(Components.interfaces.nsIMsgOfflineManager);    offlineManager.synchronizeForOffline(false, true, false, false, null);    window.close();}
meta: 5459	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5459/cec28289265e68145471ac5e426b55626aa47911/folderProps.js/buggy/mailnews/base/resources/content/folderProps.js