rem: rdf = Components.classes["component: 
add: rdf = Components.classes["@mozilla.org/rdf/rdf-service;1"].getService(); 
context: function GetSelectedAddresses(){	var item, uri, rdf, cardResource, card;	var selectedAddresses = "";		rdf = Components.classes["component://netscape/rdf/rdf-service"].getService();	rdf = rdf.QueryInterface(Components.interfaces.nsIRDFService);	if ( resultsTree.selectedItems && resultsTree.selectedItems.length )	{		for ( item = 0; item < resultsTree.selectedItems.length; item++ )		{			uri = resultsTree.selectedItems[item].getAttribute('id');			cardResource = rdf.GetResource(uri);			card = cardResource.QueryInterface(Components.interfaces.nsIAbCard);			if ( selectedAddresses )				selectedAddresses += ",";			selectedAddresses += "\"" + card.displayName + "\" <" + card.primaryEmail + ">";		}	}	return selectedAddresses;	}
meta: 5459	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5459/0257791053c2b38e1dfaf2ee11afae973e82e394/abCommon.js/buggy/mailnews/addrbook/resources/content/abCommon.js