// JavaScript Document
var gAutoPrint = false; // Flag for whether or not to automatically call the print function

function printSpecial()
{
	if (document.getElementById != null)
	{
		var html = '<HTML>\n<HEAD>\n<LINK href=/css/print.css rel=stylesheet type=text/css>\n';
		
		html += '\n</HE' + 'AD>\n<BODY>\n';
		
		html += '<H1>Enterprise Agreement Negotiations</H1>\n';
		
		var h1tag = document.getElementById("body-copy");
		
		if (h1tag != null)
		{
				html += h1tag.innerHTML;
		}
		else
		{
			alert("Could not find anything to print.");
			return;
		}
		
		html += '\n<IMG src=/images/print_ntg_logo.gif>\n';
		html += '\n</BO' + 'DY>\n</HT' + 'ML>';
		
		var printWin = window.open("","printSpecial");
		// printWin.document.write("<h1>Enterprise Agreement Negotiations</h1>");
		printWin.document.write(html);
		//printWin.document.write("<img src=/images/print_ntg_logo.gif>");
		if (gAutoPrint)
			printWin.print();
	}
	else
	{
		alert("Sorry, the print ready feature is only available in modern browsers.");
	}
}