<!-- 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="http://www.caryloberman.com/wp-content/themes/oberman/Style-print.css" rel="stylesheet" type="text/css">\n';
		
		html += '\n</HE' + 'AD>\n<BODY bgcolor="#FFFFFF"><table width=100% border=0 cellpadding=0 cellspacing=0 class=eleven><tr><td width=250 valign="top"><a href=index.php><img src=http://www.caryloberman.com/wp-content/themes/oberman/images/logo.png width=434 height=95 border=0></a></td><td valign=top><div align="right">The Law Offices of Caryl Andrea Oberman<br>Grove Summit Office Park<br>607A North Easton Road<br>Willow Grove, PA 19090<br>P (215) 830-5025 | F (215) 830-5027</div></td></tr><tr><td valign="top">&nbsp;</td><td valign=top>&nbsp;</td></tr><tr><td colspan="2" valign="top"><table border="0" cellpadding="0" cellspacing="0" width="100%" class="eleven"><tr><td width="76%" valign="top"><div id="printFriendly">\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 += '</td><td width="2%"><img name="index_r9_c15" src="images/spacer.gif" width="1" height="1" border="0" alt=""></td><td width="2" bgcolor="#e7e2d3" style="width:2px"><img name="index_r9_c16" src="images/spacer.gif" width="1" height="1" border="0" alt=""></td><td width="2%"><img name="index_r9_c16" src="images/spacer.gif" width="1" height="1" border="0" alt=""></td><td width="20%" valign="top"><table width="200" border="0" cellpadding="0" cellspacing="0" class="eleven"><tr><td width="200" height="7">';
        
        var printPageElem = document.getElementById("printFriendly2");
		
		if (printPageElem != null)
		{
				html += printPageElem.innerHTML;
		}
		else
		{
			alert("Could not find the printFriendly2 section in the HTML");
			return;
		}
        
        html += '\n</td></tr></table></td></tr></table></td></tr><tr><td valign="top">&nbsp;</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.");
	}
}

