rem: if (gDialog.DefaultColorsRadio.checked) gDialog.DefaultColorsRadio.focus(); else gDialog.CustomColorsRadio.focus(); 
add: gDialog.PageColorGroup.focus(); 
context: function Startup(){  if (!InitEditorShell())    return;  gDialog.ColorPreview = document.getElementById("ColorPreview");  gDialog.NormalText = document.getElementById("NormalText");  gDialog.LinkText = document.getElementById("LinkText");  gDialog.ActiveLinkText = document.getElementById("ActiveLinkText");  gDialog.VisitedLinkText = document.getElementById("VisitedLinkText");  gDialog.DefaultColorsRadio = document.getElementById("DefaultColorsRadio");  gDialog.CustomColorsRadio = document.getElementById("CustomColorsRadio");  gDialog.BackgroundImageInput = document.getElementById("BackgroundImageInput");  BodyElement = editorShell.editorDocument.body;  if (!BodyElement)  {    dump("Failed to get BODY element!\n");    window.close();  }  // Set element we will edit  globalElement = BodyElement.cloneNode(false);  doSetOKCancel(onOK, onCancel);  // Initialize default colors from browser prefs  var browserColors = GetDefaultBrowserColors();  if (browserColors)  {    // Use author's browser pref colors passed into dialog    defaultTextColor = browserColors.TextColor;    defaultLinkColor = browserColors.LinkColor;    // Note: Browser doesn't store a value for ActiveLinkColor    defaultActiveColor = defaultLinkColor;    defaultVisitedColor =  browserColors.VisitedLinkColor;    defaultBackgroundColor=  browserColors.BackgroundColor;  }  // We only need to test for this once per dialog load  gHaveDocumentUrl = GetDocumentBaseUrl();  InitDialog();  if (gDialog.DefaultColorsRadio.checked)    gDialog.DefaultColorsRadio.focus();  else    gDialog.CustomColorsRadio.focus();  SetWindowLocation();}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/4d542172d7a025005947453f69c49fd2a43a200e/EdColorProps.js/clean/editor/ui/dialogs/content/EdColorProps.js