rem: controls["imap.dualUseFolders"].value = imapServer.dualUseFolders; controls["imap.usingSubscription"].value = imapServer.usingSubscription; 
add: document.getElementById("imap.dualUseFolders").value = imapServer.dualUseFolders; document.getElementById("imap.usingSubscription").value = imapServer.usingSubscription; 
context: function saveServerLocally(imapServer){    var controls = document.controls;    // boolean prefs, JS does the conversion for us    controls["imap.dualUseFolders"].value = imapServer.dualUseFolders;    controls["imap.usingSubscription"].value = imapServer.usingSubscription;    // string prefs    controls["imap.personalNamespace"].value = imapServer.personalNamespace;    controls["imap.publicNamespace"].value = imapServer.publicNamespace;    controls["imap.serverDirectory"].value = imapServer.serverDirectory;    controls["imap.otherUsersNamespace"].value = imapServer.otherUsersNamespace;}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/f36320943b6659793b1c7f212582fc8c5f58b3c9/am-server.js/clean/mailnews/base/prefs/resources/content/am-server.js