
/* ブラウザ判別スクリプト */

var vNum = navigator.appVersion.charAt(0);
var bName = navigator.appName.charAt(0);
if ( bName == "M" && vNum < 4)
	location.href="getnewbrowser.html";
if ( bName == "N" && vNum < 4)
	location.href="getnewbrowser.html";

document.writeln("<STYLE TYPE='text/css'><!--");
if(navigator.appVersion.indexOf("Mac") > -1)
{
	if( bName == "M")
	 {
		// MAC IE
		document.writeln(".e9{font-Size:9px}");
		document.writeln(".e10{font-size:10pt}");
		document.writeln(".e12{font-size:12pt}");
		document.writeln(".j9{font-size:9pt}");
		document.writeln(".j10{font-Size:8pt;}");
		document.writeln(".j12{font-Size:10pt;}");
		document.writeln(".j14{font-Size:12pt;}");
		document.writeln(".j18{font-Size:16pt;}");
	}
	else
	{
		if( vNum < 5 )
		{
			// MAC NETSCAPE 4.x
			document.writeln(".e9{font-Size:9px; line-height:13px}");
			document.writeln(".e10{font-size:10pt; line-height:14px}");
			document.writeln(".e12{font-size:12pt; line-height:17px}");
			document.writeln(".j9{font-size:9pt; line-height:12px}");
			document.writeln(".j10{font-Size:10pt; line-height:13px}"); 
			document.writeln(".j12{font-Size:12pt; line-height:15px}");
			document.writeln(".j14{font-Size:14pt; line-height:18px}");
			document.writeln(".j18{font-Size:18pt;}");
	 	}
	 	else
	 	{
			// MAC NETSCAPE 6.x~
			document.writeln(".e9{font-Size:9px}");
			document.writeln(".e10{font-size:10pt}");
			document.writeln(".e12{font-size:12pt}");
			document.writeln(".j9{font-size:9pt; line-height:12px}");
			document.writeln(".j10{font-Size:10pt; line-height:13px}"); 
			document.writeln(".j12{font-Size:12pt; line-height:15px}");
			document.writeln(".j14{font-Size:14pt; line-height:18px}");	
			document.writeln(".j18{font-Size:18pt;; line-height:20px}");
	 	}
	 }

}
else
{
	if( bName == "M")
	{
		// WIN IE
		document.writeln(".e9{font-Size:10px;}");
		document.writeln(".e10{font-size:11pt;}");
		document.writeln(".e12{font-size:9pt;}");
		document.writeln(".j9{font-size:7pt;}");
		document.writeln(".j10{font-Size:8pt; line-height:13px}");
		document.writeln(".j12{font-Size:9pt; line-height:14px; letter-spacing:1px}");
		document.writeln(".j14{font-Size:11pt;line-height:16px; letter-spacing:1px}");
		document.writeln(".j18{font-Size:13pt;line-height:18px; letter-spacing:2px}");
	}
	else
	{
		if( vNum < 5 )
		{
			// WIN NETSCAPE 4.x
			document.writeln(".e9{font-Size:10px;}");
			document.writeln(".e10{font-size:12pt;}");
			document.writeln(".e12{font-size:9pt;}");
			document.writeln(".j9{font-size:7pt;}");
			document.writeln(".j10{font-Size:8pt; line-height:15px}");
			document.writeln(".j12{font-Size:9pt;line-height:15px; }");
			document.writeln(".j14{font-Size:11pt;line-height:18px;}");
			document.writeln(".j18{font-Size:13pt;line-height:18px;}");
		}
		else
		{
			// WIN NETSCAPE 6.x~
			document.writeln(".e9{font-Size:10pt;}");
			document.writeln(".e10{font-size:10pt;}");
			document.writeln(".e12{font-size:12pt;}");
			document.writeln(".j9{font-size:7pt;}");
			document.writeln(".j10{font-Size:7pt;}");
			document.writeln(".j12{font-Size:9pt;letter-spacing:1px}");
			document.writeln(".j14{font-Size:11pt;letter-spacing:1px}");
			document.writeln(".j18{font-Size:13pt;line-height:18px;letter-spacing:2px}");
		
		}
	}
}
 document.writeln("--></STYLE>");
