rem: var localName = node.localName.toLowerCase(); if (localName == "input" || localName == "label") { if (enabled) node.setAttribute("disabled", "true"); else node.removeAttribute("disabled"); }  var child = node.firstChild(); 
add: if (!container) return; var child = container.firstChild; 
context: function enableControls(node, enabled){    var localName = node.localName.toLowerCase();    if (localName == "input" || localName == "label") {        if (enabled)            node.setAttribute("disabled", "true");        else            node.removeAttribute("disabled");    }    var child = node.firstChild();    while (child) {        enableIspButtons(child, enabled);        child = child.nextSibling;    }}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/3eb2816421d29acd8c9206b4c79ee75e0d55f83d/aw-accounttype.js/buggy/mailnews/base/prefs/resources/content/aw-accounttype.js