var gAutoPrint = false; 

function printSpecial()
{
	if (document.getElementById != null)
	{
		var html = '<HTML>\n<HEAD>\n'; 
		html += '\n<link rel="stylesheet" type="text/css" href="/style-print.css" media="all" />';
		html += '\n<link rel="stylesheet" type="text/css" href="/files/css/print.css" title="printstyle" media="print" />';
		html += '\n<link rel="alternate stylesheet" type="text/css" href="/css/print-page.css" title="printstyle" media="screen" />'
		
		html += '\n</HE' + 'AD>\n<BODY id="professional-website" class="mt-main-index layout-twt">\n';
		
		var printReadyElem = document.getElementById("body-content");
		
		if (printReadyElem != null)
		{
				html += printReadyElem.innerHTML;
		}
		else
		{
			alert("Could not find the printReady section in the HTML");
			return;
		}
			
		html += '\n</BO' + 'DY>\n</HT' + 'ML>';
		
		var printWin = window.open("","printSpecial");
		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.");
	}
}
