rem: if(!folderUri) { var folder = GetLoadedMsgFolder(); var folderResource = folder.QueryInterface(Components.interfaces.nsIRDFResource); folderUri = folderResource.Value; } 
add: if(!folderUri) { var folder = GetLoadedMsgFolder(); var folderResource = folder.QueryInterface(Components.interfaces.nsIRDFResource); folderUri = folderResource.Value; } 
context: function MsgOpenNewWindowForFolder(folderUri){	if(!folderUri)	{		var folder = GetLoadedMsgFolder();		var folderResource = folder.QueryInterface(Components.interfaces.nsIRDFResource);		folderUri = folderResource.Value;	}	if(folderUri)	{		var layoutType = pref.GetIntPref("mail.pane_config");				if(layoutType == 0)			window.openDialog( "chrome://messenger/content/messenger.xul", "_blank", "chrome,all,dialog=no", folderUri );		else			window.openDialog("chrome://messenger/content/mail3PaneWindowVertLayout.xul", "_blank", "chrome,all,dialog=no", folderUri );	}}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/98f8dba7b96019d33eaa1162fb11dc98138a445f/mailWindowOverlay.js/buggy/mailnews/base/resources/content/mailWindowOverlay.js