rem: align = globalElement.getAttribute("align").toLowerCase(); 
add: align = globalElement.getAttribute("align"); if (align) align = align.toLowerCase(); 
context: function InitDialog(){  // Just to be confusing, "size" is used instead of height  var height = globalElement.getAttribute("size");  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");  align = globalElement.getAttribute("align").toLowerCase();  gDialog.centerAlign.checked = (align == "center" || !align);  gDialog.rightAlign.checked  = (align == "right");  gDialog.leftAlign.checked   = (align == "left");  // 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: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/52d7a93c75d49817060da61873d383063b3f87b0/EdHLineProps.js/clean/editor/ui/dialogs/content/EdHLineProps.js