rem: var engineBox = document.getElementById("engineKids");; 
add: var engineBox = document.getElementById("engineKids"); 
context: function loadEngines( aCategory ){    var rdf = Components.classes[RDFSERVICE_PROGID].getService(nsIRDFService);    if (rdf)    {        var localStore = rdf.GetDataSource("rdf:local-store");        if (localStore)        {            var engineBox = document.getElementById("engineKids");;            if( engineBox )            {                var numEngines = engineBox.childNodes.length;                var checkedProperty = rdf.GetResource("http://home.netscape.com/NC-rdf#checked", true);                var categorySRC = rdf.GetResource( aCategory, true );                for (var x = 0; x<numEngines; x++)                {                  var checkbox = engineBox.childNodes[x].firstChild.firstChild.firstChild;                  if (!checkbox) continue;                  var engineSRC = rdf.GetResource( checkbox.id, true );                  var hasAssertion = localStore.HasAssertion( categorySRC, checkedProperty, engineSRC, true );                  if (hasAssertion)                    checkbox.checked = true;                }            }        }    }}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/f35042debfeb638e916315465f0e57a709bb3c36/search-panel.js/buggy/xpfe/components/search/resources/search-panel.js