<!-- This script may be freely distributed. -->
<!-- as long as these headers are left in place. -->

<!-- Momp's Web Design -->
<!-- http://www.mompswebdesign.com -->

var gAutoPrint = true; // Flag for whether or not to automatically call the print function

function printFriendly()
{
	if (document.getElementById != null)
	{
		var html = '<HTML>\n<HEAD><link href=Style.css rel=stylesheet media=all type=text/css>\n';

		if (document.getElementsByTagName != null)
		{
			var headTags = document.getElementsByTagName("head");
			if (headTags.length > 0)
				html += headTags[0].innerHTML;
		}
		
		html += '\n</HE' + 'AD>\n<BODY><table width=100% border=0 cellpadding=0 cellspacing=0><tr><td align="left" valign=top><a href="index.php"><img src="images/print_logo.jpg" width="205" height="73" border="0"></a></td><td align="right" valign=top><img src="images/print_address1.jpg" width="205" height="73"></td><td width="204" align="right" valign=top><img src="images/print_address2.jpg" width="204" height="73"></td></tr></table><p><div id="printFriendly"><span class="eleven">\n';
		
		var printPageElem2 = document.getElementById("printFriendlyTitle");

				html += printPageElem2.innerHTML;

		
		var printPageElem = document.getElementById("printFriendly");
		
		if (printPageElem != null)
		{
				html += printPageElem.innerHTML;
		}
		else
		{
			alert("Could not find the printFriendly section in the HTML");
			return;
		}
			
		html += '\n</span></div></BO' + 'DY>\n</HT' + 'ML>';
		
		var printWin = window.open("","printFriendly");
		printWin.document.open();
		printWin.document.write(html);
		printWin.document.close();
		if (gAutoPrint)
			printWin.print();
	}
	else
	{
		alert("Sorry, the printer friendly feature works\nonly in javascript enabled browsers.");
	}
}
