rem: var selArray = resultsTree.getElementsByAttribute('selected', 'true'); 
context: function EditCard(){	var rdf = Components.classes["component://netscape/rdf/rdf-service"].getService();	rdf = rdf.QueryInterface(Components.interfaces.nsIRDFService);	var resultsTree = document.getElementById('resultsTree');	var selArray = resultsTree.getElementsByAttribute('selected', 'true');	if ( selArray && selArray.length == 1 )	{		var uri = selArray[0].getAttribute('id');		var card = rdf.GetResource(uri);		card = card.QueryInterface(Components.interfaces.nsIAbCard);		AbEditCardDialog(card, UpdateCardView);	}}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/c8e44cb267df44e5d410235a9945f567d0c78080/abCommon.js/buggy/mailnews/addrbook/resources/content/abCommon.js