rem: top.addressbook = Components.classes["component: 
add: top.addressbook = Components.classes["@mozilla.org/addressbook;1"].createInstance(); 
context: function OnLoadAddressBook(){	verifyAccounts(); 	// this will do migration, if we need to.	top.addressbook = Components.classes["component://netscape/addressbook"].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);}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/6cc70ebd6c97bd0b2fe48c31f579e855387ced9d/addressbook.js/buggy/mailnews/addrbook/resources/content/addressbook.js