rem: fileName = GetLocalFileURL("img"); 
add: var fileName = GetLocalFileURL("img"); 
context: function chooseFile(){  // Get a local image file, converted into URL format  fileName = GetLocalFileURL("img");  if (fileName)  {    dialog.BackgroundImageInput.value = fileName;    ValidateAndPreviewImage(true);  }  SetTextfieldFocus(dialog.BackgroundImageInput);}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/83ca1136c37f2cf578ba5faefafcf52e66f73b8d/EdColorProps.js/buggy/editor/ui/dialogs/content/EdColorProps.js