rem: if (!state) IDSuffix = "left" else IDSuffix = state; 
add: var IDSuffix = GetAlignmentString(); 
context: function InitAlignMenu(){  var mixedObj = new Object();  var htmlEditor = gEditor.QueryInterface(Components.interfaces.nsIHTMLEditor);  // Note: GetAlignment DOESN'T set the "mixed" flag,  //  but always returns "left" in mixed state  // We'll pay attention to it here so it works when fixed  var state = htmlEditor.getAlignment(mixedObj);  var IDSuffix;  if (!state)    IDSuffix = "left"  else    IDSuffix = state;  var menuItem = document.getElementById("menu_"+IDSuffix);  menuItem.setAttribute("checked", "true");  if (mixedObj.value)    menuItem.setAttribute("checked", "false");}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/d56262a401c9d60bbef8fdbf3317ef55705279f1/editor.js/buggy/editor/ui/composer/content/editor.js