function PrintPage(lang) {
	// 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) {
		if (lang == 'ESP') {
			alert("Perd&oacute;n, pero usted necesitar&aacute; hacer un clic al bot&oacute;n para imprimir esta p&aacute;gina."); 
		} else if (lang == 'KRE') {
			alert("Eskize'm, f&ograve;k ou klike bouton ki make \"print\" lan, pou ou ka prente pag la"); 
		} else {
			alert("I'm sorry, but you will need to click your browser's Print button to print this page"); 
		}
	}
} 
