rem: top.importService = Components.classes["component: 
add: top.importService = Components.classes["@mozilla.org/import/import-service;1"].getService(); 
context: function OnLoadImportDialog(){	top.bundle = srGetStrBundle("chrome://messenger/locale/importMsgs.properties");	top.importService = Components.classes["component://mozilla/import/import-service"].getService();	top.importService = top.importService.QueryInterface(Components.interfaces.nsIImportService);		top.progressInfo = new Object();	top.progressInfo.progressWindow = null;	top.progressInfo.importInterface = null;	top.progressInfo.mainWindow = top.window;	top.progressInfo.intervalState = 0;	top.progressInfo.importSuccess = false;	top.progressInfo.importType = null;	// look in arguments[0] for parameters	if (window.arguments && window.arguments[0] && window.arguments.importType)	{		// keep parameters in global for later		top.importType = window.arguments[0].importType;		top.progressInfo.importType = top.importType;	}	else	{		top.importType = "addressbook";		top.progressInfo.importType = "addressbook";	}		SetUpImportType();	}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/6cc70ebd6c97bd0b2fe48c31f579e855387ced9d/importDialog.js/buggy/mailnews/import/resources/content/importDialog.js