rem: parentDiv.removeChild(parentDiv.childNodes[0]); 
add: parentDiv.removeChild(parentDiv.childNodes[delIndex]); 
context: function ClearEmailFieldWithButton(parentDiv){  if (parentDiv)  {    // the toggle button is the last child in the child nodes..    // we should never remove it...    while (parentDiv.childNodes.length > 1)      parentDiv.removeChild(parentDiv.childNodes[0]);  }}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/1122ab4c594feb09e87787882d80f702a84b563d/msgHdrViewOverlay.js/clean/mailnews/base/resources/content/msgHdrViewOverlay.js