mac=(navigator.appVersion.indexOf("Mac",0) != -1)?true:false;
ie=(navigator.appName.charAt(0) == "M")?true:false;

function MM_reloadPage(init) {  //NN4.xの場合ウインドウリサイズするとリロード
	if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
		document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage;
	}
} else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);

document.write("<style type='text/css'><!--")
if(mac){
	if((navigator.appName).indexOf("Netscape")!= -1 && navigator.appVersion.charAt(0) == 4){
		//For Macintosh NS4
		document.write("body{font-size:10px; line-height:160%;}")
		document.write(".j10{font-Size:10px; line-height:160%;}")
		document.write(".j12{font-Size:12px; line-height:160%;}")
		document.write(".j14{font-Size:14px; line-height:160%;}")
	} else if (navigator.appVersion.indexOf("MSIE 5",0)) {
		//For Macintosh IE5
		document.write("body{font-size:12px; line-height:160%; color:#333333;}")
		document.write("td{font-size:12px; line-height:160%; color:#333333;}")
		document.write(".f1{font-size:11px; line-height:160%;}")
		document.write(".f2{font-size:12px; line-height:160%;}")
		document.write(".f3{font-size:14px; line-height:160%;}")
		document.write(".f4{font-size:16px; line-height:160%;}")
		document.write(".f1e{font-size:10px; line-height:160%; font-family:Helvetica, Arial;}")
		document.write(".f2e{font-size:12px; line-height:120%; font-family:Helvetica, Arial;}")
		document.write(".f3e{font-size:13px; line-height:120%; font-family:Helvetica, Arial;}")
		document.write(".f4e{font-size:16px; line-height:120%; font-family:Helvetica, Arial;}")
		document.write(".tit14{font-size:14px; line-height:120%;text-indent:8px}")
		document.write("font{font-size:12px; line-height:160%;}")
		document.write(".j10{font-Size:10px; line-height:13px}")
		document.write(".j12{font-Size:12px; line-height:15px}")
		document.write(".j14{font-Size:14px; line-height:18px}")
	} else{
		//For Macintosh Other IE NS
		document.write("body{font-size:11px; color:#333333;}")
		document.write("td{font-size:11px; color:#333333;}")
		document.write(".f1{font-size:9px;}")
		document.write(".f2{font-size:10px;}")
		document.write(".f3{font-size:12px;}")
		document.write(".f4{font-size:14px;}")
		document.write(".f1e{font-size:9px; font-family:Helvetica, Arial;}")
		document.write(".f2e{font-size:10px; font-family:Helvetica, Arial;}")
		document.write(".f3e{font-size:12px; font-family:Helvetica, Arial;}")
		document.write(".f4e{font-size:14px; font-family:Helvetica, Arial;}")
		document.write(".tit14{font-size:12px; text-indent:8px}")
		document.write("font{font-size:11px;}")
		document.write(".j10{font-Size:10px; line-height:13px}")
		document.write(".j12{font-Size:12px; line-height:15px}")
		document.write(".j14{font-Size:14px; line-height:18px}")
	}
} else{
	if((navigator.appName).indexOf("Netscape")!= -1 && navigator.appVersion.charAt(0) == 4){
		//For Windows NS4
		document.write("body{font-size:11px; line-height:14px;}")
		document.write(".j10{font-Size:11px; line-height:14px;}")
		document.write(".j12{font-Size:12px; line-height:16px;}")
		document.write(".j14{font-Size:15px; line-height:18px;}")
	} else if(ie){
		//For Windows IE
		document.write("body{font-size:12px; line-height:160%; color:#333333;}")
		document.write("td{font-size:12px; line-height:160%; color:#333333;}")
		document.write(".f1{font-size:11px; line-height:160%;}")
		document.write(".f2{font-size:12px; line-height:160%;}")
		document.write(".f3{font-size:14px; line-height:160%;}")
		document.write(".f4{font-size:16px; line-height:160%;}")
		document.write(".f1e{font-size:10px; line-height:160%; font-family:Helvetica, Arial;}")
		document.write(".f2e{font-size:12px; line-height:160%; font-family:Helvetica, Arial;}")
		document.write(".f3e{font-size:13px; line-height:160%; font-family:Helvetica, Arial;}")
		document.write(".f4e{font-size:16px; line-height:160%; font-family:Helvetica, Arial;}")
		document.write(".tit14{font-size:14px; line-height:160%;text-indent:8px}")
		document.write("font{font-size:12px; line-height:120%;}")
		document.write(".j10{font-Size:11px; line-height:14px}")
		document.write(".j12{font-Size:12px; line-height:16px}")
		document.write(".j14{font-Size:14px; line-height:18px}")
	} else{
		//For Windows NS
		document.write("body{font-size:12px; color:#333333;}")
		document.write("td{font-size:12px; color:#333333;}")
		document.write(".f1{font-size:11px;}")
		document.write(".f2{font-size:14px;}")
		document.write(".f3{font-size:15px;}")
		document.write(".f4{font-size:18px;}")
		document.write(".f1e{font-size:12px; font-family:Helvetica, Arial;}")
		document.write(".f2e{font-size:14px; font-family:Helvetica, Arial;}")
		document.write(".f3e{font-size:15px; font-family:Helvetica, Arial;}")
		document.write(".f4e{font-size:18px; font-family:Helvetica, Arial;}")
		document.write(".tit14{font-size:14px; text-indent:8px}")
		document.write("font{font-size:12px;}")
		document.write(".j10{font-Size:11px; line-height:14px}")
		document.write(".j12{font-Size:12px; line-height:16px}")
		document.write(".j14{font-Size:15px; line-height:18px}")
	}
}
document.write("--></style>");