var gAutoPrint = false; 
// Flag for whether or not to automatically call the print function
function printSpecial()

{
if (document.getElementById != null)
{
/*var html = '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\n<html xmlns="http://www.w3.org/1999/xhtml">\n<HTML>\n<HEAD>\n';

html += '\n<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>\n<link rel="stylesheet" href="/assets/templates/edsource/css/print.css" type="text/css"/>\n</HE' + 'AD>\n\n<BODY><img src="/assets/templates/edsource/i/logo.png" />\n';

*/

var html = '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">' +
'<html xmlns="http://www.w3.org/1999/xhtml">' +
'<head>' +
'<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />' +
'<META HTTP-EQUIV="EXPIRES" CONTENT="Mon, 22 Jul 2002 11:12:01 GMT">' +
'<META HTTP-EQUIV="CACHE-CONTROL" CONTENT="NO-CACHE">' +
'<title>ohlone</title>' +
'<style type="text/css">' +
'	@import url(globalReset.css); ' +
'	@import url(global.css); ' +
'	#print-email, #commentsAnchor {' +
'		display: none' +
'	}' +
'</style>' +
'<!--[if lte IE 6]>' +
'<link rel="stylesheet" media="all" type="text/css" href="global-ie6.css" />' +
'<![endif]-->' +
'<link rel="stylesheet" type="text/css" href="/assets/snippets/jot/templates/jot.css" />' +
'</head>' +
'<body style="background: #ffffff">' +
'			<div id="content_sub" class="three_col clearfix">';
			
			
if (document.getElementById("content_sub"))
	var printReadyElem = document.getElementById("content_sub");
else
	var printReadyElem = document.getElementById("content");





if (printReadyElem != null)
{
html += printReadyElem.innerHTML+'<script type="text/javascript" language="javascript">window.print();</script>';
}
else
{
alert("Could not find the printReady section in the HTML");
return;
}

html += '\n</div></BO' + 'DY>\n</HT' + 'ML>';

var printWin = window.open("","content","height=500,width=510,scrollbars=1");
printWin.document.open();
printWin.document.write(html);
printWin.document.close();


if (gAutoPrint)
printWin.print();
}
else
{
alert("Sorry, the print ready feature is only available in modern browsers.");
}


}