rem:  OnLoadCardView(); 
add: UpgradeAddressBookResultsPaneUI("mailnews.ui.addressbook_results.version");  GetCurrentPrefs();  AddPrefObservers();   OnLoadCardView(); 
context: function OnLoadAddressBook(){	gAddressBookBundle = document.getElementById("bundle_addressBook");	verifyAccounts(null); 	// this will do migration, if we need to.	top.addressbook = Components.classes["@mozilla.org/addressbook;1"].createInstance();	top.addressbook = top.addressbook.QueryInterface(Components.interfaces.nsIAddressBook);	top.gUpdateCardView = UpdateCardView;	InitCommonJS();	GetCurrentPrefs();	// FIX ME - later we will be able to use onload from the overlay	OnLoadCardView();		try {		top.addressbook.setWebShellWindow(window)	}	catch (ex) {		dump("failed to set webshell window\n");	}	SetupCommandUpdateHandlers();	//workaround - add setTimeout to make sure dynamic overlays get loaded first	setTimeout('SelectFirstAddressBook()',0);	try	{		var dataSource = top.rdf.GetDataSource("rdf:addressdirectory");		dataSource.AddObserver (addressBookObserver);	}	catch (ex)	{		dump(ex + "\n");		dump("Error adding to RDF datasource\n");	}}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/d08d4d3f9753b01573c0820f3dc3010c62295d11/addressbook.js/buggy/mailnews/addrbook/resources/content/addressbook.js