rem:    if (globalElement.attributes.getNamedItem("noshade")) gDialog.shading.checked = false; else gDialog.shading.checked = true;  
add: gDialog.shading.checked = globalElement.hasAttribute("noshade"); 
context: function InitDialog(){  // Just to be confusing, "size" is used instead of height because it does  // not accept % values, only pixels  var height = GetHTMLOrCSSStyleValue(globalElement, "size", "height")  height = StripPxUnit(height);  if(!height) {    height = 2; //Default value  }  // We will use "height" here and in UI  gDialog.heightInput.value = height;  // Get the width attribute of the element, stripping out "%"  // This sets contents of menulist (adds pixel and percent menuitems elements)  gDialog.widthInput.value = InitPixelOrPercentMenulist(globalElement, hLineElement, "width","pixelOrPercentMenulist");  var marginLeft  = GetHTMLOrCSSStyleValue(globalElement, "align", "margin-left").toLowerCase();  var marginRight = GetHTMLOrCSSStyleValue(globalElement, "align", "margin-right").toLowerCase();  align = marginLeft + " " + marginRight;  gDialog.leftAlign.checked   = (align == "left left"     || align == "0px auto");  gDialog.centerAlign.checked = (align == "center center" || align == "auto auto" || align == " ");  gDialog.rightAlign.checked  = (align == "right right"   || align == "auto 0px");  if (gDialog.centerAlign.checked) {    gDialog.alignGroup.selectedItem = gDialog.centerAlign;  }  else if (gDialog.rightAlign.checked) {    gDialog.alignGroup.selectedItem = gDialog.rightAlign;  }  else {    gDialog.alignGroup.selectedItem = gDialog.leftAlign;  }  // This is tricky! Since the "noshade" attribute doesn't always have a value,  //  we can't use getAttribute to figure out if it's set!  // This gets the attribute NODE from the attributes NamedNodeMap  if (globalElement.attributes.getNamedItem("noshade"))    gDialog.shading.checked = false;  else    gDialog.shading.checked = true;}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/e47926563562a0f6c56b89db30df0ccf595b1f02/EdHLineProps.js/clean/editor/ui/dialogs/content/EdHLineProps.js