mac=(navigator.appVersion.indexOf("Mac",0) != -1)?true:false;
ie=(navigator.appName.charAt(0) == "M")?true:false;

document.write("<style type='text/css'><!--")
if(mac){
	//For Macintosh IE NS
	if(ie){
	//For Mac IE
	document.write("body{font-size:11px; color:#503F34; padding:0px; margin:0px; background-color:#FFFFFF;}")
	document.write("input,select,textarea{font-size:11px;}")
	document.write("td{font-size:11px;}")
	document.write(".s10{font-size:9px;}")
	document.write(".s11{font-size:10px;}")
	document.write(".s14{font-size:12px;}")
	document.write(".red{color:#E20C26}")
	document.write(".brown{color:#8E0006}")
	document.write(".blue{color:#0033FF}")
	document.write(".white{color:#FFFFFF}")
	document.write(".error{color:#FF0000}")
	document.write(".title{font-size:12px; color:#8E0006; font-weight:bold;}")
	document.write(".title_new{font-size:12px; color:#FFAE00; font-weight:bold;}")
	document.write(".title_label{font-size:12px; color:#008C8C; font-weight:bold;}")
	document.write(".title_riyou{font-size:14px; color:#6E4C10; font-weight:bold;}")
	document.write(".square{font-size:14px; color:#3B5236;}")
	document.write(".label{font-size:12px; color:#96E673; font-weight:bold;}")
	document.write(".price{font-size:13px; color:#E20C26; font-weight:bold;}")
	document.write(".menu_cat{font-size:13px; color:#FFFFFF; font-weight:bold;}")
	document.write(".question{font-size:16px; color:#003399; font-weight:bold;}")
	document.write(".answer{font-size:14px; color:#E20C26; font-weight:bold;}")
	}
	else{
	//For Mac NS
		if(!document.all && document.getElementById){
		//Ver. 6.0
			document.write("body{font-size:11px; color:#503F34; padding:0px; margin:0px; background-color:#FFFFFF;}")
			document.write("input,select,textarea{font-size:11px;}")
			document.write("td{font-size:10.5px;}")
			document.write(".s10{font-size:9px;}")
			document.write(".s11{font-size:10px;}")
			document.write(".s14{font-size:12px;}")
			document.write(".red{color:#E20C26}")
			document.write(".brown{color:#8E0006}")
			document.write(".blue{color:#0033FF}")
			document.write(".white{color:#FFFFFF}")
			document.write(".error{color:#FF0000}")
			document.write(".title{font-size:12px; color:#8E0006; font-weight:bold;}")
			document.write(".title_new{font-size:12px; color:#FFAE00; font-weight:bold;}")
			document.write(".title_label{font-size:12px; color:#008C8C; font-weight:bold;}")
			document.write(".title_riyou{font-size:14px; color:#6E4C10; font-weight:bold;}")
			document.write(".square{font-size:14px; color:#3B5236;}")
			document.write(".label{font-size:12px; color:#96E673; font-weight:bold;}")
			document.write(".price{font-size:13px; color:#E20C26; font-weight:bold;}")
			document.write(".menu_cat{font-size:13px; color:#FFFFFF; font-weight:bold;}")
			document.write(".question{font-size:16px; color:#003399; font-weight:bold;}")
			document.write(".answer{font-size:14px; color:#E20C26; font-weight:bold;}")
		}
		else{
		//Ver. etc
		document.write("body{font-size:12px; color:#503F34; padding:0px; margin:0px; background-color:#FFFFFF;}")
		document.write("input,select,textarea{font-size:12px;}")
		document.write("td{font-size:12px;}")
		document.write(".s10{font-size:10px;}")
		document.write(".s11{font-size:11px;}")
		document.write(".s14{font-size:14px;}")
		document.write(".red{color:#E20C26}")
		document.write(".brown{color:#8E0006}")
		document.write(".blue{color:#0033FF}")
		document.write(".white{color:#FFFFFF}")
		document.write(".error{color:#FF0000}")
		document.write(".title{font-size:14px; color:#8E0006; font-weight:bold;}")
		document.write(".title_new{font-size:14px; color:#FFAE00; font-weight:bold;}")
		document.write(".title_label{font-size:14px; color:#008C8C; font-weight:bold;}")
		document.write(".title_riyou{font-size:16px; color:#6E4C10; font-weight:bold;}")
		document.write(".square{font-size:16px; color:#3B5236;}")
		document.write(".label{font-size:14px; color:#96E673; font-weight:bold;}")
		document.write(".price{font-size:15px; color:#E20C26; font-weight:bold;}")
		document.write(".menu_cat{font-size:13.5px; color:#FFFFFF; font-weight:bold;}")
		document.write(".question{font-size:18px; color:#003399; font-weight:bold;}")
		document.write(".answer{font-size:16px; color:#E20C26; font-weight:bold;}")
		}
	}
}
else{
	if(ie){
	//For Windows IE
	document.write("body{font-size:12px; color:#503F34; padding:0px; margin:0px; background-color:#FFFFFF;}")
	document.write("input,select,textarea{font-size:12px;}")
	document.write("td{font-size:12px;}")
	document.write(".s10{font-size:10px;}")
	document.write(".s11{font-size:11px;}")
	document.write(".s14{font-size:14px;}")
	document.write(".red{color:#E20C26}")
	document.write(".brown{color:#8E0006}")
	document.write(".blue{color:#0033FF}")
	document.write(".white{color:#FFFFFF}")
	document.write(".error{color:#FF0000}")
	document.write(".title{font-size:14px; color:#8E0006; font-weight:bold;}")
	document.write(".title_new{font-size:14px; color:#FFAE00; font-weight:bold;}")
	document.write(".title_label{font-size:14px; color:#008C8C; font-weight:bold;}")
	document.write(".title_riyou{font-size:16px; color:#6E4C10; font-weight:bold;}")
	document.write(".square{font-size:16px; color:#3B5236;}")
	document.write(".label{font-size:14px; color:#96E673; font-weight:bold;}")
	document.write(".price{font-size:15px; color:#E20C26; font-weight:bold;}")
	document.write(".menu_cat{font-size:13.5px; color:#FFFFFF; font-weight:bold;}")
	document.write(".question{font-size:18px; color:#003399; font-weight:bold;}")
	document.write(".answer{font-size:16px; color:#E20C26; font-weight:bold;}")
	}
	else{
	//For Windows NS
		if(!document.all && document.getElementById){
		//Ver. 6.0
		document.write("body{font-size:12px; color:#503F34; padding:0px; margin:0px; background-color:#FFFFFF;}")
		document.write("input,select,textarea{font-size:12px;}")
		document.write("td{font-size:12px;}")
		document.write(".s10{font-size:10px;}")
		document.write(".s11{font-size:11px;}")
		document.write(".s14{font-size:14px;}")
		document.write(".red{color:#E20C26}")
		document.write(".brown{color:#8E0006}")
		document.write(".blue{color:#0033FF}")
		document.write(".white{color:#FFFFFF}")
		document.write(".error{color:#FF0000}")
		document.write(".title{font-size:14px; color:#8E0006; font-weight:bold;}")
		document.write(".title_new{font-size:14px; color:#FFAE00; font-weight:bold;}")
		document.write(".title_label{font-size:14px; color:#008C8C; font-weight:bold;}")
		document.write(".title_riyou{font-size:16px; color:#6E4C10; font-weight:bold;}")
		document.write(".square{font-size:16px; color:#3B5236;}")
		document.write(".label{font-size:14px; color:#96E673; font-weight:bold;}")
		document.write(".price{font-size:15px; color:#E20C26; font-weight:bold;}")
		document.write(".menu_cat{font-size:13.5px; color:#FFFFFF; font-weight:bold;}")
		document.write(".question{font-size:18px; color:#003399; font-weight:bold;}")
		document.write(".answer{font-size:16px; color:#E20C26; font-weight:bold;}")
		}
		else{
		//Ver. etc
		document.write("body{font-size:12px; color:#503F34; padding:0px; margin:0px; background-color:#FFFFFF;}")
		document.write("input,select,textarea{font-size:12px;}")
		document.write("td{font-size:12px;}")
		document.write(".s10{font-size:10px;}")
		document.write(".s11{font-size:11px;}")
		document.write(".s14{font-size:14px;}")
		document.write(".red{color:#E20C26}")
		document.write(".brown{color:#8E0006}")
		document.write(".blue{color:#0033FF}")
		document.write(".white{color:#FFFFFF}")
		document.write(".error{color:#FF0000}")
		document.write(".title{font-size:14px; color:#8E0006; font-weight:bold;}")
		document.write(".title_new{font-size:14px; color:#FFAE00; font-weight:bold;}")
		document.write(".title_label{font-size:14px; color:#008C8C; font-weight:bold;}")
		document.write(".title_riyou{font-size:16px; color:#6E4C10; font-weight:bold;}")
		document.write(".square{font-size:16px; color:#3B5236;}")
		document.write(".label{font-size:14px; color:#96E673; font-weight:bold;}")
		document.write(".price{font-size:15px; color:#E20C26; font-weight:bold;}")
		document.write(".menu_cat{font-size:13.5px; color:#FFFFFF; font-weight:bold;}")
		document.write(".question{font-size:18px; color:#003399; font-weight:bold;}")
		document.write(".answer{font-size:16px; color:#E20C26; font-weight:bold;}")
		}
	}
}
document.write("--></style>");
