var osName=navigator.appVersion;
var browser=navigator.appName;

document.writeln("<STYLE TYPE='text/css'><!--");

if(osName.indexOf('Mac')!=-1){
	document.writeln(".s01{font-Size:10px;color:#8D7A54;line-height:12px}");
	document.writeln(".m01{font-size:12px;color:#ffffff;line-height:14px}");
	document.writeln(".b01{font-size:14px;color:#ffffff;line-height:16px}");
	document.writeln(".b02{font-Size:14px;color:#ffffff;line-height:18px}");
	document.writeln("#s01{font-Size:10px;color:#8D7A54;line-height:12px}");
	}
	else if(osName.indexOf('Win')!=-1){
      		if(browser.charAt(0)=="N"){
		document.writeln(".s01{font-Size:12px;color:#8D7A54;line-height:14px}");
		document.writeln(".m01{font-size:12px;color:#ffffff;line-height:14px}");
		document.writeln(".b01{font-size:16px;color:#ffffff;line-height:18px}");
		document.writeln(".b02{font-Size:16px;color:#ffffff;line-height:18px}");
		document.writeln("#s01{font-Size:10px;color:#8D7A54;line-height:12px}");
		}
			else if(browser.charAt(0)=="M"){
				document.writeln(".s01{font-Size:10px;color:#8D7A54;line-height:14px}");
				document.writeln(".m01{font-size:12px;color:#ffffff;line-height:14px}");
				document.writeln(".b01{font-size:14px;color:#ffffff;line-height:18px}");
				document.writeln(".b02{font-Size:14px;color:#ffffff;line-height:18px}");
				document.writeln("#s01{font-Size:10px;color:#8D7A54;line-height:12px}");
				}
		}

<!-- サイト内の標準文字サイズ指定とテーブルtd内の標準文字サイズ指定 //-->
document.writeln(".c01,body,td{font-size:12px;color:#8D7A54;line-height:14px}");

<!-- サイト内の標準文字サイズ指定とテーブルtd内の標準文字サイズ指定 //-->
document.writeln("a:visited { color:#8D7A54;text-decoration:none; }");
document.writeln("a:link { color:#993300;text-decoration:none; }");
document.writeln("a:hover { color:#993300;text-decoration:underline; }");

document.writeln("--></STYLE>");

<!--メニューボタンの制御//-->
var btnFlg=0;
var btnOver=new Array(7);
var btnOff=new Array(7);

for(h=1;h<=6;h++){
	btnOff[h]=new Image;
	btnOff[h].src="img/bt"+h+"1.gif";

	btnOver[h]=new Image;
	btnOver[h].src="img/bt"+h+"2.gif";
	}
	
function btnOverImg(posNum){
	if(btnFlg!=posNum){
		document.images["navi"+posNum].src=btnOver[posNum].src;
	}
}

function btnOffImg(posNum){
	if(btnFlg!=posNum){
		document.images["navi"+posNum].src=btnOff[posNum].src;
	}
}
