rem: if (val) { if (controls[i].tagName.toLowerCase() == "checkbox") { controls[i].checked = val; } else controls[i].value = val; } 
add: if (controls[i].tagName.toLowerCase() == "checkbox") controls[i].checked = val; else controls[i].value = val; 
context: function onLoad(){    var controls = getControls();    for (var i=0; i<controls.length; i++) {        var slot = controls[i].id;        var val = server[slot];        if (val) {            if (controls[i].tagName.toLowerCase() == "checkbox") {                controls[i].checked = val;            }            else                controls[i].value = val;        }    }    doSetOKCancel(onOk, 0);}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/54577fdeebcb9e8dda00cf9bbe2335f6e450f95a/am-imap-advanced.js/clean/mailnews/base/prefs/resources/content/am-imap-advanced.js