// -- Begin Javascript --

var gAutoPrint = true; // Tells whether to automatically call the print function

	function printthispage1()
	{
		if (document.getElementById != null)		
		{
			var html = '<html>\n<head>\n<title>Friendly Format: OSHA Training Calendar<\/title>\n\n';

			if (document.getElementsByTagName != null)
			{
				var headTags = document.getElementsByTagName("head");
				if (headTags.length > 0)
				html += headTags[0].innerHTML;
			}											
			
			html += '<style>\.internet_input\{color:\#003399\;font-weight:bold\;border:1px solid \#cccccc\;background-color:\#ffffff\;cursor:pointer\;\}<\/style>\n';					
			html += '\n<\/head>\n<body>\n\n<table width=\"100%"\>\n<tr>\n<td style=\"width:92%;color:#1953cf;text-align:left;padding-left:5px;padding-top:5px;text-weight:bold;font-family:times;font-size:26px\">Friendly Format: OSHA Training Calendar<\/td>\n\n\n<td style=\"width:5%;padding-top:5px;text-align:right\">\n<form style=\"text-align:right;padding-right:10px\">\n<input style=\"color:#333399;font-weight:bold;border:1px solid #cccccc;background-color:#ffffff;cursor:pointer\" title=\"Print Again Button!\" type=\"button\" value=\"Print Again\" onClick=\"javascript:window.print();\"><\/form>\n<\/td>\n\n\n<td style=\"width:3%;padding-top:5px;text-align:right\">\n<form style=\"text-align:right;padding-right:10px\">\n<input style=\"color:#333399;font-weight:bold;border:1px solid #cccccc;background-color:#ffffff;cursor:pointer\" title="\Close Button!"\ type=\"button\" value=\"Close\" onClick=\"javascript:window.close();\"><\/form>\n<\/td>\n\n\n<\/tr>\n<\/table>\n';
	
			var printableElem = document.getElementById("printable1");
	
			if (printableElem != null)
			{
				html += printableElem.innerHTML;
			}

			else
			{
				alert("Could not find the printable function!");
				return;
			}

		
			html += '\n<\/body>\n<\/html>';

			var printWin = window.open("","printthispage");
			printWin.document.open();
			printWin.document.write(html);
			printWin.document.close();
			if (gAutoPrint)
			printWin.print();
		}
		
		else
		{
		alert("The printable feature is only available if you are using an browser. Please update your browswer.");
		}
		
	}				

// -- End Javascript --