rem:   var msgNavigationService = Components.classes['@mozilla.org/messenger/msgviewnavigationservice;1'].getService(); msgNavigationService= msgNavigationService.QueryInterface(Components.interfaces.nsIMsgViewNavigationService);  msgNavigationService.EnsureDocumentIsLoaded(document); 
add:   var msgNavigationService = omponents.classes["@mozilla.org/messenger/msgviewnavigationservice;1"].getService(); msgNavigationService= msgNavigationService.QueryInterface(Components.interfaces.nsIMsgViewNavigationService); msgNavigationService.EnsureDocumentIsLoaded(document); 
context: function WaitUntilDocumentIsLoaded(){	// FIX ME - we should really have this function available in a global place that does not	// require that we have access to mailnews code (msgNavigationService) from address book.	var msgNavigationService = Components.classes['@mozilla.org/messenger/msgviewnavigationservice;1'].getService();	msgNavigationService= msgNavigationService.QueryInterface(Components.interfaces.nsIMsgViewNavigationService);	msgNavigationService.EnsureDocumentIsLoaded(document);}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/0bae2ed72e9748283256fed72e6330994a6cb0fd/abCommon.js/buggy/mailnews/addrbook/resources/content/abCommon.js