rem: var messagePaneFrame = top.frames['messagepane']; if (messagePaneFrame) messagePaneFrame.focus(); 
context: function OnLoadMessageWindow(){	HideMenus();  AddMailOfflineObserver();	CreateMailWindowGlobals();	CreateMessageWindowGlobals();  AddToolBarPrefListener();  ShowHideToolBarButtons()	verifyAccounts(null);	InitMsgWindow();	messenger.SetWindow(window, msgWindow);	InitializeDataSources();	// FIX ME - later we will be able to use onload from the overlay	OnLoadMsgHeaderPane();  try {    var nsIFolderListener = Components.interfaces.nsIFolderListener;    var notifyFlags = nsIFolderListener.removed | nsIFolderListener.event | nsIFolderListener.intPropertyChanged;    mailSession.AddFolderListener(folderListener, notifyFlags);  } catch (ex) {    dump("Error adding to session: " +ex + "\n");  }  var originalView = null;	if (window.arguments)	{		if (window.arguments[0])			gCurrentMessageUri = window.arguments[0];		else			gCurrentMessageUri = null;		if (window.arguments[1])			gCurrentFolderUri = window.arguments[1];		else			gCurrentFolderUri = null;    if (window.arguments[2])      originalView = window.arguments[2];      	}	  CreateView(originalView)   setTimeout("var msgKey = extractMsgKeyFromURI(gCurrentMessageUri); gDBView.loadMessageByMsgKey(msgKey); gNextMessageViewIndexAfterDelete = gDBView.msgToSelectAfterDelete; UpdateStandAloneMessageCounts();", 0);    SetupCommandUpdateHandlers();  var messagePaneFrame = top.frames['messagepane'];  if (messagePaneFrame)	  messagePaneFrame.focus();}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/8db20baa1d88739dbcff481effb73b8d82b03716/messageWindow.js/clean/mailnews/base/resources/content/messageWindow.js