rem: if (type) type = type.toLowerCase(); 
context: function InitDialog(){  // Note that if mixed, we we pay attention   //   only to the anchor node's list type  // (i.e., don't confuse user with "mixed" designation)  if (ListElement)    ListType = ListElement.nodeName.toLowerCase();  else    ListType = "";    BuildBulletStyleList();  gDialog.StartingNumberInput.value = "";  var type = globalElement ? GetHTMLOrCSSStyleValue(globalElement, "type", "list-style-type") : null;  if (type)    type = type.toLowerCase();  var index = 0;  if (ListType == "ul")  {    if (type)    {      if (type == "disc")        index = 1;      else if (type == "circle")        index = 2;      else if (type == "square")        index = 3;    }  }  else if (ListType == "ol")  {    switch (type)    {      case "1":      case "decimal":        index = 1;        break;      case "I":      case "upper-roman":        index = 2;        break;      case "i":      case "lower-roman":        index = 3;        break;      case "A":      case "upper-alpha":        index = 4;        break;      case "a":      case "lower-alpha":        index = 5;        break;    }    gDialog.StartingNumberInput.value = globalElement.getAttribute("start");  }  gDialog.BulletStyleList.selectedIndex = index;  originalBulletStyleType = type;}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/492bf7efc7f84ef524f991fa61aa8cf57806bad7/EdListProps.js/buggy/editor/ui/dialogs/content/EdListProps.js