rem: var folderTree = GetFolderTree(); var selectedFolders = folderTree.selectedItems; var numFolders = selectedFolders.length; 
add: var folderArray = []; var k = 0; var folderOutliner = GetFolderOutliner(); var rangeCount = folderOutliner.outlinerBoxObject.selection.getRangeCount(); 
context: function GetSelectedMsgFolders(){	var folderTree = GetFolderTree();	var selectedFolders = folderTree.selectedItems;	var numFolders = selectedFolders.length;	var folderArray = new Array(numFolders);	for(var i = 0; i < numFolders; i++)	{		var folder = selectedFolders[i];		var folderUri = folder.getAttribute("id");		var folderResource = RDF.GetResource(folderUri);		var msgFolder = folderResource.QueryInterface(Components.interfaces.nsIMsgFolder);		if(msgFolder)		{			folderArray[i] = msgFolder;			}	}	return folderArray;}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/938770831965cde1ef5c4ce945b768186518efae/msgMail3PaneWindow.js/clean/mailnews/base/resources/content/msgMail3PaneWindow.js