rem: noshade = globalElement.getAttribute("noshade"); dialog.shading.checked = (noshade == ""); 
add:     if (globalElement.attributes.getNamedItem("noshade")) dialog.shading.checked = false; else dialog.shading.checked = true; 
context: function InitDialog(){  // Just to be confusing, "size" is used instead of height  var height = globalElement.getAttribute("size");  if(!height) {    dump("NO SIZE FOUND FOR HLINE");    height = 2; //Default value  }  // We will use "height" here and in UI  dialog.heightInput.value = height;  // Get the width attribute of the element, stripping out "%"  // This sets contents of combobox (adds pixel and percent option elements)  dialog.widthInput.value = InitPixelOrPercentCombobox(globalElement,"width","pixelOrPercentSelect");  align = globalElement.getAttribute("align");  if (align == "center") {    dialog.centerAlign.checked = true;  } else if (align == "right") {    dialog.rightAlign.checked = true;  } else {    dialog.leftAlign.checked = true;  }  noshade = globalElement.getAttribute("noshade");  dialog.shading.checked = (noshade == "");}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/328092db3b8229d2cf5367e4a742dea5e5d05d32/EdHLineProps.js/clean/editor/ui/dialogs/content/EdHLineProps.js