<!-- 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>\n';

		if (document.getElementsByTagName != null)
		{
			var headTags = document.getElementsByTagName("head");
			if (headTags.length > 0)
				html += headTags[0].innerHTML;
		}
		
		html += '\n<style type="text/css">.body2 { background-color: #FFFFFF; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; } table { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; line-height: 18px; } </style></HE' + 'AD>\n<BODY bgcolor="#FFFFFF"><table width=100% border=0 cellpadding=0 cellspacing=0 class="body2"><tr><td width="20" rowspan="3" valign="top">&nbsp;</td><td height="20" colspan="3" valign="top">&nbsp;</td><td width="20" rowspan="3" valign=top>&nbsp;</td></tr><tr><td colspan="3" valign="top"><table width=100% border=0 cellpadding=0 cellspacing=0 class="body2"><tr><td width=269 valign="top"><a href=index.php><img src=i/logo.gif width=269 height=87 border=0></a></td><td valign=top><div align=right><p><font face=Verdana, arial, helvetica, sans-serif size=2><strong>Cohen Seglias Pallas Greenhall & Furman PC</strong><br>www.cohenseglias.com</font></p></div></td></tr></table></td></tr><tr><td colspan="3" valign="top"></td></tr><tr><td valign="top">&nbsp;</td><td width="200" valign="top"></td><td width="15" valign="top"></td><td valign="top"></td><td valign=top>&nbsp;</td></tr><tr><td valign="top">&nbsp;</td><td valign="top"><p>&nbsp;</p>\n';
		
		var printPageElem = document.getElementById("printFriendly2");
		
		if (printPageElem != null)
		{
				html += printPageElem.innerHTML;
		}
		else
		{
			alert("Could not find the printFriendly2 section in the HTML");
			return;
		}		
		
		html += '<p>';
		
		var printPageElem = document.getElementById("printFriendly3");
		
		if (printPageElem != null)
		{
				html += printPageElem.innerHTML;
		}
		else
		{
			alert("Could not find the printFriendly3 section in the HTML");
			return;
		}
		
		html += '</td><td valign="top"></td><td valign="top">';
		
		
		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</td><td valign=top>&nbsp;</td></tr></table></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.");
	}
}
