

var neww_printSystem;

function script_popUp_printSystem(url)
{
	neww_printSystem = window.open(url,'printSystemWindow','height=640,width=640,scrollbars=yes,menubar=yes,toolbar=no');
	if (window.focus)
	{
		neww_printSystem.focus();
	}
}



function script_printSystemPageContant()
{

	script_popUp_printSystem("");

	neww_printSystem.document.write('<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">');
	neww_printSystem.document.write('<html>');
	neww_printSystem.document.write('<head>');
	neww_printSystem.document.write('<title>');

	neww_printSystem.document.write(
		window.document.title
		);

	neww_printSystem.document.write('</title>');
	neww_printSystem.document.write('<meta http-equiv="content-type" content="text/html; charset=UTF-8">');
	neww_printSystem.document.write('<meta http-equiv="content-style-type" content="text/css">');
	neww_printSystem.document.write('</head>');
	neww_printSystem.document.write('<style>');
	neww_printSystem.document.write('body,td {');
	neww_printSystem.document.write('font-family:arial, helvetica, sans-serif;');
	neww_printSystem.document.write('font-size:70%;');
	neww_printSystem.document.write('}\n');

	neww_printSystem.document.write('table, td, tr, post table, post td, post tr,post.table, post.tr, post.td {');
	neww_printSystem.document.write('border-width:1px;');
	neww_printSystem.document.write('}\n');

	neww_printSystem.document.write('img, a img {');
	neww_printSystem.document.write('border:0;');
	neww_printSystem.document.write('}\n');
	neww_printSystem.document.write('td,tr{');
	neww_printSystem.document.write('border-width:1px;');
	neww_printSystem.document.write('}\n');
	neww_printSystem.document.write('</style>');
	neww_printSystem.document.write('<body>');

	neww_printSystem.document.write(
		document.getElementById('page').innerHTML.replace( '<table', '<table border="1" a="null"')
		);

	neww_printSystem.document.write('</body>');
	neww_printSystem.document.write('</html>');
	neww_printSystem.stop();
	neww_printSystem.print();


}

