rem: item.setAttribute("class", "emailDisplayButton"); item.setAttribute("popup", "emailAddressPopup"); item.setAttribute("value", fullAddress);  item.setAttribute("emailAddress", emailAddress); item.setAttribute("fullAddress", fullAddress); 
add: itemInDocument.setAttribute("value", fullAddress); itemInDocument.setTextAttribute("emailAddress", emailAddress); itemInDocument.setTextAttribute("fullAddress", fullAddress); 
context: function InsertEmailAddressUnderEnclosingBox(parentBox, parentDiv, emailAddress, fullAddress) {  if ( parentBox )   {     var item = document.createElement("titledbutton");    if ( item && parentDiv)     {       item.setAttribute("class", "emailDisplayButton");      item.setAttribute("value", fullAddress);       if (parentDiv.childNodes.length)      {        var child = parentDiv.childNodes[parentDiv.childNodes.length - 1];         if (parentDiv.childNodes.length > 1)        {          var textNode = document.createElement("text");          textNode.setAttribute("value", ", ");          parentDiv.insertBefore(textNode, child);               }        parentDiv.insertBefore(item, child);      }      else       parentDiv.appendChild(item);            item.setAttribute("class", "emailDisplayButton");      item.setAttribute("popup", "emailAddressPopup");      item.setAttribute("value", fullAddress);            item.setAttribute("emailAddress", emailAddress);      item.setAttribute("fullAddress", fullAddress);        AddExtraAddressProcessing(emailAddress, item);      hdrViewSetVisible(parentBox, true);    }   } }
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/47d84a9a5f758995ce23f88c25ec5c9cef8a0706/msgHdrViewOverlay.js/buggy/mailnews/base/resources/content/msgHdrViewOverlay.js