rem: function loadEngines( aCategory ) 
add: function loadEngines(aCategory) 
context: function loadEngines( aCategory ){    var rdf = Components.classes[RDFSERVICE_CONTRACTID].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 treeitemNode = engineBox.childNodes[x];                    var engineURI = treeitemNode.getAttribute("id");                    var engineSRC = rdf.GetResource( engineURI, true );                    var checkboxNode = treeitemNode.firstChild.firstChild.firstChild;                    if (!checkboxNode) continue;                    var hasAssertion = localStore.HasAssertion( categorySRC, checkedProperty, engineSRC, true );                    if (hasAssertion)                    {                        checkboxNode.checked = true;                    }                }            }        }    }}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/c837d8cd69e2d1c5d2619fe01ec4c3979b2e5f7e/search-panel.js/buggy/suite/common/search/search-panel.js