rem: if (!hideFor || hideFor == "") { dump("this should not happen, things that are hidable should have hidefor set\n"); continue; } 
add: if (!hideFor) throw "this should not happen, things that are hidable should have hidefor set"; 
context: function hideShowControls(serverType){    var controls = document.getElementsByAttribute("hidable", "true");    var len = controls.length;    for (var i=0; i<len; i++) {        var control = controls[i];        var hideFor = control.getAttribute("hidefor");        if (!hideFor || hideFor == "") {            dump("this should not happen, things that are hidable should have hidefor set\n");            continue;        }        var box = getEnclosingContainer(control);        if (!box) {            dump("this should not happen, things that are hidable should be in a box\n");            continue;        }        // hide unsupported server type        // adding support for hiding multiple server types using hideFor="server1,server2"        var hideForBool = false;        var hideForTokens = hideFor.split(",");        for (var j = 0; j < hideForTokens.length; j++) {            if (hideForTokens[j] == serverType) {                hideForBool = true;                break;            }        }        if (hideForBool) {            box.setAttribute("hidden", "true");        }        else {            box.removeAttribute("hidden");        }    }}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/931a37c94509c67493cd650a687adbf3be9a4446/am-server.js/buggy/mailnews/base/prefs/resources/content/am-server.js