rem: var formElement = document.getElementById(folderPickerModeId); 
add: formElement = document.getElementById(folderPickerModeId); 
context: function SaveFolderSettings(radioElemChoice,                             radioGroupId,                            folderSuffix,                            accountPickerId,                            folderPickerId,                            folderElementId,                            folderPickerModeId){    switch (radioElemChoice)     {        case "0" :            var picker = document.getElementById(accountPickerId);            var uri = picker.getAttribute("uri");            if (uri) {                // Create  Folder URI                uri = uri + folderSuffix;                var formElement = document.getElementById(folderElementId);                formElement.setAttribute("value",uri);            }            break;        case "1" :             var picker = document.getElementById(folderPickerId);            var uri = picker.getAttribute("uri");            if (uri) {                SaveUriFromPicker(folderElementId, folderPickerId);            }            break;        default :            dump ("Error saving folder preferences.\n");            return;    }    var formElement = document.getElementById(folderPickerModeId);    formElement.setAttribute("value", radioElemChoice);}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/a0cf394eea7a242c9992da625c92fb694a50a4bf/am-copies.js/buggy/mailnews/base/prefs/resources/content/am-copies.js