browserName = navigator.appName;
browserVer = parseInt(navigator.appVersion);
browserOs = navigator.platform;

// Browser,Ver dispatch
nn3up = (browserName == "Netscape" && (browserVer >= 3 && browserVer <= 4));
ie4up = (browserName.indexOf("Microsoft") >= 0 && browserVer >= 4);
nn6   = (browserName == "Netscape" && browserVer == 5);

document.writeln("<STYLE TYPE='text/css'><!--")

if(navigator.appVersion.indexOf("Mac") > 1){

if(ie4up){

		// Mac IE
		

document.writeln("body{font-size: 12px; background-color: #ffffff;}")

document.writeln("td{font-size: 12px;}")

document.writeln("font{font-size: 12px;}")

document.writeln(".mbig{font-size: 16px; color: #ff6600; font-weight: bold;}")

document.writeln(".mmiddle{font-size: 14px; color: #ff6600;}")

document.writeln(".big{font-size: 16px;}")

document.writeln(".middle{font-size: 14px;}")

document.writeln(".small{font-size: 11px;}")

document.writeln(".topmenu{font-size: 12px; line-height: 170%;}")

document.writeln(".font1{font-size: 12px; line-height: 150%;}")

document.writeln(".font2{font-size: 10px; line-height: 130%;}")

document.writeln(".mbox{background-color: #ffffff; font-size: 12px;}")

document.writeln("input,select,textarea{background-color: #E6F2F2; font-size: 12px;}")
	}

if(nn6){

		// MacNN6


document.writeln("body{font-size: 12px; background-color: #ffffff;}")

document.writeln("td{font-size: 12px;}")

document.writeln("font{font-size: 12px;}")

document.writeln(".mbig{font-size: 16px; color: #ff6600; font-weight: bold;}")

document.writeln(".mmiddle{font-size: 14px; color: #ff6600;}")

document.writeln(".big{font-size: 16px;}")

document.writeln(".middle{font-size: 14px;}")

document.writeln(".small{font-size: 11px;}")

document.writeln(".topmenu{font-size: 12px; line-height: 170%;}")

document.writeln(".font1{font-size: 12px; line-height: 150%;}")

document.writeln(".font2{font-size: 10px; line-height: 130%;}")

document.writeln(".mbox{background-color: #ffffff; font-size: 12px;}")

document.writeln("input,select,textarea{background-color: #E6F2F2; font-size: 12px;}")
	}

if(nn3up){

		// Mac NN Lower Ver.
		

document.writeln("body{font-size: 12px; background-color: #ffffff;}")

document.writeln("td{font-size: 12px;}")

document.writeln("font{font-size: 12px;}")

document.writeln(".mbig{font-size: 16px; color: #ff6600; font-weight: bold;}")

document.writeln(".mmiddle{font-size: 14px; color: #ff6600;}")

document.writeln(".big{font-size: 16px;}")

document.writeln(".middle{font-size: 14px;}")

document.writeln(".small{font-size: 11px;}")

document.writeln(".topmenu{font-size: 12px; line-height: 180%;}")

document.writeln(".font1{font-size: 12px; line-height: 160%;}")

document.writeln(".font2{font-size: 10px; line-height: 130%;}")

document.writeln(".mbox{background-color: #ffffff; font-size: 12px;}")

document.writeln("input,select,textarea{background-color: #E6F2F2; font-size: 12px;}")
	}

}


else{



if(ie4up){

		// WIN IE


document.writeln("body{font-size: 14px; line-height: 140%; background-color: #ffffff;}")

document.writeln("td{font-size: 14px; line-height: 140%;}")

document.writeln("font{font-size: 14px; line-height: 140%;}")

document.writeln(".mbig{font-size: 18px; color: #ff6600; font-weight: bold;}")

document.writeln(".mmiddle{font-size: 16px; color: #ff6600; line-height: 120%;}")

document.writeln(".big{font-size: 18px;}")

document.writeln(".middle{font-size: 16px; line-height: 120%;}")

document.writeln(".small{font-size: 12px;}")

document.writeln(".topmenu{font-size: 14px; line-height: 190%;}")

document.writeln(".font1{font-size: 14px; line-height: 170%;}")

document.writeln(".font2{font-size: 12px; line-height: 150%;}")

document.writeln(".mbox{background-color: #ffffff; font-size: 14px;}")

document.writeln("input,select,textarea{background-color: #E6F2F2; font-size: 14px;}")
	}

if(nn6){

		// WIN NN6
		

document.writeln("body{font-size: 15px; background-color: #ffffff;}")

document.writeln("td{font-size: 15px;}")

document.writeln("font{font-size: 15px;}")

document.writeln(".mbig{font-size: 20px; color: #ff6600; font-weight: bold;}")

document.writeln(".mmiddle{font-size: 18px; color: #ff6600;}")

document.writeln(".big{font-size: 20px;}")

document.writeln(".middle{font-size: 18px;}")

document.writeln(".small{font-size: 14px;}")

document.writeln(".topmenu{font-size: 17px; line-height: 180%;}")

document.writeln(".font1{font-size: 17px; line-height: 170%; color: #ff0000;}")

document.writeln(".font2{font-size: 15px; line-height: 140%;}")

document.writeln(".mbox{background-color: #ffffff; font-size: 16px;}")

document.writeln("input,select,textarea{background-color: #E6F2F2; font-size: 16px;}")
	}

if(nn3up){

		// WIN NN Lower Ver.
		

document.writeln("body{font-size: 15px; background-color: #ffffff;}")

document.writeln("td{font-size: 15px;}")

document.writeln("font{font-size: 15px;}")

document.writeln(".mbig{font-size: 20px; color: #ff6600; font-weight: bold;}")

document.writeln(".mmiddle{font-size: 18px; color: #ff6600;}")

document.writeln(".big{font-size: 20px;}")

document.writeln(".middle{font-size: 18px;}")

document.writeln(".small{font-size: 15px;}")

document.writeln(".topmenu{font-size: 17px; line-height: 180%;}")

document.writeln(".font1{font-size: 17px; line-height: 160%;}")

document.writeln(".font2{font-size: 15px; line-height: 140%;}")

document.writeln(".mbox{background-color: #ffffff; font-size: 16px;}")

document.writeln("input,select,textarea{background-color: #E6F2F2; font-size: 16px;}")
	}

}

document.writeln("a: link {text-decoration: none; color: #0000cc;}")

document.writeln("a: visited {text-decoration: none; color: #cc00cc;}")

document.writeln("a: hover {text-decoration: underline; color: #cc0000;}")

document.writeln("a: active {text-decoration: underline; color: #ffcc00;}")

document.writeln("--></STYLE>");
