rem: ListFields(); OnNextRecord(); 
add:   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(); 
context: function OnLoadFieldMapImport(){	top.importService = Components.classes["@mozilla.org/import/import-service;1"].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: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/0b2dd2b2d2fd037df917e07645fa019a963332a5/fieldMapImport.js/clean/mailnews/import/resources/content/fieldMapImport.js