
/*
英語フォントを（e)をclassで指定する際に
（fontsize.jsを実際に読み込むhtml側）
「lang ="en"」はMac版ＩＥで日本語文書内の英語フォントの指定を
有効にさせるために必要なので忘れずに記述すること
ex)<div class ="e9" lang="en">このように。</div>
*/
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:10px;}");
	document.writeln(".j9{font-size:9px;}");
	document.writeln(".j10{font-size:10px;}");
	document.writeln(".j12{font-size:12px;}");
	document.writeln(".j14{font-size:14px;}");
	document.writeln(".j16{font-size:18px;}");
	document.writeln(".data{font-size:12px;}");
	document.writeln(".more{font-size:10px;}")
	
	}
	else
	{
		if(vNum<5)
		{
			//Mac Netscape 4.x
			document.writeln(".e9{font-size:9px; line-height:10px;}");
			document.writeln(".e10{font-size:10px; line-height:11px;}");
			document.writeln(".j9{font-size:9px; line-height:12px;}");
			document.writeln(".j10{font-size:10px; line-height:13px;}");
			document.writeln(".j12{font-size:12px; line-height:15px;}");
			document.writeln(".j14{font-size:14px; line-height:18px;}");
			document.writeln(".j16{font-size:16px; line-height:20px;}");
			document.writeln(".data{font-size:10px; line-height:11px;}");
			document.writeln(".data{font-size:12px; line-height:13px;}");
			document.writeln(".more{font-size:10px; line-height:11px;}")

		}
		else
		{
			//Mac Netscape 6.x
			document.writeln(".e9{font-size:9px;}");
			document.writeln(".e10{font-size:10px;}");
			document.writeln(".j9{font-size:9px; line-height:12px;}");
			document.writeln(".j10{font-size:10px; line-height:13px;}");
			document.writeln(".j12{font-size:12px; line-height:15px;}");
			document.writeln(".j14{font-size:14px; line-height:18px;}");
			document.writeln(".j16{font-size:16px; line-height:20px;}");
			document.writeln(".data{font-size:12px; line-height:15px;}");
			document.writeln(".more{font-size:10px; line-height:13px;}")

		}
	}
}
else
{
	if(bName == "M")
	{
		//Win IE
		document.writeln(".e9{font-size:9px; line-height:10px;}");
		document.writeln(".e10{font-size:10px; line-height:11px;}");
		document.writeln(".j9{font-size:10px; line-height:12px;}");
		document.writeln(".j10{font-size:11px; line-height:13px;}");
		document.writeln(".j12{font-size:12px; line-height:15px; letter-spacing:1px;}");
		document.writeln(".j14{font-size:14px; line-height:18px; letter-spacing:1px;}");
        document.writeln(".j16{font-size:16px; line-height:20px; letter-spacing:1px;}")	;
		document.writeln(".data{font-size:12px; line-height:15px;}");
		document.writeln(".more{font-size:10px; line-height:11px;}")	
		
	}
	else
	{
		if(vNum <5)
		{
		//Win Netscape 4.x
		document.writeln(".e9{font-size:11px;}");
		document.writeln(".e10{font-size:12px; line-height:11px;}");
		document.writeln(".j9{font-size:11px; line-height:12px;}");
		document.writeln(".j10{font-size:11px; line-height:13px;}");
 		document.writeln(".j12{font-size:12px; line-height:15px;}");
		document.writeln(".j14{font-size:15px; line-height:18px;}");
		document.writeln(".j16{font-size:16px; line-height:20px;}");
        document.writeln(".data{font-size:12px; line-height:15px;}");
		document.writeln(".more{font-size:10px; line-height:11px;}")	
		
		}
		else
		{
		//Win Netscape 6.x
		document.writeln(".e9{font-size:9px; line-height:10px;}");
		document.writeln(".e10{font-size:10px; line-height:11px;}");
		document.writeln(".j9{font-size:10px; line-height:12px;}");
		document.writeln(".j10{font-size:11px; line-height:13px;}");
		document.writeln(".j12{font-size:12px; line-height:15px; letter-spacing:1px;}");
		document.writeln(".j14{font-size:14px; line-height:18px; letter-spacing:1px;}")	;
        document.writeln(".j16{font-size:16px; line-height:20px; letter-spacing:1px;}")	;
        document.writeln(".data{font-size:12px; line-height:15px;}");
		document.writeln(".more{font-size:10px; line-height:11px;}")	
		

		}
	}
}
document.writeln("--></STYLE>");
		