rem: function ToggleLongShortAddresses(shortDivID, longDivID) 
add: function ToggleLongShortAddresses(imageID, shortDivID, longDivID) 
context: function ToggleLongShortAddresses(shortDivID, longDivID){  var shortNode = document.getElementById(shortDivID);  var longNode = document.getElementById(longDivID);  var nodeToReset;  // test to see which if short is already hidden...  if (shortNode.getAttribute("collapsed") == "true")  {     hdrViewSetVisible(longNode, false);     hdrViewSetVisible(shortNode, true);     nodeToReset = shortNode;  }  else  {     hdrViewSetVisible(shortNode, false);     hdrViewSetVisible(longNode, true);     nodeToReset = longNode;  }   // HACK ALERT: this is required because of a bug in boxes when you add content   // to a box which is collapsed, when you then uncollapse that box, the content isn't   // displayed. So I'm forcing us to reset the value for each node...   var endPos = nodeToReset.childNodes.length;   var index = 0;   var tempValue;   while (index < endPos - 1)   {     tempValue = nodeToReset.childNodes[index].getAttribute("value");     nodeToReset.childNodes[index].setAttribute("value", "");     nodeToReset.childNodes[index].setAttribute("value", tempValue);     index++;   }}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/c67a0430b1f6a28483542ee1bfc4325f6249ad46/msgHdrViewOverlay.js/clean/mailnews/base/resources/content/msgHdrViewOverlay.js