rem: var commandStringSuffix = target.getAttribute("commandSuffix"); var openString = 'openAttachment' + commandStringSuffix; eval(openString); 
add: dofunc("openAttachment", target.attachment); 
context: function attachmentListClick(event){     // we only care about button 0 (left click) events    if (event.button != 0) return;    if (event.detail == 2) // double click    {      var target = event.target;      if (target.localName == "listitem")      {	    var commandStringSuffix = target.getAttribute("commandSuffix");        var openString = 'openAttachment' + commandStringSuffix;        eval(openString);      }    }}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/06c572f05bfbf03d103b6c641878b4f4a0a8aa6f/msgHdrViewOverlay.js/clean/mailnews/base/resources/content/msgHdrViewOverlay.js