
/* init */
var browserVersion = navigator.appVersion.charAt(0);
var applicationName = navigator.appName.charAt(0);
var Macintosh = (navigator.appVersion.indexOf("Mac") > -1);
var internetExplorer = "M";
var formerVersionOfNetscape = 5;

/* function */
function setCascadingStyleSheet() {
	document.write("<STYLE type='text/css'><!--")
	if (Macintosh) { // for Mac Users
		if (applicationName == internetExplorer) { // Internet Explorer
		document.write("BODY,TH,TR,TD{color: #666666; line-height: 150%; font-size: 12px; font-family:Osaka,Arial;}")
		document.write(".s{line-height: 150%; font-size: 10px; font-family:Osaka,Arial;}")
		}
		else { // Netscape
			if (browserVersion < formerVersionOfNetscape) {
		document.write("BODY,TH,TR,TD{color: #666666; font-size: 12px; font-family:Osaka,Arial;}")
		document.write(".s{font-size: 14px}")
			}
			else {
		document.write("BODY,TH,TR,TD{color: #666666; font-size: 12px; font-family:Osaka,Arial;}")
			document.write(".s{line-height: 150%;font-size: 10px; font-family:Osaka,Arial;}")
			}
		}
	}
	else { // for Win Users
		if (applicationName == internetExplorer) { // Internet Explorer
		document.write("BODY,TH,TR,TD{color: #666666; line-height: 150%; letter-spacing:1px; font-size: 12px; font-family:MS PGothic,Arial;}")
		document.write(".s{line-height: 150%;font-size: 10px; font-family:MS PGothic,Arial;}")
		}
		else { // Netscape
			if (browserVersion < formerVersionOfNetscape) {
		document.write("BODY,TH,TR,TD{color: #666666; font-size: 12px; font-family:MS PGothic,Arial;}")
		document.write(".s{font-size: 10px}")
			}
			else {
		document.write("BODY,TH,TR,TD{color: #666666; line-height: 150%; font-size: 12px; font-family:MS PGothic,Arial;}")
		document.write(".s{line-height: 150%;font-size: 10px; font-family:MS PGothic,Arial;}")
			}
		}
	}

	document.write("--></STYLE>");
}

/* exec */
setCascadingStyleSheet();

