var vNum = navigator.appVersion.charAt(0);
var bName = navigator.appName.charAt(0);

document.writeln("<STYLE TYPE='text/css'><!--");
if(navigator.appVersion.indexOf("Mac") > -1)
{
	if( bName == "M")
	 {
		// MAC IE
		document.writeln(".s9{font-size:9px; line-height:150%; color: #FF3300;font-family: verdana;}");
		document.writeln(".r9{font-size:9px; line-height:150%; color: #E50000;font-family: verdana;}");
		document.writeln(".d9{font-size:9px; line-height:150%; color: #CCCCCC;font-family: verdana;}");
		document.writeln(".d10{font-size:10px; line-height:100%; color: #CCCCCC;font-family: verdana;}");
		document.writeln(".w9{font-size:9px; line-height:150%; color: #FFFFFF;font-family: verdana;}");
		document.writeln(".pj12{font-size:12px; line-height:150%; color: #FFFFFF;font-family: verdana;}");
		document.writeln(".j14{font-size:14px; line-height:20px}");
	}
	else
	{
		if( vNum < 5 )
		{
			// MAC NETSCAPE 4.x
			document.writeln(".s9{font-size:9px; line-height:130%; color: #FF3300;font-family: Osaka;}");
			document.writeln(".r9{font-size:9px; line-height:130%; color: #E50000;font-family: Osaka;}");
			document.writeln(".d9{font-size:9px; line-height:130%; color: #CCCCCC;font-family: Osaka;}");
			document.writeln(".d10{font-size:10px; line-height:100%; color: #CCCCCC;font-family: Osaka;}");
			document.writeln(".w9{font-size:9px; line-height:130%; color: #FFFFFF;font-family: Osaka;}");
			document.writeln(".pj12{font-size:12px; line-height:130%; color: #FFFFFF;font-family: Osaka;}");
			document.writeln(".j14{font-size:14px; line-height:20px}");
	 	}
	 	else
	 	{
			// MAC NETSCAPE 6.x~
			document.writeln(".s9{font-size:9px; line-height:150%; color: #FF3300;font-family: Osaka;}");
			document.writeln(".r9{font-size:9px; line-height:150%; color: #E50000;font-family: Osaka;}");
			document.writeln(".d9{font-size:9px; line-height:150%; color: #CCCCCC;font-family: Osaka;}");
			document.writeln(".d10{font-size:10px; line-height:100%; color: #CCCCCC;font-family: Osaka;}");
			document.writeln(".w9{font-size:9px; line-height:150%; color: #FFFFFF;font-family: Osaka;}");
			document.writeln(".pj12{font-size:12px; line-height:150%; color: #FFFFFF;font-family: Osaka;}");
			document.writeln(".j14{font-size:14px; line-height:20px}");
	 	}
	 }

}
else
{
	if( bName == "M")
	{
		// WIN IE
		document.writeln(".s9{font-size:9px; line-height:150%; color: #FF3300;font-family: verdana;}");
		document.writeln(".r9{font-size:9px; line-height:150%; color: #E50000;font-family: verdana;}");
		document.writeln(".d9{font-size:9px; line-height:150%; color: #CCCCCC;font-family: verdana;}");
		document.writeln(".d10{font-size:10px; line-height:100%; color: #CCCCCC;font-family: verdana;}");
		document.writeln(".w9{font-size:9px; line-height:150%; color: #FFFFFF;font-family: verdana;}");
		document.writeln(".pj12{font-size:12px; line-height:150%; color: #FFFFFF;font-family: verdana;}");
		document.writeln(".j14{font-size:14px; line-height:20px; letter-spacing:1px}");
	}
	else
	{
		if( vNum < 5 )
		{
			// WIN NETSCAPE 4.x
			document.writeln(".s9{font-size:10px; line-height:150%; color: #FF3300;font-family: Osaka;}");
			document.writeln(".r9{font-size:10px; line-height:150%; color: #E50000;font-family: Osaka;}");
			document.writeln(".d9{font-size:10px; line-height:150%; color: #CCCCCC;font-family: Osaka;}");
			document.writeln(".d10{font-size:11px; line-height:100%; color: #CCCCCC;font-family: Osaka;}");
			document.writeln(".w9{font-size:10px; line-height:150%; color: #FFFFFF;font-family: Osaka;}");
			document.writeln(".pj12{font-size:12px; line-height:150%; color: #FFFFFF;font-family: Osaka;}");
			document.writeln(".j14{font-size:15px; line-height:20px}");
		}
		else
		{
			// WIN NETSCAPE 6.x~
			document.writeln(".s9{font-size:10px; line-height:150%; color: #FF3300;font-family: verdana;}");
			document.writeln(".r9{font-size:10px; line-height:150%; color: #E50000;font-family: verdana;}");
			document.writeln(".d9{font-size:10px; line-height:150%; color: #CCCCCC;font-family: verdana;}");
			document.writeln(".d10{font-size:11px; line-height:100%; color: #CCCCCC;font-family: verdana;}");
			document.writeln(".w9{font-size:10px; line-height:150%; color: #FFFFFF;font-family: verdana;}");
			document.writeln(".pj12{font-size:12px; line-height:150%; color: #FFFFFF;font-family: verdana;}");
			document.writeln(".j14{font-size:14px; line-height:20px; letter-spacing:1px}");
		}
	}
}
 document.writeln("--></STYLE>");
<!--
// browser test:
browserVer=navigator.appVersion.charAt(0);
// preload universal images:

if (browserVer >= 3) {

cell70= new Image(210,30);
cell70.src = "img/btn_top_01.gif";
cell71= new Image(210,30);
cell71.src = "img/btn_top_01_ro.gif";

cell80= new Image(140,30);
cell80.src = "img/btn_top_02.gif";
cell81= new Image(140,30);
cell81.src = "img/btn_top_02_ro.gif";

cell90= new Image(140,30);
cell90.src = "img/btn_top_03.gif";
cell91= new Image(140,30);
cell91.src = "img/btn_top_03_ro.gif";

cell1000= new Image(110,30);
cell1000.src = "img/btn_top_04.gif";
cell1100= new Image(110,30);
cell1100.src = "img/btn_top_04_ro.gif";



cell10= new Image(46,19);
cell10.src = "../img/btn_s_01.gif";
cell11= new Image(46,19);
cell11.src = "../img/btn_s_01_ro.gif";

cell20= new Image(71,19);
cell20.src = "../img/btn_s_02.gif";
cell21= new Image(71,19);
cell21.src = "../img/btn_s_02_ro.gif";

cell30= new Image(98,19);
cell30.src = "../img/btn_s_03.gif";
cell31= new Image(98,19);
cell31.src = "../img/btn_s_03_ro.gif";

cell40= new Image(44,19);
cell40.src = "../img/btn_s_04.gif";
cell41= new Image(44,19);
cell41.src = "../img/btn_s_04_ro.gif";

cell50= new Image(56,19);
cell50.src = "../img/btn_s_05.gif";
cell51= new Image(56,19);
cell51.src = "../img/btn_s_05_ro.gif";

cell60= new Image(77,19);
cell60.src = "../img/btn_s_06.gif";
cell61= new Image(77,19);
cell61.src = "../img/btn_s_06_ro.gif";


cell10000= new Image(46,19);
cell10000.src = "../../img/btn_s_01.gif";
cell11000= new Image(46,19);
cell11000.src = "../../img/btn_s_01_ro.gif";

cell20000= new Image(71,19);
cell20000.src = "../../img/btn_s_02.gif";
cell21000= new Image(71,19);
cell21000.src = "../../img/btn_s_02_ro.gif";

cell30000= new Image(98,19);
cell30000.src = "../../img/btn_s_03.gif";
cell31000= new Image(98,19);
cell31000.src = "../../img/btn_s_03_ro.gif";

cell40000= new Image(44,19);
cell40000.src = "../../img/btn_s_04.gif";
cell41000= new Image(44,19);
cell41000.src = "../../img/btn_s_04_ro.gif";

cell50000= new Image(56,19);
cell50000.src = "../../img/btn_s_05.gif";
cell51000= new Image(56,19);
cell51000.src = "../../img/btn_s_05_ro.gif";

cell60000= new Image(77,19);
cell60000.src = "../../img/btn_s_06.gif";
cell61000= new Image(77,19);
cell61000.src = "../../img/btn_s_06_ro.gif";



cell100= new Image(46,19);
cell100.src = "../img/btn_r_01.gif";
cell110= new Image(46,19);
cell110.src = "../img/btn_r_01_ro.gif";

cell200= new Image(71,19);
cell200.src = "../img/btn_r_02.gif";
cell210= new Image(71,19);
cell210.src = "../img/btn_r_02_ro.gif";

cell300= new Image(98,19);
cell300.src = "../img/btn_r_03.gif";
cell310= new Image(98,19);
cell310.src = "../img/btn_r_03_ro.gif";

cell400= new Image(44,19);
cell400.src = "../img/btn_r_04.gif";
cell410= new Image(44,19);
cell410.src = "../img/btn_r_04_ro.gif";

cell500= new Image(56,19);
cell500.src = "../img/btn_r_05.gif";
cell510= new Image(56,19);
cell510.src = "../img/btn_r_05_ro.gif";

cell600= new Image(77,19);
cell600.src = "../img/btn_r_06.gif";
cell610= new Image(77,19);
cell610.src = "../img/btn_r_06_ro.gif";



cell2000= new Image(54,12);
cell2000.src = "img/btn_ex.gif";
cell2100= new Image(54,12);
cell2100.src = "img/btn_ex_ro.gif";

cell3000= new Image(51,12);
cell3000.src = "img/btn_in.gif";
cell3100= new Image(51,12);
cell3100.src = "img/btn_in_ro.gif";

cell4000= new Image(61,12);
cell4000.src = "img/btn_eq.gif";
cell4100= new Image(61,12);
cell4100.src = "img/btn_eq_ro.gif";


}

//AnimationScript:
function menu(imageID,imageName) {
if (browserVer >= 3) {
document.images[imageID].src = eval(imageName + ".src");
}}
// -->
