rem: gColor = gColor.trimString().toLowerCase(); 
add: gColor = TrimString(gColor).toLowerCase(); 
context: function ValidateData(){  if (LastPickedIsDefault)    gColor = LastPickedColor;  else    gColor = gDialog.ColorInput.value;    gColor = gColor.trimString().toLowerCase();  // TODO: Validate the color string!  if (NoDefault && !gColor)  {    ShowInputErrorMessage(GetString("NoColorError"));    SetTextboxFocus(gDialog.ColorInput);    return false;     }  return true;}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/52d7a93c75d49817060da61873d383063b3f87b0/EdColorPicker.js/clean/editor/ui/dialogs/content/EdColorPicker.js