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(".j9{font-size:0.8em; line-height:1.2em; }");
			document.writeln(".j10{font-size:0.9em; line-height:1.4em; }");
			document.writeln("ul{font-size:0.9em; line-height:1.4em; margin-left:-1em;}");
			document.writeln(".j11, .num{font-size:1.0em; line-height:1.5em; }");
			document.writeln("#footer{font-size:0.8em; line-height:1.4em; margin: auto;}");
			document.writeln("h1{font-size:1.6em; line-height:1.6em; color: #ff6633;}");
			document.writeln("h2{font-size:1.3em; line-height:1.2em; color: #ffffff; padding: 0.3em; background-color: #ff6633; }");
			document.writeln("h3{font-size:1.1em; line-height:1.4em; color: #ff6633; border-bottom:solid #cccccc 3px;border-left:solid #cccccc 8px; padding-left: 4px;}");
			document.writeln("h4{font-size:1em; line-height:1em; color: #ff6633;}");
			document.writeln("#navi{font-size:0.9em; line-height:2.6em; white-space:nowrap;}");
			document.writeln(".top {font-size: 0.9em; margin-right: 1em; text-align:right;}");
			document.writeln(".sub,{font-size:1.0em; line-height:1.5em; color: #0033ff; font-weight: 900;}");
	}
	else
	if( vNum > 4 )
	{
		if(navigator.appVersion.indexOf("Safari") > -1)
		{
			// MAC Safari
			document.writeln(".j9{font-size:0.8em; line-height:1.2em; }");
			document.writeln(".j10{font-size:0.9em; line-height:1.3em; }");
			document.writeln("ul{font-size:0.9em; line-height:1.3em; margin-left:-1em;}");
			document.writeln(".j11, .num{font-size:1.0em; line-height:1.4em; }");
			document.writeln("#footer{font-size:0.8em; line-height:1.4em; margin: auto;}");
			document.writeln("h1{font-size:1.6em; line-height:1.6em; color: #ff6633;}");
			document.writeln("h2{font-size:1.2em; line-height:1.2em; color: #ffffff; padding: 0.3em; background-color: #ff6633; }");
			document.writeln("h3{font-size:1.1em; line-height:1.4em; color: #ff6633; border-bottom:solid #cccccc 2px;border-left:solid #cccccc 8px; padding-left: 4px;}");
			document.writeln("h4{font-size:1em; line-height:1em; color: #ff6633;}");
			document.writeln("#navi{font-size:0.9em; line-height:2.6em; white-space:nowrap;}");
			document.writeln(".top {font-size: 0.9em; margin-right: 1em; text-align:right;}");
			document.writeln(".sub{font-size:1.0em; line-height:1.4em; color: #0033ff; font-weight: 900;}");
		}
		else
		{
			// MAC NETSCAPE 6.x~
			document.writeln(".j9{font-size:0.8em; line-height:1.2em; }");
			document.writeln(".j10{font-size:0.9em; line-height:1.2em; }");
			document.writeln("ul{font-size:0.9em; line-height:1.2em; margin-left:-1em;}");
			document.writeln(".j11 .num{font-size:1.0em; line-height:1.3em; }");
			document.writeln("#footer{font-size:0.8em; line-height:1.4em; margin: auto;}");
			document.writeln("h1{font-size:1.5em; line-height:1.6em; color: #ff6633;}");
			document.writeln("h2{font-size:1.2em; line-height:1.2em; color: #ffffff; padding: 0.3em 0.2em 0em 0.2em; background-color: #ff6633; }");
			document.writeln("h3{font-size:1.1em; line-height:1.4em; color: #ff6633; border-bottom:solid #cccccc 3px;border-left:solid #cccccc 8px; padding-left: 4px;}");
			document.writeln("h4{font-size:1.0em; line-height:1em; color: #ff6633;}");
			document.writeln("#navi{font-size:0.9em; line-height:2em; white-space:nowrap;}");
			document.writeln(".top {font-size: 0.9em; margin-right: 1em; text-align:right;}");
			document.writeln(".sub{font-size:1.0em; line-height:1.3em; color: #0033ff; font-weight: 900;}");
		}
	}

}
else
{
	if( bName == "M")
	{
		// WIN IE
		document.writeln(".j9{font-size:0.6em; line-height:1.4em; }");
		document.writeln(".j10, ul{font-size:0.75em; line-height:1.5em; }");
		document.writeln(".j11, .num{font-size:0.8em; line-height:1.5em; }");
		document.writeln("#footer{font-size:0.7em; line-height:1.3em; margin: auto;}");
		document.writeln("h1{font-size:1.4em; line-height:1.1em; color: #ff6633;}");
		document.writeln("h2{font-size:1.2em; line-height:0.7em; color: #ffffff; padding: 0.5em 0.4em 0.2em 0.4em; background-color: #ff6633; }");
		document.writeln("h3{font-size:1.0em; line-height:0.9em; color: #ff6633; border-bottom:solid #cccccc 2px;border-left:solid #cccccc 8px; padding-left: 4px;}");
		document.writeln("h4{font-size:0.9em; line-height:1.0em; color: #ff6633;}");
		document.writeln("#navi{font-size:0.7em; white-space:nowrap;}");
		document.writeln(".top {font-size: 0.8em; margin-right: 1em; text-align:right;}");
		document.writeln(".sub{font-size:0.8em; line-height:1.5em; color: #0033ff; font-weight: 900;}");
	}
	else
	if( vNum > 4 )
	{
		if(navigator.userAgent.indexOf("Opera") > -1)
		{
			// WIN Opera 7.0
		document.writeln(".j9{font-size:0.6em; line-height:1.4em; }");
		document.writeln(".j10, ul{font-size:0.75em; line-height:1.5em; }");
		document.writeln(".j11, .num{font-size:0.8em; line-height:1.5em; }");
		document.writeln("#footer{font-size:0.7em; line-height:1.3em; margin: auto;}");
		document.writeln("h1{font-size:1.4em; line-height:1.1em; color: #ff6633;}");
		document.writeln("h2{font-size:1.2em; line-height:0.7em; color: #ffffff; padding: 0.4em; background-color: #ff6633; }");
		document.writeln("h3{font-size:1.0em; line-height:0.9em; color: #ff6633; border-bottom:solid #cccccc 2px;border-left:solid #cccccc 8px; padding-left: 4px;}");
		document.writeln("h4{font-size:0.9em; line-height:1.0em; color: #ff6633;}");
		document.writeln("#navi{font-size:0.7em; white-space:nowrap;}");
		document.writeln(".top {font-size: 0.8em; margin-right: 1em; text-align:right; }");
		document.writeln(".sub{font-size:0.8em; line-height:1.5em; color: #0033ff; font-weight: 900;}");
		}
		else
		{
			// WIN NETSCAPE 6.x~
		document.writeln(".j9{font-size:0.6em; line-height:1.3em; }");
		document.writeln(".j10, ul{font-size:0.75em; line-height:1.5em; }");
		document.writeln(".j11, .num{font-size:0.8em; line-height:1.5em; }");
		document.writeln("#footer{font-size:0.7em; line-height:1.3em; margin: auto;}");
		document.writeln("h1{font-size:1.4em; line-height:1.1em; color: #ff6633;}");
		document.writeln("h2{font-size:1.2em; line-height:0.7em; color: #ffffff; padding: 0.4em; background-color: #ff6633; }");
		document.writeln("h3{font-size:1.3em; line-height:0.9em; color: #ff6633; border-bottom:solid #cccccc 2px;border-left:solid #cccccc 8px; padding-left: 4px;}");
		document.writeln("h4{font-size:0.9em; line-height:1.0em; color: #ff6633;}");
		document.writeln("#navi{font-size:0.7em; white-space:nowrap;}");
		document.writeln(".top {font-size: 0.9em; margin-right: 1em; text-align:right; }");
		document.writeln(".sub{font-size:0.8em; line-height:1.5em; color: #0033ff; font-weight: 900;}");
		}
	}
}
 document.writeln("--></STYLE>");

