rem: (elements[i].nodeName == "checkbox") || 
context: function ClearAll(){    /* clear out all data */    var elements = this.opener.document.getElementsByAttribute("id", "*");    for (var i=0; i < elements.length; i++) {      if ((elements[i].nodeName == "textbox") ||          (elements[i].nodeName == "radiogroup") ||          (elements[i].nodeName == "checkbox") ||          (elements[i].id == "RootKey1") ||          (elements[i].id == "Type1")) {        if ((elements[i].id != "saveOnExit") && (elements[i].id != "zipLocation")) {          elements[i].value = "";        }      } else if (elements[i].id == "prefList") {        listbox = this.opener.document.getElementById('prefList');            var children = listbox.childNodes;        for (var j = children.length; j > 0; j--)        {           listbox.removeChild(children[j-1]);        }      } else if (elements[i].id == "regList") {        listbox = this.opener.document.getElementById('regList');            var children = listbox.childNodes;        for (var j = children.length; j > 0; j--)        {           listbox.removeChild(children[j-1]);        }      } else if (elements[i].id == "searchPluginList") {        listbox = this.opener.document.getElementById('searchPluginList');            var children = listbox.childNodes;        for (var j = children.length; j > 0; j--)        {           listbox.removeChild(children[j-1]);        }      }    } }
meta: 5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/a754054802bad5b1a8a3244dff628c02ab19309d/cckwizard.js/buggy/extensions/cck/browser/resources/content/cckwizard/cckwizard.js