sendUnsent = gPromptService.confirmEx(window, gOfflinePromptsBundle.getString('sendMessagesOfflineWindowTitle'), gOfflinePromptsBundle.getString('sendMessagesLabel'), gPromptService.BUTTON_TITLE_IS_STRING * (gPromptService.BUTTON_POS_0 + gPromptService.BUTTON_POS_1), gOfflinePromptsBundle.getString('sendMessagesSendButtonLabel'), gOfflinePromptsBundle.getString('sendMessagesNoSendButtonLabel'), null, null, {value:0}) == 0; 
var sendUnsentPref = gPrefBranch.getIntPref("offline.send.unsent_messages"); switch (sendUnsentPref) { case 0: sendUnsent = gPromptService.confirmEx(window, gOfflinePromptsBundle.getString('sendMessagesOfflineWindowTitle'), gOfflinePromptsBundle.getString('sendMessagesLabel'), gPromptService.BUTTON_TITLE_IS_STRING * (gPromptService.BUTTON_POS_0 + gPromptService.BUTTON_POS_1), gOfflinePromptsBundle.getString('sendMessagesSendButtonLabel'), gOfflinePromptsBundle.getString('sendMessagesNoSendButtonLabel'), null, null, {value: 0}) == 0; break; case 1: sendUnsent = true; break; } 
function DoGetNewMailWhenOffline(){  var sendUnsent = false;  var goOnline = PromptGetMessagesOffline() == 0;  if (goOnline)  {    if (this.CheckForUnsentMessages != undefined && CheckForUnsentMessages())    {      sendUnsent = gPromptService.confirmEx(window,                           gOfflinePromptsBundle.getString('sendMessagesOfflineWindowTitle'),                           gOfflinePromptsBundle.getString('sendMessagesLabel'),                          gPromptService.BUTTON_TITLE_IS_STRING * (gPromptService.BUTTON_POS_0 +                             gPromptService.BUTTON_POS_1),                          gOfflinePromptsBundle.getString('sendMessagesSendButtonLabel'),                          gOfflinePromptsBundle.getString('sendMessagesNoSendButtonLabel'),                          null, null, {value:0}) == 0;    }    if (!gOfflineManager)       GetOfflineMgrService();    gOfflineManager.goOnline(sendUnsent /* sendUnsentMessages */,                              false /* playbackOfflineImapOperations */,                              msgWindow);   }  return goOnline;}
5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5872/0ae28e3ed2b046af8727022cd7f6c6b913d68e11/mailWindowOverlay.js/clean/mailnews/base/resources/content/mailWindowOverlay.js