rem: percentItem = menulist.appendItem(GetAppropriatePercentString(elementForAtt, elementInDoc)); 
add: percentItem = AppendStringToMenulist(menulist, GetAppropriatePercentString(elementForAtt, elementInDoc)); 
context: function InitPixelOrPercentMenulist(elementForAtt, elementInDoc, attribute, menulistID, defaultIndex){  if (!defaultIndex) defaultIndex = gPixel;  // var size  = elementForAtt.getAttribute(attribute);  var size = GetHTMLOrCSSStyleValue(elementForAtt, attribute, attribute)  var menulist = document.getElementById(menulistID);  var pixelItem;  var percentItem;  if (!menulist)  {    dump("NO MENULIST found for ID="+menulistID+"\n");    return size;  }  ClearMenulist(menulist);  pixelItem = menulist.appendItem(GetString("Pixels"));  if (!pixelItem) return 0;  percentItem = menulist.appendItem(GetAppropriatePercentString(elementForAtt, elementInDoc));  if (size && size.length > 0)  {    // Search for a "%" or "px"    if (/%/.test(size))    {      // Strip out the %      size = RegExp.leftContext;      if (percentItem)        menulist.selectedItem = percentItem;    }    else    {      if (/px/.test(size))        // Strip out the px        size = RegExp.leftContext;      menulist.selectedItem = pixelItem;    }  }  else    menulist.selectedIndex = defaultIndex;  return size;}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/6b7edca9695138d5a115822af820f1cfbc912d8f/EdDialogCommon.js/buggy/editor/ui/dialogs/content/EdDialogCommon.js