var vNum = navigator.appVersion.charAt(0);
var bName = navigator.appName.charAt(0);
document.writeln("<STYLE TYPE='text/css'><!--");
if(navigator.appVersion.indexOf("Mac") > -1)
{
if( bName == "M")
{
// MAC IE
document.writeln(".ja9{font-size:9px; line-height:12px;font-family:Osaka,'ＭＳ ゴシック';}");
document.writeln(".ja10{font-Size:11px; line-height:14px;font-family:Osaka,'ＭＳ ゴシック';}");
document.writeln(".ja12{font-Size:12px; line-height:18px;font-family:Osaka,'ＭＳ ゴシック';}");
document.writeln(".ja14{font-Size:14px; line-height:22px;font-family:Osaka,'ＭＳ ゴシック';}");
document.writeln(".gray10{font-Size:11px; line-height:14px;font-family:Osaka,'ＭＳ ゴシック'; color:#666666;}");
document.writeln(".gray12{font-Size:12px; line-height:18px;font-family:Osaka,'ＭＳ ゴシック'; color:#666666;}");
document.writeln(".gray14{font-Size:14px; line-height:22px;font-family:Osaka,'ＭＳ ゴシック'; color:#666666;}");
document.writeln(".red10{font-Size:11px; line-height:14px;font-family:Osaka,'ＭＳ ゴシック'; color:#ff0033;}");
document.writeln(".red12{font-Size:12px; line-height:18px;font-family:Osaka,'ＭＳ ゴシック'; color:#ff0033;}");
document.writeln(".red14{font-Size:14px; line-height:22px;font-family:Osaka,'ＭＳ ゴシック'; color:#ff0033;}");
document.writeln(".blue10{font-Size:11px; line-height:14px;font-family:Osaka,'ＭＳ ゴシック'; color:#006699;}");
document.writeln(".blue12{font-Size:12px; line-height:18px;font-family:Osaka,'ＭＳ ゴシック'; color:#006699;}");
document.writeln(".blue14{font-Size:14px; line-height:22px;font-family:Osaka,'ＭＳ ゴシック'; color:#006699;}");

}
else
{
if( vNum < 5 )
{
// MAC NETSCAPE 4.x
document.writeln(".ja9{font-size:9px; line-height:12px;font-family:Osaka;}");
document.writeln(".ja10{font-Size:11px; line-height:14px;font-family:Osaka;}");
document.writeln(".ja12{font-Size:12px; line-height:18px;font-family:Osaka;}");
document.writeln(".ja14{font-Size:14px; line-height:22px;font-family:Osaka;}");
document.writeln(".gray10{font-Size:11px; line-height:14px;font-family:Osaka; color:#666666;}");
document.writeln(".gray12{font-Size:12px; line-height:18px;font-family:Osaka; color:#666666;}");
document.writeln(".gray14{font-Size:14px; line-height:22px;font-family:Osaka; color:#666666;}");
document.writeln(".red10{font-Size:11px; line-height:14px;font-family:Osaka; color:#ff0033;}");
document.writeln(".red12{font-Size:12px; line-height:18px;font-family:Osaka; color:#ff0033;}");
document.writeln(".red14{font-Size:14px; line-height:22px;font-family:Osaka; color:#ff0033;}");
document.writeln(".blue10{font-Size:11px; line-height:14px;font-family:Osaka; color:#006699;}");
document.writeln(".blue12{font-Size:12px; line-height:18px;font-family:Osaka; color:#006699;}");
document.writeln(".blue14{font-Size:14px; line-height:22px;font-family:Osaka; color:#006699;}");
}
else
{
// MAC NETSCAPE 6.x~
document.writeln(".ja9{font-size:9px; line-height:12px;font-family:Osaka,'ＭＳ ゴシック';}");
document.writeln(".ja10{font-Size:11px; line-height:14px;font-family:Osaka,'ＭＳ ゴシック';}");
document.writeln(".ja12{font-Size:12px; line-height:18px;font-family:Osaka,'ＭＳ ゴシック';}");
document.writeln(".ja14{font-Size:14px; line-height:22px;font-family:Osaka,'ＭＳ ゴシック';}");
document.writeln(".gray10{font-Size:11px; line-height:14px;font-family:Osaka,'ＭＳ ゴシック'; color:#666666;}");
document.writeln(".gray12{font-Size:12px; line-height:18px;font-family:Osaka,'ＭＳ ゴシック'; color:#666666;}");
document.writeln(".gray14{font-Size:14px; line-height:22px;font-family:Osaka,'ＭＳ ゴシック'; color:#666666;}");
document.writeln(".red10{font-Size:11px; line-height:14px;font-family:Osaka,'ＭＳ ゴシック'; color:#ff0033;}");
document.writeln(".red12{font-Size:12px; line-height:18px;font-family:Osaka,'ＭＳ ゴシック'; color:#ff0033;}");
document.writeln(".red14{font-Size:14px; line-height:22px;font-family:Osaka,'ＭＳ ゴシック'; color:#ff0033;}");
document.writeln(".blue10{font-Size:11px; line-height:14px;font-family:Osaka,'ＭＳ ゴシック'; color:#006699;}");
document.writeln(".blue12{font-Size:12px; line-height:18px;font-family:Osaka,'ＭＳ ゴシック'; color:#006699;}");
document.writeln(".blue14{font-Size:14px; line-height:22px;font-family:Osaka,'ＭＳ ゴシック'; color:#006699;}");
}
}
}
else
{
if( bName == "M")
{
// WIN IE
document.writeln(".ja9{font-size:9px; line-height:12px;font-family:Osaka,'ＭＳＰ ゴシック';}");
document.writeln(".ja10{font-Size:11px; line-height:14px;font-family:Osaka,'ＭＳＰ ゴシック';}");
document.writeln(".ja12{font-Size:12px; line-height:15px;font-family:Osaka,'ＭＳＰ ゴシック';}");
document.writeln(".ja14{font-Size:14px; line-height:22px;font-family:Osaka,'ＭＳＰ ゴシック';}");


document.writeln(".gray10{font-Size:11px; line-height:14px;font-family:Osaka,'ＭＳＰ ゴシック'; color:#666666;}");
document.writeln(".gray12{font-Size:12px; line-height:15px;font-family:Osaka,'ＭＳＰ ゴシック'; color:#666666;}");
document.writeln(".gray14{font-Size:14px; line-height:22px;font-family:Osaka,'ＭＳＰ ゴシック'; color:#666666;}");

document.writeln(".red10{font-Size:11px; line-height:14px;font-family:Osaka,'ＭＳＰ ゴシック'; color:#ff0033;}");
document.writeln(".red12{font-Size:12px; line-height:15px;font-family:Osaka,'ＭＳＰ ゴシック'; color:#ff0033;}");
document.writeln(".red14{font-Size:14px; line-height:22px;font-family:Osaka,'ＭＳＰ ゴシック'; color:#ff0033;}");

document.writeln(".blue12{font-Size:11px; line-height:14px;font-family:Osaka,'ＭＳＰ ゴシック'; color:#006699;}");
document.writeln(".blue12{font-Size:12px; line-height:15px;font-family:Osaka,'ＭＳＰ ゴシック'; color:#006699;}");
document.writeln(".blue12{font-Size:14px; line-height:22px;font-family:Osaka,'ＭＳＰ ゴシック'; color:#006699;}");
document.writeln("div#wrapper{height: 100%;min-height: ;}");
document.writeln("div#main_box{height: 100%;}");
}
else
{
if( vNum < 5 )
{
// WIN NETSCAPE 4.x
document.writeln(".ja9{font-size:10px; line-height:14px;letter-spacing:1px;}");
document.writeln(".ja10{font-Size:11px; line-height:14px;letter-spacing:1px;}");
document.writeln(".ja12{font-Size:13px; line-height:16px;letter-spacing:1px;}");
document.writeln(".ja14{font-Size:15px; line-height:20px;letter-spacing:1px;}");


document.writeln(".gray10{font-Size:11px; line-height:14px;letter-spacing:1px; color:#666666;}");
document.writeln(".gray12{font-Size:13px; line-height:16px;letter-spacing:1px; color:#666666;}");
document.writeln(".gray14{font-Size:15px; line-height:20px;letter-spacing:1px; color:#666666;}");

document.writeln(".red10{font-Size:11px; line-height:14px;letter-spacing:1px; color:#ff0033;}");
document.writeln(".red12{font-Size:13px; line-height:16px;letter-spacing:1px; color:#ff0033;}");
document.writeln(".red14{font-Size:15px; line-height:20px;letter-spacing:1px; color:#ff0033;}");

document.writeln(".blue10{font-Size:11px; line-height:14px;letter-spacing:1px; color:#006699;}");
document.writeln(".blue12{font-Size:13px; line-height:16px;letter-spacing:1px; color:#006699;}");
document.writeln(".blue14{font-Size:15px; line-height:20px;letter-spacing:1px; color:#006699;}");
}
else
{
// WIN NETSCAPE 6.x~
document.writeln(".ja9{font-size:10px;line-height:14px;font-family:Osaka,'ＭＳＰ ゴシック';letter-spacing:1px;}");
document.writeln(".ja10{font-Size:11px;  line-height:13px;font-family:Osaka,'ＭＳＰ ゴシック';letter-spacing:1px;}");
document.writeln(".ja12{font-Size:13px;line-height:14px;font-family:Osaka,'ＭＳＰ ゴシック';letter-spacing:1px;}");
document.writeln(".ja14{font-Size:14px;line-height:20px;font-family:Osaka,'ＭＳＰ ゴシック';letter-spacing:1px;}");

document.writeln(".gray10{font-Size:11px;line-height:14px;font-family:Osaka,'ＭＳＰ ゴシック';letter-spacing:1px; color:#666666;}");
document.writeln(".gray12{font-Size:13px;line-height:14px;font-family:Osaka,'ＭＳＰ ゴシック';letter-spacing:1px; color:#666666;}");
document.writeln(".gray14{font-Size:14px;line-height:20px;font-family:Osaka,'ＭＳＰ ゴシック';letter-spacing:1px; color:#666666;}");

document.writeln(".red10{font-Size:11px;line-height:14px;font-family:Osaka,'ＭＳＰ ゴシック';letter-spacing:1px; color:#ff0033;}");
document.writeln(".red12{font-Size:13px;line-height:14px;font-family:Osaka,'ＭＳＰ ゴシック';letter-spacing:1px; color:#ff0033;}");
document.writeln(".red14{font-Size:14px;line-height:20px;font-family:Osaka,'ＭＳＰ ゴシック';letter-spacing:1px; color:#ff0033;}");

document.writeln(".blue10{font-Size:11px;line-height:14px;font-family:Osaka,'ＭＳＰ ゴシック';letter-spacing:1px; color:#006699;}");
document.writeln(".blue12{font-Size:13px;line-height:14px;font-family:Osaka,'ＭＳＰ ゴシック';letter-spacing:1px; color:#006699;}");
document.writeln(".blue14{font-Size:14px;line-height:20px;font-family:Osaka,'ＭＳＰ ゴシック';letter-spacing:1px; color:#006699;}");

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