rem: if ( parentBox ) 
add: var itemInDocument = parentNode;    if ( headerEntry.useToggle) 
context: function InsertEmailAddressUnderEnclosingBox(parentBox, parentDiv, includesToggleButton, emailAddress, fullAddress, displayName){  if ( parentBox )  {    var item = document.createElement("mail-emailaddress");    var itemInDocument;    if ( item && parentDiv)    {      if (parentDiv.childNodes.length)      {        var child = parentDiv.childNodes[parentDiv.childNodes.length - 1];        if (parentDiv.childNodes.length > 1 || (!includesToggleButton && parentDiv.childNodes.length >= 1) )        {          var textNode = document.createElement("text");          textNode.setAttribute("value", ", ");          textNode.setAttribute("class", "emailSeparator");          if (includesToggleButton && numOfEmailsInEnumerator < gNumOfEmailsToShowToggleButtonInFront)            parentDiv.insertBefore(textNode, child);          else            parentDiv.appendChild(textNode);        }        if (includesToggleButton && numOfEmailsInEnumerator < gNumOfEmailsToShowToggleButtonInFront)          itemInDocument = parentDiv.insertBefore(item, child);        else          itemInDocument = parentDiv.appendChild(item);      }      else      {        itemInDocument = parentDiv.appendChild(item);      }      itemInDocument.setAttribute("label", fullAddress);      itemInDocument.setTextAttribute("emailAddress", emailAddress);      itemInDocument.setTextAttribute("fullAddress", fullAddress);      itemInDocument.setTextAttribute("displayName", displayName);      if (this.AddExtraAddressProcessing != undefined)        AddExtraAddressProcessing(emailAddress, itemInDocument);      hdrViewSetVisible(parentBox, true);    }  }}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/c67a0430b1f6a28483542ee1bfc4325f6249ad46/msgHdrViewOverlay.js/clean/mailnews/base/resources/content/msgHdrViewOverlay.js