browserName = navigator.appName;
browserVer = parseInt(navigator.appVersion);
browserOs = navigator.platform;

// Browser,Ver dispatch
nn3up = (browserName == "Netscape" && (browserVer >= 3 && browserVer < 5));
nn6   = (browserName == "Netscape" && browserVer == 5);
ie4 = (browserName.indexOf("Microsoft") >= 0 && (browserVer >= 4 && browserVer < 5));
ie5up = (browserName.indexOf("Microsoft") >= 0 && browserVer >= 5);

document.writeln("<STYLE TYPE='text/css'><!--")

if(navigator.appVersion.indexOf("Mac") > 1){

if(ie4){ // Mac IE 4.0

document.writeln("td{font-size:12px}")
document.writeln(".l{font-size:14px;line-height:110%;}")
document.writeln(".m{font-size:12px;}")
document.writeln(".s{font-size:10px;line-height:100%;}")
document.writeln(".snm{font-size:12px; line-height:130%;}")
document.writeln("input,select,textarea{background-color:#FFFFFF; font-size:12px;}")
	}

if(ie5up){// Mac IE over 5.0

document.writeln("td{font-size:12px}")
document.writeln(".l{font-size:14px;line-height:110%;}")
document.writeln(".m{font-size:12px;line-height:110%;}")
document.writeln(".s{font-size:10px;line-height:100%;}")
document.writeln(".snm{font-size:12px; line-height:130%;}")
document.writeln("input,select,textarea{background-color:#FFFFFF; font-size:12px;}")
	}

if(nn6){// MacNN6

document.writeln(".l{font-size:14px;line-height:110%;}")
document.writeln(".m{font-size:12px;line-height:110%;}")
document.writeln(".s{font-size:10px;line-height:110%;}")
document.writeln(".snm{font-size:12px; line-height:120%;}")
document.writeln("input,select,textarea{background-color:#FFFFFF; font-size:9pt;}")
	}

if(nn3up){// Mac NN Lower Ver.

document.writeln(".l{font-size:14px;line-height:110%;}")
document.writeln(".m{font-size:12px;line-height:110%;}")
document.writeln(".s{font-size:10px;line-height:100%;}")
document.writeln(".snm{font-size:12px; line-height:140%;")
document.writeln("input,select,textarea{background-color:#FFFFFF; font-size:12px;}")
	}

}


else{

if(ie4 || ie5up){// WIN IE

document.writeln("td{font-size:10px}")
document.writeln(".l{font-size:14px;line-height:110%;}")
document.writeln(".m{font-size:12px;line-height:110%;}")
document.writeln(".s{font-size:10px;line-height:115%;}")
document.writeln(".snm{font-size:12px; line-height:130%;}")
document.writeln("input,select,textarea{background-color:#FFFFFF; font-size:9px;}")
	}

if(nn6){// WIN NN6

document.writeln(".l{font-size:15px;line-height:110%;}")
document.writeln(".m{font-size:13px;line-height:110%;}")
document.writeln(".s{font-size:11px;line-height:115%;}")
document.writeln(".snm{font-size:13px; line-height:135%;}")
document.writeln("input,select,textarea{background-color:#FFFFFF; font-size:10px;}")
	}

if(nn3up){// WIN NN Lower Ver.
		
document.writeln("td{font-size:11px}")
document.writeln(".l{font-size:15px;line-height:120%;}")
document.writeln(".m{font-size:13px;line-height:120%;}")
document.writeln(".s{font-size:11px;line-height:115%;}")
document.writeln(".snm{font-size:13px; line-height:140%;}")
document.writeln("input,select,textarea{background-color:#FFFFFF; font-size:10px;}")
	}

}

// COMMON

document.writeln("a:link {text-decoration: none;color: #007900}")
document.writeln("a:visited {text-decoration: none;color: #8f60ff}")
document.writeln("a:hover {text-decoration: underline;color: #007900}")
document.writeln("a:active {text-decoration: underline;color: #007900}")
document.writeln("--></STYLE>");

