rem: var fp = Components.classes["component: 
add: var fp = Components.classes["@mozilla.org/filepicker;1"].createInstance(Components.interfaces.nsIFilePicker); 
context: function chooseProfileFolder( aRootFolder ){  if( !aRootFolder ) {    try {      var fp = Components.classes["component://mozilla/filepicker"].createInstance(Components.interfaces.nsIFilePicker);      fp.init(window, bundle.GetStringFromName("chooseFolder"), Components.interfaces.nsIFilePicker.modeGetFolder);      fp.appendFilters(Components.interfaces.nsIFilePicker.filterAll);      fp.show();      // later change to       aRootFolder = fp.file.unicodePath;    }    catch(e) {      aRootFolder = null;    }  }  if( aRootFolder ) {    var folderText = document.getElementById("ProfileDir");    dump("*** setting rootFolderAttribute to " + aRootFolder + "\n");    folderText.setAttribute( "rootFolder", aRootFolder );    if ( aRootFolder != top.profile.defaultProfileParentDir.path )      document.getElementById( "useDefault" ).removeAttribute("disabled");    updateProfileName();  }}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/6cc70ebd6c97bd0b2fe48c31f579e855387ced9d/newProfile1_2.js/clean/profile/resources/content/newProfile1_2.js