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: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/0b2dd2b2d2fd037df917e07645fa019a963332a5/msgHdrViewOverlay.js/clean/mailnews/base/resources/content/msgHdrViewOverlay.js