var bName = navigator.appName.charAt(0);
var vNum = navigator.appVersion.charAt(0);

if(navigator.appVersion.indexOf("Mac") > -1)
{
if(bName == "M")
{
// MACINTOSH IE
document.writeln("<link rel='stylesheet' type='text/css' href='../mac.css'>");
}
else{
if(vNum < 5)
{
// MACINTOSH NETSCAPE 4.x
document.writeln("<style type='text/css'><!--");
document.writeln("body { Font-Family:Osaka; Font-Size:12px; margin-top:5px; margin-left:2px; margin-right:2px; margin-bottom:2px; background:#ffffff; color:#000000;}");
document.writeln("td,th { Font-Family:Osaka; Font-Size:12px}");
document.writeln("a:link { Color:#0033cc}");
document.writeln("a:visited { Color:#800080}");
document.writeln("a:hover { Color:#6699ff}");
document.writeln("a:active { Color:#cc0000}");
document.writeln(".c10 { Font-Size:10px; Line-Height:13px}");
document.writeln(".c12 { Font-Size:12px; Line-Height:18px}");
document.writeln(".c14 { Font-Size:14px; Line-Height:21px}");
document.writeln(".c18 { Font-Size:18px; Line-Height:23px; Font-Weight:bold}");
document.writeln(".c0 { Font-Size:10px; Line-Height:13px}");
document.writeln(".c1 { Line-Height:18px}");
document.writeln(".c2 { Font-Size:14px; Line-Height:21px}");
document.writeln(".c3 { Font-Size:18px; Line-Height:23px; Font-Weight:bold}");
document.writeln(".cc { Font-Size:16px; Line-Height:24px}");
document.writeln(".br0 { Font-Size:8px}");
document.writeln(".br1 { Font-Size:10px}");
document.writeln(".h1 { Font-Size:18px; margin-top:4px; margin-bottom:4px}");
document.writeln(".h1w { Font-Size:18px; color:#ffffff; margin-top:4px; margin-bottom:4px}");
document.writeln(".h2 { Font-Size:14px}");
document.writeln(".h2s { Font-Size:14px; margin-top:4px; margin-bottom:4px}");
document.writeln(".botton {width:150px; height:22px; color:#ffffff; border-color:#6699ff; background-color:#3366cc}");
document.writeln(".botton2 {height:22px; color:#ffffff; border-color:#6699ff; background-color:#3366cc}");
document.writeln(".or { color:#ff6600}");
document.writeln("--></style>");
}
else
{
// MACINTOSH NETSCAPE 6.x
document.writeln("<link rel='stylesheet' type='text/css' href='../mac.css'>");
}
}
}
else{
if(bName == "M")
{
//WIN IE
document.writeln("<link rel='stylesheet' type='text/css' href='../win.css'>");
}
else{
if(vNum < 5)
{
// WIN NETSCAPE 4.x
document.writeln("<style type='text/css'><!--");
document.writeln("body { Font-Family:‚l‚r ‚oƒSƒVƒbƒN; Font-Size:12px; margin-top:5px; margin-left:2px; margin-right:2px; margin-bottom:2px; background:#ffffff; color:#000000;}");
document.writeln("td,th { Font-Family:‚l‚r ‚oƒSƒVƒbƒN; Font-Size:12px}");
document.writeln("a:link { Color:#0033cc}");
document.writeln("a:visited { Color:#800080}");
document.writeln("a:hover{ Color:#6699ff}");
document.writeln("a:active { Color:#cc0000}");
document.writeln(".c10 { Font-Size:11px; Line-Height:13px}");
document.writeln(".c12 { Font-Size:12px; Line-Height:18px}");
document.writeln(".c14 { Font-Size:14px; Line-Height:21px}");
document.writeln(".c18 { Font-Size:18px; Line-Height:23px; Font-Weight:bold}");
document.writeln(".c0 { Font-Size:11px; Line-Height:13px}");
document.writeln(".c1 { Line-Height:18px}");
document.writeln(".c2 { Font-Size:15px; Line-Height:23px}");
document.writeln(".c3 { Font-Size:18px; Line-Height:23px; Font-Weight:bold}");
document.writeln(".cc { Font-Size:16px; Line-Height:24px}");
document.writeln(".br0 { Font-Size:8px}");
document.writeln(".br1 { Font-Size:10px}");
document.writeln(".h1 { Font-Size:18px; margin-top:4px; margin-bottom:4px}");
document.writeln(".h1w { Font-Size:18px; color:#ffffff; margin-top:4px; margin-bottom:4px}");
document.writeln(".h2 { Font-Size:14px}");
document.writeln(".h2s { Font-Size:14px; margin-top:4px; margin-bottom:4px}");
document.writeln(".botton {width:150px; height:22px; color:#ffffff; border-color:#6699ff; background-color:#3366cc}");
document.writeln(".botton2 {height:22px; color:#ffffff; border-color:#6699ff; background-color:#3366cc}");
document.writeln(".or { color:#ff6600}");
document.writeln("--></style>");
}
else
{
// WIN NETSCAPE 6.x
document.writeln("<link rel='stylesheet' type='text/css' href='../win.css'>");
}
}
}
