rem: var t = event.originalTarget; 
add: var t = event.originalTarget; 
context: function ThreadPaneOnClick(event){  var t = event.originalTarget;    if (t.localName != "treecell" &&        t.localName != "treeitem" &&        t.localName != "image")        return;  var targetclass = "";    if (t.localName == "image" && (t.getAttribute('twisty') != 'true'))      targetclass = t.parentNode.getAttribute('class');    //dump('targetclass = ' + targetclass + '\n');	if(targetclass.indexOf('unreadcol') != -1)	{		ToggleMessageRead(t.parentNode.parentNode.parentNode);	}	if(targetclass.indexOf('flagcol') != -1)	{		ToggleMessageFlagged(t.parentNode.parentNode.parentNode);	}    else if (t.getAttribute('twisty') == 'true') {        // The twisty is nested three below the treeitem:        // <treeitem>        //   <treerow>        //     <treecell>        //         <button class="tree-cell-twisty"> <!-- anonymous -->        var treeitem = t.parentNode.parentNode.parentNode;		var open = treeitem.getAttribute('open');		if(open == "true")		{			//open all of the children of the treeitem			msgNavigationService.OpenTreeitemAndDescendants(treeitem);		}    }	else if(event.detail == 2)	{		ThreadPaneDoubleClick(t.parentNode.parentNode,true);	}}
meta: 5459	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5459/851fd292f5f877140557f4166a3fa909175cd52e/threadPane.js/clean/mailnews/base/resources/content/threadPane.js