add: var messageNode = selectedMessages[index]; var messageUri = messageNode.getAttribute("id"); var messageResource = RDF.GetResource(messageUri); var message = messageResource.QueryInterface(Components.interfaces.nsIMessage); return message;  
context: function GetSelectedMessage(){	var tree = GetThreadTree();	var selection = tree.selectedItems;	if(selection.length > 0)		return selection[0];	else		return null;}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/0938bbb70031b70863a26099bd6eab59d9a14e34/msgMail3PaneWindow.js/buggy/mailnews/base/resources/content/msgMail3PaneWindow.js