var vNum = navigator.appVersion.charAt(0);
var bName = navigator.appName.charAt(0);
//alert(bName + " " + vNum);

/*
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(".navibar{font-Size:12px}");
		document.writeln(".subnavbar{font-Size:12px}");
		document.writeln(".notes{font-Size:12px}");
		document.writeln(".memo{font-Size:10px}");
		document.writeln(".home{font-Size:12px}");
		document.writeln("address{font-Size:10px; font-style: normal}");
	} else {
		if( vNum < 5 ){
			// Mac版 Netscape4.x以下の場合
			document.writeln(".navibar{font-Size:12px}");
			document.writeln(".subnavbar{font-Size:12px; line-height:15px}");
			document.writeln(".notes{font-Size:12px; line-height:15px}");
			document.writeln(".memo{font-Size:10px; line-height:13px}");
			document.writeln(".home{font-Size:12px}");
			document.writeln("address{font-Size:10px; line-height:13px; font-style: normal}");
	 	} else {
			// Mac版 Netscape6.xの場合
			document.writeln(".navibar{font-Size:12px}");
			document.writeln(".subnavbar{font-Size:12px; line-height:15px}");
			document.writeln(".notes{font-Size:12px; line-height:15px}");
			document.writeln(".memo{font-Size:10px; line-height:13px}");
			document.writeln(".home{font-Size:12px}");
			document.writeln("address{font-Size:10px; line-height:13px; font-style: normal}");
	 	}
	 }

} else {
	if( bName == "M") {
		// Win版 IEの場合
		document.writeln(".navibar{font-Size:12px}");
		document.writeln(".subnavbar{font-Size:12px; line-height:15px; letter-spacing:1px}");
		document.writeln(".notes{font-Size:12px; line-height:15px; letter-spacing:1px}");
		document.writeln(".memo{font-Size:11px; line-height:13px}");
		document.writeln(".home{font-Size:12px; letter-spacing:1px}");
		document.writeln("address{font-Size:11px; line-height:13px; font-style: normal}");
	} else {
		if( vNum < 5 ) {
			// Win版 Netscape4.x以下の場合
			document.writeln(".navibar{font-Size:12px}");
			document.writeln(".subnavbar{font-Size:12px; line-height:15px}");
			document.writeln(".notes{font-Size:12px; line-height:15px}");
			document.writeln(".memo{font-Size:11px; line-height:13px}");
			document.writeln(".home{font-Size:12px}");
			document.writeln("address{font-Size:11px; line-height:13px; font-style: normal}");
		} else {
			// Win版 Netscape6.xの場合
			document.writeln(".navibar{font-Size:12px}");
			document.writeln(".subnavbar{font-Size:12px; line-height:15px; letter-spacing:1px}");
			document.writeln(".notes{font-Size:12px; line-height:15px; letter-spacing:1px}");
			document.writeln(".memo{font-Size:11px; line-height:13px}");
			document.writeln(".home{font-Size:12px}");
			document.writeln("address{font-Size:11px; line-height:13px; font-style: normal}");
		}
	}
}
 document.writeln("--></STYLE>");
