

var gAutoPrint = true; // Tells whether to automatically call the print function



function printSpecial()

{

if (document.getElementById != null)

{

var html = '<HTML>\n<HEAD>\n';

html += '';



html += '\n<link href="style_01.css" rel="stylesheet" type="text/css"></HEAD>\n<BODY STYLE="background-color: rgb(255,255,255); background-image: none;"><table width="98%" border="0" align="center" cellpadding="0" cellspacing="0" id="text"><tr><td><table width="100%" border="0" cellspacing="0" cellpadding="0"><tr><td valign="top" height="100"><a href="index.php"><img src="images/logo-print.jpg" width="275" height="79" border="0" /></a></td><td align="right" valign="top"><table border="0" cellspacing="0" cellpadding="0" style="font-size:13px"><tr><td><div align="right"><strong>Curtin &amp; Heefner LLP</strong><br>Main Office: Morrisville, PA - 215.736.2521<br>Doylestown, PA - 267.898.0570<br>Lawrenceville, NJ - 609.394.6500<br>www.curtinheefner.com</div></td></tr></table></td></tr></table></td></tr><tr><td bgcolor="#000000"><img src="images/color_bar2.gif" width="600" height="5"></td></tr><tr><td width="100%">&nbsp;</td></tr><tr><td valign="top">\n';

		

		var printPageElem = document.getElementById("printReady2");

		

		if (printPageElem != null)

		{

				html += printPageElem.innerHTML;

		}

		else

		{

			alert("Could not find the printReady2 section in the HTML");

			return;

		}		

		

		html += '<p>';

		

		

		var printPageElem = document.getElementById("printReady");

		

		if (printPageElem != null)

		{

				html += printPageElem.innerHTML;

		}

		else

		{

			alert("Could not find the printReady section in the HTML");

			return;

		}



html += '\n</td></tr></table></BODY>\n</HTML>';



var printWin = window.open("","printSpecial");

printWin.document.open();

printWin.document.write(html);

printWin.document.close();

if (gAutoPrint)

printWin.print();

}

else

{

alert("The print ready feature is only available if you are using an browser. Please update your browswer.");

}

}


