gPromptService.BUTTON_TITLE_YES * gPromptService.BUTTON_POS_0 + gPromptService.BUTTON_TITLE_NO * gPromptService.BUTTON_POS_1, 
gPromptService.STD_YES_NO_BUTTONS, 
function ValidateDir(){  for (var i=0; i < arguments.length; i++) {    var filename = document.getElementById(arguments[i]).value;    if (filename.length > 0) {      var file = Components.classes["@mozilla.org/file/local;1"]                           .createInstance(Components.interfaces.nsILocalFile);      try {        file.initWithPath(filename);      } catch (e) {        gPromptService.alert(window, "", "Directory " + filename + " not found");        return false;      }      if (!file.exists()) {        var bundle = document.getElementById("bundle_cckwizard");        var button = gPromptService.confirmEx(window, bundle.getString("windowTitle"), bundle.getString("createDir").replace(/%S/g, filename),                                              gPromptService.BUTTON_TITLE_YES * gPromptService.BUTTON_POS_0 +                                              gPromptService.BUTTON_TITLE_NO * gPromptService.BUTTON_POS_1,                                              null, null, null, null, {});        if (button == 0) {          try {            file.create(Components.interfaces.nsIFile.DIRECTORY_TYPE, 0775);          } catch (ex) {            gPromptService.alert(window, bundle.getString("windowTitle"),                                 bundle.getString("createDirError").replace(/%S/g, filename));            return false;          }        }      } else if (!file.isDirectory()) {        gPromptService.alert(window, "", "Directory " + filename + " not found");        return false;      }    }  }  return true;}
5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5872/bf31d5884509ec161b82dfe308d14c6cebee8146/cckwizard.js/buggy/extensions/cck/browser/resources/content/cckwizard/cckwizard.js