add: dump("alignment ="+alignment+"\n");  
context: function SetGlobalElementToCurrentDialogSettings(){  // src  var str = dialog.srcInput.value.trimString();  globalElement.setAttribute("src", str);  // alt  str = dialog.altTextInput.value.trimString();  globalElement.setAttribute("alt", str);  var alignment;  switch ( dialog.alignTypeSelect.selectedIndex )  {    case 0:      alignment = "top";      break;    case 1:      alignment = "center";      break;    case 3:      alignment = "left";      break;    case 4:      alignment = "right";      break;    default:  // Default or "bottom" (2)      alignment = "";      break;  }    if ( alignment == "" )    globalElement.removeAttribute( "align" );  else    globalElement.setAttribute( "align", alignment );  if ( dialog.imagelrInput.value.length > 0 )    globalElement.setAttribute("hspace", dialog.imagelrInput.value);  else    globalElement.removeAttribute("hspace");    if ( dialog.imagetbInput.value.length > 0 )    globalElement.setAttribute("vspace", dialog.imagetbInput.value);  else    globalElement.removeAttribute("vspace");  if ( dialog.border.value.length > 0 )    globalElement.setAttribute("border", dialog.border.value);  else    globalElement.removeAttribute("border");    // width  str = dialog.widthInput.value;  if (dialog.widthUnitsSelect.selectedIndex == 1)    str = str + "%";  globalElement.setAttribute("width", str);  // height  str = dialog.heightInput.value;  if (dialog.heightUnitsSelect.selectedIndex == 1)    str = str + "%";  globalElement.setAttribute("height", str);}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/213c52783c63c0ea7fcc8f00624a819bc4180f7c/EdImageProps.js/buggy/editor/ui/dialogs/content/EdImageProps.js