rem: }   SaveCustomColors();   dialog.BackgroundImage = globalElement.getAttribute(backgroundStr); if (dialog.BackgroundImage) { dialog.BackgroundImageInput.value = dialog.BackgroundImage; dialog.ColorPreview.setAttribute(backgroundStr, dialog.BackgroundImage); 
add: UseDefaultColors(); 
context: function InitDialog(){  SetColor("textCW",       globalElement.getAttribute(textStr));  SetColor("linkCW",       globalElement.getAttribute(linkStr));  SetColor("visitedCW",    globalElement.getAttribute(vlinkStr));  SetColor("activeCW",     globalElement.getAttribute(alinkStr));  SetColor("backgroundCW", globalElement.getAttribute(bgcolorStr));  if (dialog.textColor ||      dialog.linkColor ||      dialog.visitedLinkColor ||      dialog.activeLinkColor ||      dialog.backgroundColor)  {    // If any colors are set, then check the "Custom" radio button    dialog.CustomColorsRadio.checked = true;  } else {    dialog.DefaultColorsRadio.checked = true;  }    // Save a copy to use when switching from UseDefault to UseCustom  SaveCustomColors();  // Get image from document  dialog.BackgroundImage = globalElement.getAttribute(backgroundStr);  if (dialog.BackgroundImage)  {    dialog.BackgroundImageInput.value = dialog.BackgroundImage;    dialog.ColorPreview.setAttribute(backgroundStr, dialog.BackgroundImage);  }}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/49bc32c783f8e8fbf15d440f1587990451b05b6f/EdColorProps.js/clean/editor/ui/dialogs/content/EdColorProps.js