rem: dialog.BackgroundImageInput.focus(); 
add: SetTextfieldFocus(dialog.BackgroundImageInput); 
context: function ValidateImage(){  var image = dialog.BackgroundImageInput.value.trimString();  if (image && image != "")  {    if (IsValidImage(image))    {      dialog.BackgroundImage = image;      return true;    } else {      dialog.BackgroundImage = null;    }  }  dialog.BackgroundImageInput.focus();  ShowInputErrorMessage(GetString("MissingImageError"));  // Don't allow checkbox if bad or no image  dialog.BackgroundImageCheckbox.checked = false;  // TODO: Do fancy enabling/disabling instead?  return false;}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/c0a534c8efb9e6703626cacd6d61cb6ad8eb6680/EdColorProps.js/buggy/editor/ui/dialogs/content/EdColorProps.js