// Site link path (with trailing slash), referenced multiple times within this file.
var link_path  = "/";

/* "Printable version" Popup Script * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
function Print() { 
	var whatLanguage = location.pathname;

	var sOption="toolbar=yes,location=no,directories=yes,menubar=yes,scrollbars=yes,width=750,height=600,left=100,top=25";
	//var sTitle = document.getElementById('printTitle').innerHTML;
	var sContent = document.getElementById('text-content').innerHTML;
	
	var winprint=window.open("","",sOption); 
		winprint.document.open(); 
		winprint.document.write('<html>');
		winprint.document.write('<head><title>Cross-Canada Paediatric - Respiratory Residency Rounds</title><link rel=\"stylesheet\" type=\"text/css\" href=\"'+link_path+'common/xcr.css\"><link rel=\"stylesheet\" type=\"text/css\" href=\"'+link_path+'common/print.css\"></head>');
		winprint.document.write('<body class=\"#print\">'); 
		winprint.document.write('<table border=\"0\" cellpadding=\"20\" cellspacing=\"0\" width=\"100%\" bgcolor=\"#FFFFFF\">');
		winprint.document.write('<tr><td width=\"100%\">');
		winprint.document.write('<img src=\"'+link_path+'images/wrapper/logo-print.gif\" alt=\"Cross-Canada Paediatric - Respiratory Residency Rounds\" width=\"388\" height=\"70\" border=\"0\"><br><img src=\"'+link_path+'images/wrapper/spacer.gif\" width=\"1\" height=\"15\" border=\"0\" alt=\"\">');
		//winprint.document.write(sTitle);
		winprint.document.write('<br><br>');
		winprint.document.write(sContent);
		//winprint.document.write('<hr size=\"1\"><img src=\"'+link_path+'images/wrapper/spacer.gif\" width=\"1\" height=\"6\" border=\"0\" alt=\"\"><br><div id=\"footer-content\"><strong>Copyright &copy; The Association of Faculties of Medicine of Canada</strong><br>774 Echo Drive, Ottawa, ON Canada  K1S 5P2<br>Tel: (613) 730-0687&nbsp;&nbsp;&nbsp;&nbsp;Fax: (613) 730-1196</div>');
		winprint.document.write('</table>');
		winprint.document.write('</body>');
		winprint.document.write('</html>');
		winprint.document.close();
		winprint.focus(); 
}
	
