rem: top.importService = Components.classes["component: 
add: top.importService = Components.classes["@mozilla.org/import/import-service;1"].getService(); 
context: function OnLoadFieldMapImport(){	// 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.transferType = "moz/fieldmap";	top.recordNum = 0;		// We need a field map object...	// assume we have one passed in? or just make one?	if (window.arguments && window.arguments[0]) {		top.fieldMap = window.arguments[0].fieldMap;		top.addInterface = window.arguments[0].addInterface;		top.dialogResult = window.arguments[0].result;	}	if (top.fieldMap == null) {		top.fieldMap = top.importService.CreateNewFieldMap();			top.fieldMap.DefaultFieldMap( top.fieldMap.numMozFields);	}		doSetOKCancel( FieldImportOKButton, 0);	ListFields();	OnNextRecord();}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/6cc70ebd6c97bd0b2fe48c31f579e855387ced9d/fieldMapImport.js/buggy/mailnews/import/resources/content/fieldMapImport.js