rem: else menulist.selectedItem = pixelItem; 
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 = AppendStringToMenulist(menulist, GetString("Pixels"));  if (!pixelItem) return 0;  percentItem = AppendStringToMenulist(menulist, GetAppropriatePercentString(elementForAtt, elementInDoc));  if (size && size.length > 0)  {    // Search for a "%" or "px"    var percentIndex = size.search(/%/);    var pxIndex = size.search(/px/);    if (percentIndex > 0)    {      // Strip out the %      size = size.substr(0, percentIndex);      if (percentItem)        menulist.selectedItem = percentItem;    }    else if (pxIndex  > 0)    {      // Strip out the %      size = size.substr(0, pxIndex);      menulist.selectedItem = pixelItem;    }    else      menulist.selectedItem = pixelItem;  }  else    menulist.selectedIndex = defaultIndex;  return size;}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/ef89dc7875ad2bc4063999e22dacf0dff13459cf/EdDialogCommon.js/clean/editor/ui/dialogs/content/EdDialogCommon.js