

var vNum = navigator.appVersion.charAt(0);
var bName = navigator.appName.charAt(0);
if ( bName == "M" && vNum <4)
	alert('バージョン４以降のブラウザを御使用ください。');
if ( bName == "N" && vNum <4)
	alert('バージョン４以降のブラウザを御使用ください。');


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; line-height : 11px}");
	document.writeln(".e12{font-Size : 12px; line-height : 13px}}");
	document.writeln(".j9{font-Size : 9px}");
	document.writeln(".j10{font-Size : 9px; line-height : 12px}");
	document.writeln(".j11{font-Size : 10px; line-height : 13px}");
	document.writeln(".j12{font-Size : 11px; line-height : 16px}");
	document.writeln(".j14{font-Size : 13px; line-height : 17px}");
	}
else
	{
	if (vNum <5)
		{
		// MAC NN 4.x
		document.writeln(".e9{font-Size : 9px; line-height : 10px}");
		document.writeln(".e10{font-Size : 10px; line-height : 13px}");
		document.writeln(".e12{font-Size : 12px; line-height : 14px}");
		document.writeln(".j9{font-Size : 9px; line-height : 12px}");
		document.writeln(".j10{font-Size : 9px; line-height : 13px}");
		document.writeln(".j11{font-Size : 10px; line-height : 13px}");
		document.writeln(".j12{font-Size : 11px; line-height : 15px}");
		document.writeln(".j14{font-Size : 12px; line-height : 18px}");
		}
		else
		{
		// MAC NN 6.x
		document.writeln(".e9{font-Size : 9px}");
		document.writeln(".e10{font-Size : 10px}");
		document.writeln(".e12{font-Size : 12px}");
		document.writeln(".j9{font-Size : 9px; line-height : 12px}");
		document.writeln(".j10{font-Size : 9px; line-height : 13px}");
		document.writeln(".j11{font-Size : 10px; line-height : 13px}");
		document.writeln(".j12{font-Size : 11px; line-height : 15px}");
		document.writeln(".j14{font-Size : 12px; line-height : 18px}");
		}
	}
}

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(".e12{font-Size : 12px; line-height : 14px}");
	document.writeln(".j9{font-Size : 9px; line-height : 12px}");
	document.writeln(".j10{font-Size : 10px; line-height : 13px}");
	document.writeln(".j11{font-Size : 10px; line-height : 13px}");
	document.writeln(".j12{font-Size : 10px; line-height : 14px; letter-spacing : 1px}");
	document.writeln(".j14{font-Size : 13px; line-height : 20px; letter-spacing : 1px}");
	}
else
	{
	if( vNum <5)
		{
		//WIN NN4.x
		document.writeln(".e9{font-Size : 11px}");
		document.writeln(".e10{font-Size : 12px; line-height : 11px}");
		document.writeln(".e12{font-Size : 14px; line-height : 14px}");
		document.writeln(".j9{font-Size : 11px; line-height : 12px}");
		document.writeln(".j10{font-Size : 11px; line-height : 13px}");
		document.writeln(".j11{font-Size : 11px; line-height : 14px}");
		document.writeln(".j12{font-Size : 12px; line-height : 15px}");
		document.writeln(".j14{font-Size : 15px; line-height : 18px}");
		}
	else
		{
		//WIN NN6.x
		document.writeln(".e9{font-Size : 9px; line-height : 10px}");
		document.writeln(".e10{font-Size : 10px; line-height : 11px}");
		document.writeln(".e12{font-Size : 12px; line-height : 14px}");
		document.writeln(".j9{font-Size : 10px; line-height : 12px}");
		document.writeln(".j10{font-Size : 11px; line-height : 13px}");
		document.writeln(".j11{font-Size : 12px; line-height : 14px}");
		document.writeln(".j12{font-Size : 13px; line-height : 15px; letter-spacing : 1px}");
		document.writeln(".j14{font-Size : 13px; line-height : 18px; letter-spacing : 1px}");
		}
	}
}

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





