rem: { 
add: {  ioService.manageOfflineStatus = false; 
context:   toggleOfflineStatus: function()  {    // the offline manager(goOnline and synchronizeForOffline) actually does the dirty work of     // changing the offline state with the networking service.    if (!this.isOnline())     {      var prefSendUnsentMessages = gPrefBranch.getIntPref("offline.send.unsent_messages");      // 0 == Ask, 1 == Always Send, 2 == Never Send      var sendUnsentMessages = (prefSendUnsentMessages == 0 && this.haveUnsentMessages()                                 && this.confirmSendUnsentMessages()) || prefSendUnsentMessages == 1;      this.offlineManager.goOnline(sendUnsentMessages, true /* playbackOfflineImapOperations */, msgWindow);    }    else // going offline    {      var prefDownloadMessages = gPrefBranch.getIntPref("offline.download.download_messages");      // 0 == Ask, 1 == Always Download, 2 == Never Download      var downloadForOfflineUse = (prefDownloadMessages == 0 && this.confirmDownloadMessagesForOfflineUse())                                  || prefDownloadMessages == 1;      this.offlineManager.synchronizeForOffline(downloadForOfflineUse, downloadForOfflineUse, false, true, msgWindow);    }  },
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/343b8b59d69dedc11ac1304c13b5619816dd0f72/mail-offline.js/buggy/mail/base/content/mail-offline.js