rem: if (disableMode) { selectAccountRadioElem.setAttribute("disabled","true"); selectFolderRadioElem.setAttribute("disabled","true"); } else { selectAccountRadioElem.removeAttribute("disabled"); selectFolderRadioElem.removeAttribute("disabled"); } 
context: function SetFolderDisplay(pickerMode, disableMode,                          radioElemPrefix,                           accountPickerId,                           folderPickedField,                           folderPickerId){    if (!pickerMode)        pickerMode = gDefaultPickerMode;    var selectAccountRadioId = radioElemPrefix + "_selectAccount";    var selectAccountRadioElem = document.getElementById(selectAccountRadioId);    var selectFolderRadioId = radioElemPrefix + "_selectFolder";    var selectFolderRadioElem = document.getElementById(selectFolderRadioId);    var rg = selectAccountRadioElem.radioGroup;    switch (pickerMode)     {        case "0" :            rg.selectedItem = selectAccountRadioElem;            if (disableMode) {              selectAccountRadioElem.setAttribute("disabled","true");              selectFolderRadioElem.setAttribute("disabled","true");            } else {              selectAccountRadioElem.removeAttribute("disabled");              selectFolderRadioElem.removeAttribute("disabled");            }            var folderPickedElement = document.getElementById(folderPickedField);            var uri = folderPickedElement.getAttribute("value");            // Get message folder from the given uri. Second argument (false) siginifies            // that there is no need to check for the existence of special folders as             // these folders are created on demand at runtime in case of imap accounts.            // For POP3 accounts, special folders are created at the account creation time.            var msgFolder = GetMsgFolderFromUri(uri, false);            SetFolderPicker(msgFolder.server.serverURI, accountPickerId);            SetPickerEnabling(accountPickerId, folderPickerId);            break;        case "1"  :            rg.selectedItem = selectFolderRadioElem;            if (disableMode) {              selectAccountRadioElem.setAttribute("disabled","true");              selectFolderRadioElem.setAttribute("disabled","true");            } else {              selectAccountRadioElem.removeAttribute("disabled");              selectFolderRadioElem.removeAttribute("disabled");            }		    	            InitFolderDisplay(folderPickedField, folderPickerId);            SetPickerEnabling(folderPickerId, accountPickerId);            break;        default :            dump("Error in setting initial folder display on pickers\n");            break;    }}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/5b9ab3f0a4933f47f37d7aef4a0fa88f976350aa/am-copies.js/buggy/mailnews/base/prefs/resources/content/am-copies.js