var vNum = navigator.appVersion.charAt(0);
var bName = navigator.appName.charAt(0);
var ua = navigator.userAgent;

document.writeln("<STYLE TYPE='text/css'><!--");
if(navigator.appVersion.indexOf("Mac") > -1)
{
	if( bName == "M")
	 {
	 	if(ua.search(/5.2/)!=-1)
		{
		// MAC IE OS X
			document.writeln(".jfs9{font-size:9px; line-height:11px}");
			document.writeln(".jfs10{font-Size:10px; line-height:11px}");
			document.writeln(".jfs12{font-Size:12px; line-height:14px}");
			document.writeln(".jfs14{font-Size:14px; line-height:18px}");
		}
		else
		{
		// MAC IE OS 9
		document.writeln(".jfs9{font-size:9px}");
		document.writeln(".jfs10{font-Size:10px}");
		document.writeln(".jfs12{font-Size:12px}");
		document.writeln(".jfs14{font-Size:14px}");
		document.writeln(".jfs16{font-Size:16px}");
		}

	}
	else
	{
		if( vNum < 5 )
		{
			// MAC NETSCAPE 4.x
			document.writeln(".jfs9{font-size:9px; line-height:12px}");
			document.writeln(".jfs10{font-Size:10px; line-height:13px}");
			document.writeln(".jfs12{font-Size:12px; line-height:15px}");
			document.writeln(".jfs14{font-Size:14px; line-height:18px}");
			document.writeln(".jfs16{font-Size:16px; line-height:20px}");

	 	}
	 	else
	 	{
			if(ua.search(/Safari/)!=-1)
			{
			// MAC Safari
			document.writeln(".jfs9{font-size:9px; line-height:11px}");
			//document.writeln(".jfs10{font-Size:10px; line-height:13px}");
			document.writeln(".jfs10{font-Size:10px; line-height:12px}");
			//document.writeln(".jfs12{font-Size:12px; line-height:15px}");
			document.writeln(".jfs12{font-Size:12px; line-height:14px}");
			document.writeln(".jfs14{font-Size:14px; line-height:18px}");
			document.writeln(".jfs16{font-Size:16px; line-height:20px}");
			}
			else
			{
			// MAC NETSCAPE 6.x~
			document.writeln(".jfs9{font-size:9px; line-height:11px}");
			//document.writeln(".jfs10{font-Size:10px; line-height:13px}");
			document.writeln(".jfs10{font-Size:10px; line-height:11px}");
			//document.writeln(".jfs12{font-Size:12px; line-height:15px}");
			document.writeln(".jfs12{font-Size:12px; line-height:14px}");
			document.writeln(".jfs14{font-Size:14px; line-height:18px}");
			document.writeln(".jfs16{font-Size:16px; line-height:20px}");
			}
	 	}
	 }

}
else
{
	if( bName == "M")
	{
		// WIN IE
		document.writeln(".jfs9{font-size:10px; line-height:12px}");
		document.writeln(".jfs10{font-Size:11px; line-height:13px}");
		document.writeln(".jfs12{font-Size:12px; line-height:15px; letter-spacing:1px}");
		document.writeln(".jfs14{font-Size:14px; line-height:18px; letter-spacing:1px}");
		document.writeln(".jfs16{font-Size:16px; line-height:20px; letter-spacing:1px}");
	}
	else
	{
		if( vNum < 5 )
		{
			// WIN NETSCAPE 4.x
			document.writeln(".jfs9{font-size:11px; line-height:12px}");
			document.writeln(".jfs10{font-Size:11px; line-height:13px}");
			document.writeln(".jfs12{font-Size:12px; line-height:15px}");
			document.writeln(".jfs14{font-Size:15px; line-height:18px}");
			document.writeln(".jfs16{font-Size:17px; line-height:20px}");
		}
		else
		{
			// WIN NETSCAPE 6.x~
			document.writeln(".jfs9{font-size:10px; line-height:12px}");
			document.writeln(".jfs10{font-Size:11px; line-height:13px}");
			//document.writeln(".jfs12{font-Size:9px; line-height:15px; letter-spacing:1px}");
			document.writeln(".jfs12{font-Size:12px; line-height:15px; letter-spacing:1px}");
			document.writeln(".jfs14{font-Size:14px; line-height:18px; letter-spacing:1px}");
			document.writeln(".jfs16{font-Size:16px; line-height:20px; letter-spacing:1px}");

		}
	}
}
 //document.writeln(".jfs9,.jfs10,.jfs12,.jfs14 { font-family: \"‚l‚r ‚oƒSƒVƒbƒN\", \"Osaka\" , \"MS UI Gothic\", \"sans-serif\"}");
 document.writeln("--></STYLE>");