rem: var prefs = Components.classes["component: 
add: var prefs = Components.classes["@mozilla.org/preferences;1"]; 
context: function InitEditCard(){	// create editCard object that contains global variables for editCard.js	editCard = new Object;		// get pointer to nsIPref object	var prefs = Components.classes["component://netscape/preferences"];	if ( prefs )	{		prefs = prefs.getService();		if ( prefs )		{			prefs = prefs.QueryInterface(Components.interfaces.nsIPref);			editCard.prefs = prefs;		}	}				// get specific prefs that editCard will need	if ( prefs )	{		try {			editCard.displayLastNameFirst = prefs.GetBoolPref("mail.addr_book.displayName.lastnamefirst");			editCard.generateDisplayName = prefs.GetBoolPref("mail.addr_book.displayName.autoGeneration");			editCard.lastFirstSeparator = ", ";			editCard.firstLastSeparator = " ";		}		catch (ex) {			dump("failed to get pref\n");		}	}}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/6cc70ebd6c97bd0b2fe48c31f579e855387ced9d/abCardOverlay.js/clean/mailnews/addrbook/resources/content/abCardOverlay.js