<!-- 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 class=twelve><tr><td width=21%><a href="index.php"><img name="index_r1_c4" src="images/index_r1_c4.jpg" width="282" height="68" border="0" alt=""></a></td><td width=9%></td><td width=70% valign="top"><div align="right"><img name=index_r1_c7 src=images/spacer.gif width=1 height=1 border=0><span class=PageTitle>Howland, Hess, Guinan, Torpey, & Cassidy LLP</span><br>2444 Huntingdon Pike<br>Huntingdon Valley, PA 19006<br>Phone: 215-947-6240</div></td></tr></table><br>\n';
		
		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</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.");
	}
}
