rem: InitPrompts(); 
context: function MsgOpenSelectedMessages(){  var dbView = GetDBView();  var indices = GetSelectedIndices(dbView);  var numMessages = indices.length;  gWindowReuse = gPrefBranch.getBoolPref("mailnews.reuse_message_window");  // This is a radio type button pref, currently with only 2 buttons.  // We need to keep the pref type as 'bool' for backwards compatibility  // with 4.x migrated prefs.  For future radio button(s), please use another  // pref (either 'bool' or 'int' type) to describe it.  //  // gWindowReuse values: false, true  //    false: open new standalone message window for each message  //    true : reuse existing standalone message window for each message  if (gWindowReuse && numMessages == 1 && MsgOpenSelectedMessageInExistingWindow())    return;      var openWindowWarning = gPrefBranch.getIntPref("mailnews.open_window_warning");  if ((openWindowWarning > 1) && (numMessages >= openWindowWarning)) {    InitPrompts();    if (!gMessengerBundle)        gMessengerBundle = document.getElementById("bundle_messenger");    var title = gMessengerBundle.getString("openWindowWarningTitle");    var text = gMessengerBundle.getFormattedString("openWindowWarningText", [numMessages]);    if (!gPromptService.confirm(window, title, text))      return;  }  for (var i = 0; i < numMessages; i++) {    MsgOpenNewWindowForMessage(dbView.getURIForViewIndex(indices[i]), dbView.getFolderForViewIndex(indices[i]).URI);  }}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/112eb3c61f3751959441fb43cbe46e8ef204db63/mailWindowOverlay.js/clean/mail/base/content/mailWindowOverlay.js