rem: var ds = document.getElementById("Tree").database; 
add: var ds = document.getElementById("resultList").database; 
context: function getArcValueForID(aArc, aID){  var val = null;  try  {    var ds = document.getElementById("Tree").database;    if (ds)    {      var rdf = Components.classes[RDFSERVICE_CONTRACTID].                  getService(nsIRDFService);      var src = rdf.GetResource(aID, true);      var prop = rdf.GetResource(                  "http://home.netscape.com/NC-rdf#"+aArc, true);      val = ds.GetTarget(src, prop, true);              if (val)        val = val.QueryInterface(nsIRDFLiteral).Value;    }  }   catch (ex)  {    dump("Exception: no value for " + aArc + "!\t" + ex + "\n");    val = null;  }  return val;}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/a376ddc0531725ad80728692bef9c8ab8b17636c/search-panel.js/buggy/suite/common/search/search-panel.js