rem: var rdf = Components.classes["component: 
add: var rdf = Components.classes["@mozilla.org/rdf/rdf-service;1"].getService(); 
context: function GetFileURL(node){    var url = node.getAttribute('id');    // Ignore "NC:" urls.    if (url.substring(0, 3) == "NC:")    {        return(false);    }	try	{		// add support for IE favorites under Win32, and NetPositive URLs under BeOS		if (url.indexOf("file://") == 0)		{			var rdf = Components.classes["component://netscape/rdf/rdf-service"].getService();			if (rdf)   rdf = rdf.QueryInterface(Components.interfaces.nsIRDFService);			if (rdf)			{				var fileSys = rdf.GetDataSource("rdf:files");				if (fileSys)				{					var src = rdf.GetResource(url, true);					var prop = rdf.GetResource("http://home.netscape.com/NC-rdf#URL", true);					var target = fileSys.GetTarget(src, prop, true);					if (target)	target = target.QueryInterface(Components.interfaces.nsIRDFLiteral);					if (target)	target = target.Value;					if (target)	url = target;									}			}		}	}	catch(ex)	{	}    return url;}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/6cc70ebd6c97bd0b2fe48c31f579e855387ced9d/sb-file-panel.js/clean/editor/ui/composer/content/sb-file-panel.js