rem: if (!gPrintSettings) { 
add: if (!gPrintSettings) { 
context: function AbPrintCardInternal(doPrintPreview, msgType){  var selectedItems = GetSelectedAbCards();  var numSelected = selectedItems.length;  if (!numSelected)    return;  var addressbook = Components.classes["@mozilla.org/addressbook;1"].createInstance(Components.interfaces.nsIAddressBook);  var uri = GetSelectedDirectory();  if (!uri)    return;	var statusFeedback;	statusFeedback = Components.classes["@mozilla.org/messenger/statusfeedback;1"].createInstance();	statusFeedback = statusFeedback.QueryInterface(Components.interfaces.nsIMsgStatusFeedback);	var selectionArray = new Array(numSelected);	var totalCard = 0;	for(var i = 0; i < numSelected; i++)	{		var card = selectedItems[i];    var printCardUrl = CreatePrintCardUrl(card);		if (printCardUrl)		{			selectionArray[totalCard++] = printCardUrl;		}	}  if (!gPrintSettings) {    gPrintSettings = GetPrintSettings();  }	printEngineWindow = window.openDialog("chrome://messenger/content/msgPrintEngine.xul",										"",										"chrome,dialog=no,all",										totalCard, selectionArray, statusFeedback,                     gPrintSettings, doPrintPreview, msgType);	return;}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/3179842055afc433f0a4b71dba10bda952eca5d9/addressbook.js/buggy/mailnews/addrbook/resources/content/addressbook.js