rem: var messageUri = messageNode.getAttribute("id"); 
add: messageUri = messageNode.getAttribute("id"); 
context: function ThreadPaneDoubleClick(treeitem,isClick){	if(IsSpecialFolderSelected("Drafts"))	{		var loadedFolder = GetLoadedMsgFolder();		var messageArray = GetSelectedMessages();		ComposeMessage(msgComposeType.Draft, msgComposeFormat.Default, loadedFolder, messageArray);	}	else if(IsSpecialFolderSelected("Templates"))	{		var loadedFolder = GetLoadedMsgFolder();		var messageArray = GetSelectedMessages();		ComposeMessage(msgComposeType.Template, msgComposeFormat.Default, loadedFolder, messageArray);	}	else if(isClick)	{		var messageUri = treeitem.getAttribute("id");		MsgOpenNewWindowForMessage(messageUri, null);	}	else	{		var threadTree = GetThreadTree();		var selectedMessages = threadTree.selectedItems;		var numMessages = selectedMessages.length;		for(var i = 0; i < numMessages; i++)		{			var messageNode = selectedMessages[i];			var messageUri = messageNode.getAttribute("id");			if(messageUri)			{				MsgOpenNewWindowForMessage(messageUri, null);			}		}	}}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/449f94e6c7ee5c0d72be422f903bb2b67bf150f6/threadPane.js/clean/mailnews/base/resources/content/threadPane.js