rem: var account = parent.getAccountFromServerId(serverId); 
add: var account = getAccountForFolderPickerState(); 
context: function setPickersState(enablePickerId, disablePickerId, event){    SetPickerEnabling(enablePickerId, disablePickerId);    var serverId = GetCurrentServerId();    var selectedElementUri;    var radioElemValue = event.target.value;    var account = parent.getAccountFromServerId(serverId);    if (!account) return;    var server = account.incomingServer;    // if special folders are not to be made on the server,     // then Local Folders is the home for it's special folders    if (!server.defaultCopiesAndFoldersPrefsToServer) {        selectedElementUri = parent.accountManager.localFoldersServer.serverURI;    }            else        selectedElementUri = serverId;        switch (event.target.id) {        case "fcc_selectAccount" :            gFccRadioElemChoice = radioElemValue;               break;        case "draft_selectAccount" :            gDraftsRadioElemChoice = radioElemValue;               break;        case "tmpl_selectAccount" :            gTmplRadioElemChoice = radioElemValue;               break;        case "fcc_selectFolder" :            gFccRadioElemChoice = radioElemValue;               selectedElementUri += gFccFolderWithDelim;            break;        case "draft_selectFolder" :            gDraftsRadioElemChoice = radioElemValue;               selectedElementUri += gDraftsFolderWithDelim;            break;        case "tmpl_selectFolder" :            gTmplRadioElemChoice = radioElemValue;               selectedElementUri += gTemplatesFolderWithDelim;            break;        default :            dump("Error in setting picker state.\n");            return;    }        SetFolderPicker(selectedElementUri, enablePickerId);}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/5771f31ec158684707569c976e5a8d78ce9737f1/am-copies.js/clean/mailnews/base/prefs/resources/content/am-copies.js