rem: imapServer.dualUseFolders = (controls["imap.dualUseFolders"].value == "true" ? true : false); imapServer.usingSubscription = (controls["imap.usingSubscription"].value == "true" ? true : false); 
add: imapServer.dualUseFolders = (document.getElementById("imap.dualUseFolders").value == "true" ? true : false); imapServer.usingSubscription = (document.getElementById("imap.usingSubscription").value == "true" ? true : false); 
context: function getImapServer() {    var imapServer = new Array;    var controls = document.controls;    // boolean prefs, need to do special convertion        imapServer.dualUseFolders = (controls["imap.dualUseFolders"].value == "true" ? true : false);    imapServer.usingSubscription = (controls["imap.usingSubscription"].value == "true" ? true : false);    // string prefs    imapServer.personalNamespace = controls["imap.personalNamespace"].value;    imapServer.publicNamespace = controls["imap.publicNamespace"].value;    imapServer.serverDirectory = controls["imap.serverDirectory"].value;    imapServer.otherUsersNamespace = controls["imap.otherUsersNamespace"].value;    return imapServer;}
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