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:12px;font-family:Osaka,'ＭＳ ゴシック';}"); 
document.writeln(".ja12{font-Size:12px; line-height:14px;font-family:Osaka,'ＭＳ ゴシック';}");
document.writeln(".ja12a{font-Size:12px; line-height:17px;font-family:Osaka,'ＭＳ ゴシック';}");
document.writeln(".ja14{font-Size:14px; line-height:20px;font-family:Osaka,'ＭＳ ゴシック';}");
document.writeln(".red12{font-Size:12px; line-height:14px;font-family:Osaka,'ＭＳ ゴシック'; color:#ff0033;}");
document.writeln(".red14{font-Size:14px; line-height:20px;font-family:Osaka,'ＭＳ ゴシック'; color:#ff0033;}");
document.writeln(".red16{font-Size:17px; line-height:20px;font-family:Osaka,'ＭＳ ゴシック'; color:#ff0033;}");
document.writeln(".blue12{font-Size:12px; line-height:14px;font-family:Osaka,'ＭＳ ゴシック'; color:#006699;}");
document.writeln(".white12{font-Size:12px; line-height:20px;font-family:Osaka,'ＭＳ ゴシック'; color:#ffffff;}");
document.writeln(".brown8{font-Size:8px; line-height:12px;font-family:Osaka,'ＭＳＰ ゴシック'; color:#583100;}");
document.writeln(".brown10{font-Size:11px; line-height:12px;font-family:Osaka,'ＭＳ ゴシック'; color:#583100;}"); 
document.writeln(".brown12{font-Size:12px; line-height:14px;font-family:Osaka,'ＭＳＰ ゴシック'; color:#583100;}");
document.writeln(".darkbrown12{font-Size:12px; line-height:14px;font-family:Osaka,'ＭＳＰ ゴシック'; color:#330000;}");
}
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:13px;font-family:Osaka;}");
document.writeln(".ja12{font-Size:12px; line-height:14px;font-family:Osaka;}");
document.writeln(".ja12a{font-Size:12px; line-height:17px;font-family:Osaka;}");
document.writeln(".ja14{font-Size:14px; line-height:20px;font-family:Osaka;}");
document.writeln(".red12{font-Size:12px; line-height:14px;font-family:Osaka; color:#ff0033;}");
document.writeln(".red14{font-Size:14px; line-height:20px;font-family:Osaka; color:#ff0033;}");
document.writeln(".red16{font-Size:16px; line-height:20px;font-family:Osaka; color:#ff0033;}");
document.writeln(".blue12{font-Size:12px; line-height:14px;font-family:Osaka; color:#006699;}");
document.writeln(".white12{font-Size:12px; line-height:20px;font-family:Osaka; color:#ffffff;}");
document.writeln(".brown8{font-Size:8px; line-height:12px;font-family:Osaka; color:#583100;}");
document.writeln(".brown10{font-Size:11px; line-height:13px;font-family:Osaka; color:#583100;}");
document.writeln(".brown12{font-Size:12px; line-height:14px;font-family:Osaka; color:#583100;}");
document.writeln(".darkbrown12{font-Size:12px; line-height:14px;font-family:Osaka; color:#330000;}");
}
else
{
// MAC NETSCAPE 6.x~ Safari Firefox
document.writeln(".ja9{font-size:9px; line-height:12px;font-family:Osaka,'ＭＳ ゴシック';}");
document.writeln(".ja10{font-Size:11px; line-height:13px;font-family:Osaka,'ＭＳ ゴシック';}"); 
document.writeln(".ja12{font-Size:12px; line-height:14px;font-family:Osaka,'ＭＳ ゴシック';}");
document.writeln(".ja12a{font-Size:12px; line-height:17px;font-family:Osaka,'ＭＳ ゴシック';}");
document.writeln(".ja14{font-Size:14px; line-height:20px;font-family:Osaka,'ＭＳ ゴシック';}");
document.writeln(".red12{font-Size:12px; line-height:14px;font-family:Osaka,'ＭＳ ゴシック'; color:#ff0033;}");
document.writeln(".red14{font-Size:14px; line-height:20px;font-family:Osaka,'ＭＳ ゴシック'; color:#ff0033;}");
document.writeln(".red16{font-Size:16px; line-height:20px;font-family:Osaka,'ＭＳ ゴシック'; color:#ff0033;}");
document.writeln(".blue12{font-Size:12px; line-height:14px;font-family:Osaka,'ＭＳ ゴシック'; color:#006699;}");
document.writeln(".white12{font-Size:14px; line-height:20px;font-family:Osaka,'ＭＳ ゴシック'; color:#ffffff;}");
document.writeln(".brown8{font-Size:8px; line-height:12px;font-family:Osaka,'ＭＳＰ ゴシック'; color:#583100;}");
document.writeln(".brown10{font-Size:9px; line-height:12px;font-family:Osaka,'ＭＳＰ ゴシック'; color:#583100;}");
document.writeln(".brown12{font-Size:13px; line-height:14px;font-family:Osaka,'ＭＳＰ ゴシック'; color:#583100;}");
document.writeln(".darkbrown12{font-Size:13px; line-height:14px;font-family:Osaka,'ＭＳＰ ゴシック'; color:#330000;}");
}
}
}
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:13px;font-family:Osaka,'ＭＳＰ ゴシック';}");
document.writeln(".ja12{font-Size:12px; line-height:15px;font-family:Osaka,'ＭＳＰ ゴシック';}");
document.writeln(".ja12a{font-Size:12px; line-height:17px;font-family:Osaka,'ＭＳＰ ゴシック';}");
document.writeln(".ja14{font-Size:14px; line-height:20px;font-family:Osaka,'ＭＳＰ ゴシック';}");
document.writeln(".red12{font-Size:12px; line-height:14px;font-family:Osaka,'ＭＳＰ ゴシック'; color:#ff0033;}");
document.writeln(".red14{font-Size:14px; line-height:20px;font-family:Osaka,'ＭＳＰ ゴシック'; color:#ff0033;}");
document.writeln(".red16{font-Size:16px; line-height:20px;font-family:Osaka,'ＭＳＰ ゴシック'; color:#ff0033;}");
document.writeln(".blue12{font-Size:12px; line-height:14px;font-family:Osaka,'ＭＳＰ ゴシック'; color:#006699;}");
document.writeln(".white12{font-Size:14px; line-height:20px;font-family:Osaka,'ＭＳＰ ゴシック'; color:#ffffff;}");
document.writeln(".brown8{font-Size:8px; line-height:12px;font-family:Osaka,'ＭＳＰ ゴシック'; color:#583100;}");
document.writeln(".brown10{font-Size:11px; line-height:13px;font-family:Osaka,'ＭＳＰ ゴシック'; color:#583100;}");
document.writeln(".brown12{font-Size:12px; line-height:14px;font-family:Osaka,'ＭＳＰ ゴシック'; color:#583100;}");
document.writeln(".darkbrown12{font-Size:12px; line-height:14px;font-family:Osaka,'ＭＳＰ ゴシック'; color:#330000;}");
document.writeln("div#wrapper{height: 100%;min-height: ;}");

}
else
{
if( vNum < 5 )
{
// WIN NETSCAPE 4.x
document.writeln(".ja9{font-size:10px; line-height:12px;letter-spacing:1px;}");
document.writeln(".ja10{font-Size:11px; line-height:12px;letter-spacing:1px;}");
document.writeln(".ja12{font-Size:13px; line-height:14px;letter-spacing:1px;}");
document.writeln(".ja12a{font-Size:13px; line-height:17px;letter-spacing:1px;}");
document.writeln(".ja14{font-Size:15px; line-height:20px;letter-spacing:1px;}");
document.writeln(".red12{font-Size:13px; line-height:14px;letter-spacing:1px; color:#ff0033;}");
document.writeln(".red14{font-Size:14px; line-height:20px;letter-spacing:1px; color:#ff0033;}");
document.writeln(".red16{font-Size:16px; line-height:20px;letter-spacing:1px; color:#ff0033;}");
document.writeln(".blue12{font-Size:13px; line-height:14px;letter-spacing:1px; color:#006699;}");
document.writeln(".red14{font-Size:15px; line-height:20px;letter-spacing:1px; color:#ff0033;}");
document.writeln(".white12{font-Size:13px; line-height:20px;letter-spacing:1px; color:#ffffff;}");
document.writeln(".brown8{font-Size:9px; line-height:12px; color:#583100;}");
document.writeln(".ja10{font-Size:11px; line-height:12px;letter-spacing:1px; color:#583100}");
document.writeln(".brown12{font-Size:13px; line-height:14px; color:#583100;}");
document.writeln(".darkbrown12{font-Size:13px; line-height:14px; color:#330000;}");
}
else
{
// WIN NETSCAPE 6.x~ FireFOX
document.writeln(".ja9{font-size:10px;line-height:12px;font-family:Osaka,'ＭＳＰ ゴシック';letter-spacing:1px;}");
document.writeln(".ja10{font-Size:10px;  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(".ja12a{font-Size:13px; line-height:17px;font-family:Osaka,'ＭＳＰ ゴシック';letter-spacing:1px;}");
document.writeln(".ja14{font-Size:15px;line-height:20px;font-family:Osaka,'ＭＳＰ ゴシック';letter-spacing:1px;}");
document.writeln(".red12{font-Size:13px;line-height:14px;font-family:Osaka,'ＭＳＰ ゴシック';letter-spacing:1px; color:#ff0033;}");
document.writeln(".red14{font-Size:15px; line-height:20px;font-family:Osaka,'ＭＳＰ ゴシック';letter-spacing:1px; color:#ff0033;}");
document.writeln(".red16{font-Size:16px; line-height:20px;font-family:Osaka,'ＭＳＰ ゴシック';letter-spacing:1px; color:#ff0033;}");
document.writeln(".blue12{font-Size:13px;line-height:14px;font-family:Osaka,'ＭＳＰ ゴシック';letter-spacing:1px; color:#006699;}");
document.writeln(".red14{font-Size:15px;line-height:20px;font-family:Osaka,'ＭＳＰ ゴシック';letter-spacing:1px; color:#ff0033;}");
document.writeln(".white12{font-Size:13px;line-height:20px;font-family:Osaka,'ＭＳＰ ゴシック';letter-spacing:1px; color:#ffffff;}");
document.writeln(".brown8{font-Size:8px; line-height:12px;font-family:Osaka,'ＭＳＰ ゴシック';letter-spacing:1px; color:#583100;}");
document.writeln(".brown10{font-Size:10px;  line-height:13px;font-family:Osaka,'ＭＳＰ ゴシック';letter-spacing:1px; color:#583100;}");
document.writeln(".brown12{font-Size:13px; line-height:14px;font-family:Osaka,'ＭＳＰ ゴシック';letter-spacing:1px; color:#583100;}");
document.writeln(".darkbrown12{font-Size:13px; line-height:14px;font-family:Osaka,'ＭＳＰ ゴシック';letter-spacing:1px; color:#330000;}");
}
}
}
 document.writeln("--></STYLE>");

