rem: gPrefs.SetIntPref("offline.download.download_messages", 0); 
add: gPrefs.setIntPref("offline.download.download_messages", 0); 
context: function PromptDownloadMessages(){  InitPrompts();  InitServices();  if(gPromptService) {    var buttonPressed = {value:0};    var checkValue = {value:true};    gPromptService.confirmEx(window,                             gOfflinePromptsBundle.getString('downloadMessagesWindowTitle'),                             gOfflinePromptsBundle.getString('downloadMessagesLabel'),                            (gPromptService.BUTTON_TITLE_IS_STRING * gPromptService.BUTTON_POS_0) +                            (gPromptService.BUTTON_TITLE_IS_STRING * gPromptService.BUTTON_POS_2) +                             (gPromptService.BUTTON_TITLE_IS_STRING * gPromptService.BUTTON_POS_1),                            gOfflinePromptsBundle.getString('downloadMessagesDownloadButtonLabel'),                            gOfflinePromptsBundle.getString('downloadMessagesCancelButtonLabel'),                            gOfflinePromptsBundle.getString('downloadMessagesNoDownloadButtonLabel'),                             gOfflinePromptsBundle.getString('downloadMessagesCheckboxLabel'),                             checkValue, buttonPressed);    if(buttonPressed) {      if(buttonPressed.value == 0) {        if(checkValue.value)           gPrefs.SetIntPref("offline.download.download_messages", 0);        else           gPrefs.SetIntPref("offline.download.download_messages", 1);        // download news, download mail, send unsent messages, go offline when done, msg window        gOfflineManager.synchronizeForOffline(false, true, false, true, msgWindow);        return true;      }      else if(buttonPressed.value == 1) {        return false;      }      else if(buttonPressed.value == 2) {        if(checkValue.value)           gPrefs.SetIntPref("offline.download.download_messages", 0);        else           gPrefs.SetIntPref("offline.download.download_messages", 2);        // download news, download mail, send unsent messages, go offline when done, msg window        gOfflineManager.synchronizeForOffline(false, false, false, true, msgWindow);        return true;      }    }  }}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/f1f4e0d7a57ab7bc6d826daa2e6141efd69e1dce/mail-offline.js/buggy/mailnews/base/resources/content/mail-offline.js