// Print-only file Document JavaScriptif (global.jrd_Counter001 == null)	{	global.jrd_Counter001 = 3	global.setPersistent("jrd_Counter001", true)}else	global.jrd_Counter001--var localCount = global.jrd_Counter001if (localCount > 0)	{	var s = "Please note that this is a \"Print-only\" document.\n\n"	s = s + "What this means is that it will open only a limited number of times, "	s = s + "during which you are expected to print the document for your own use. "	s = s + "After that, the document will become unuseable.\n\n"		switch(localCount)	{		case 2:			s = s + "You may open this document 1 more time after this."			break		case 1:			s = s + "This is the last time you can open this file usefully."			break		default:			s = s + "You may open this document " + (localCount - 1) + " more times."			break	}		app.alert({ cTitle: "Print-Only Document",				cMsg: s,				nIcon: 1			  })}else	{	app.alert({	cTitle: "Document Expired",				cMsg: "This print-only document has expired.",				cIcon: 0			 })	for (i = 0; i < this.numPages; i++)	{		this.addAnnot({			page: i,			type: "FreeText",			rect: [ 0, 0, 612, 730 ],			alignment: 1,			contents: " ",			fillColor: color.white,			textSize: 30,			width: 0,			readOnly: true		})	}		this.flattenPages()}