rem: if (top.fieldMap == null) return;   var body = document.getElementById("fieldBody"); var count = top.fieldMap.numMozFields; for (i = 0; i < count; i++) { AddFieldToList( body, top.fieldMap.GetFieldDescription( i), i); }  body = document.getElementById("exportBody"); count = top.fieldMap.mapSize; var index; for (i = 0; i < count; i++) { index = top.fieldMap.GetFieldMap( i); AddFieldToList( body, top.fieldMap.GetFieldDescription( index), index); } 
add: if (top.fieldMap == null) return;   var body = document.getElementById("fieldBody"); var count = top.fieldMap.numMozFields; for (i = 0; i < count; i++) { AddFieldToList( body, top.fieldMap.GetFieldDescription( i), i); }  body = document.getElementById("exportBody"); count = top.fieldMap.mapSize; var index; for (i = 0; i < count; i++) { index = top.fieldMap.GetFieldMap( i); AddFieldToList( body, top.fieldMap.GetFieldDescription( index), index); } 
context: function ListFields() {	if (top.fieldMap == null)		return;		// we should fill in the field list with the data from the field map?		var body = document.getElementById("fieldBody");	var count = top.fieldMap.numMozFields;	for (i = 0; i < count; i++) {		AddFieldToList( body, top.fieldMap.GetFieldDescription( i), i);	}		body = document.getElementById("exportBody");	count = top.fieldMap.mapSize;	var index;	for (i = 0; i < count; i++) {		index = top.fieldMap.GetFieldMap( i);		AddFieldToList( body, top.fieldMap.GetFieldDescription( index), index);	}}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/0b2dd2b2d2fd037df917e07645fa019a963332a5/fieldMapExport.js/buggy/mailnews/import/resources/content/fieldMapExport.js