function PrintPage() {
	// Get browser version and operating system information
	var agt = navigator.userAgent.toLowerCase() 
	IE = (agt.indexOf("msie") != -1);
	Ver = parseInt(navigator.appVersion);
	Win = ( (agt.indexOf("win")!=-1) || (agt.indexOf("16bit")!=-1) );
	IE4Win = (IE && (Ver = 4) && Win);
	// If the print method is available then use it (supported by NetScape and IE5)
	if (window.print) {
		window.print(); 
		// Else if this is an IE4 browser AND
		// running on windows then call the IE4 VBScript print function
	} else if (IE4Win) {
		IE4PrintPage();
	// Else it is an older browser, so only send a message to the screen
	} else if (Win) {
		alert("I'm sorry, but you will need to click your browser's Print button to print this page"); 
	}
}
