rem: if(window.arguments && window.arguments[0]) 
add: if ("arguments" in window && window.arguments[0]) 
context: function OnLoadMessenger(){  var beforeLoadMessenger = new Date();  CreateMailWindowGlobals();  Create3PaneGlobals();  verifyAccounts();      loadStartPage();	InitMsgWindow();	messenger.SetWindow(window, msgWindow);	InitializeDataSources();	InitPanes();	accountManager.SetSpecialFoldersForIdentities();  AddToSession();  //need to add to session before trying to load start folder otherwise listeners aren't  //set up correctly.  if(window.arguments && window.arguments[0])  {	gStartFolderUri = window.arguments[0];  }  else  {    gStartFolderUri = null;  }  setTimeout("loadStartFolder(gStartFolderUri);", 0);  // FIX ME - later we will be able to use onload from the overlay  OnLoadMsgHeaderPane();	var id = null;	var headerchoice = null;	try {		headerchoice = pref.GetIntPref("mail.show_headers");	}	catch (ex) {		dump("failed to get the header pref\n");	}	switch (headerchoice) {		case 2:				id = "viewallheaders";			break;		case 0:			id = "viewbriefheaders";			break;		case 1:				id = "viewnormalheaders";			break;		default:			id = "viewnormalheaders";			break;	}	var menuitem = document.getElementById(id);	try {		// not working right yet.  see bug #??????		// menuitem.setAttribute("checked", "true"); 	}	catch (ex) {		dump("failed to set the view headers menu item\n");	}	gHaveLoadedMessage = false;	//Set focus to the Thread Pane the first time the window is opened.	SetFocusThreadPane();	var afterLoadMessenger = new Date();	var timeToLoad = (afterLoadMessenger.getTime() - beforeLoadMessenger.getTime())/1000;	if(showPerformance)	{	  dump("Time in OnLoadMessger is " +  timeToLoad + " seconds\n");	}	}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/beca89e4d08a42e66176615067e32b497dd3319c/msgMail3PaneWindow.js/clean/mailnews/base/resources/content/msgMail3PaneWindow.js