browserName = navigator.appName;
browserVer = parseInt(navigator.appVersion);
browserOs = navigator.platform;


// Browser,Ver dispatch
nn3up = (browserName == "Netscape" && (browserVer >= 3 && browserVer < 5));
nn6   = (browserName == "Netscape" && browserVer == 5);
ie4 = (browserName.indexOf("Microsoft") >= 0 && (browserVer >= 4 && browserVer < 5));
ie5up = (browserName.indexOf("Microsoft") >= 0 && browserVer >= 5);

document.writeln("<STYLE TYPE='text/css'><!--")

if(navigator.appVersion.indexOf("Mac") > 1){

if(ie4){ // Mac IE 4.0
	
document.writeln("body,tr,td,br{font-size:100%;}");
document.writeln(".large{font-size:14px;line-height:16px;}");
document.writeln(".middle12{font-size:12px;line-height:12px;}");
document.writeln(".middle{font-size:12px;line-height:14px;}");
document.writeln(".middle18{font-size:12px;line-height:18px;}");
document.writeln(".middle20{font-size:12px;line-height:20px;}");
document.writeln(".middle16{font-size:12px;line-height:16px;}");
document.writeln(".middle15{font-size:12px;line-height:15px;}");
document.writeln(".small{font-size:0.8em;line-height: 120%}");
document.writeln(".small12{font-size:10px;line-height:12px;}");
document.writeln(".font1{font-size:12px;line-height:130%;}");
document.writeln(".font2{font-size:0.90em;line-height: 130%}");
document.writeln(".font3{font-size:0.85em;line-height: 130%}");
document.writeln(".font4{font-size:11px;line-height: 14px}");
document.writeln(".font5{font-size:0.85em;line-height: 180%}");
document.writeln(".font6{font-size:0.98em;line-height: 145%}");
document.writeln(".table{font-size:0.98em;line-height: 145%}");
document.writeln(".font7{font-size:0.88em;line-height: 140%}");
document.writeln(".font8{font-size:1.10em;line-height: 150%}");


	}	

if(ie5up){// Mac IE over 5.0
	
document.writeln("body,tr,td,br{font-size:100%;}");
document.writeln(".large{font-size:14px;line-height:16px;}");
document.writeln(".middle12{font-size:12px;line-height:12px;}");
document.writeln(".middle{font-size:12px;line-height:14px;}");
document.writeln(".middle20{font-size:12px;line-height:20px;}");
document.writeln(".middle18{font-size:12px;line-height:18px;}");
document.writeln(".middle16{font-size:12px;line-height:16px;}");
document.writeln(".middle15{font-size:12px;line-height:15px;}");
document.writeln(".small{font-size:0.7em;line-height: 120%}");
document.writeln(".small12{font-size:10px;line-height:12px;}");
document.writeln(".font1{font-size:12px;line-height:130%;}");
document.writeln(".font2{font-size:0.90em;line-height: 120%}");
document.writeln(".font3{font-size:0.85em;line-height: 120%}");
document.writeln(".font4{font-size:0.85em;line-height: 150%}");
document.writeln(".font5{font-size:0.85em;line-height: 180%}");
document.writeln(".font6{font-size:0.98em;line-height: 145%}");
document.writeln(".table{font-size:0.98em;line-height: 145%}");
document.writeln(".font7{font-size:0.88em;line-height: 140%}");
document.writeln(".font8{font-size:0.99em;line-height: 150%}");
	}

if(nn6){// MacNN6
	
document.writeln("body,tr,td,br{font-size:100%;}");
document.writeln(".large{font-size:14px;line-height:16px;}");
document.writeln(".middle12{font-size:12px;line-height:12px;}");
document.writeln(".middle{font-size:12px;line-height:14px;}");
document.writeln(".middle20{font-size:12px;line-height:20px;}");
document.writeln(".middle18{font-size:12px;line-height:18px;}");
document.writeln(".middle16{font-size:12px;line-height:16px;}");
document.writeln(".middle15{font-size:12px;line-height:15px;}");
document.writeln(".small{font-size:0.8em;line-height: 120%}");
document.writeln(".small12{font-size:10px;line-height:12px;}");
document.writeln(".font1{font-size:12px;line-height:130%;}");
document.writeln(".font2{font-size:0.96em;line-height: 120%}");
document.writeln(".font3{font-size:0.90em;line-height: 120%}");
document.writeln(".font4{font-size:0.90em;line-height: 130%}");
document.writeln(".font5{font-size:0.90em;line-height: 180%}");
document.writeln(".font6{font-size:1.10em;line-height: 145%}");
document.writeln(".table{font-size:1.10em;line-height: 145%}");
document.writeln(".font7{font-size:1.10em;line-height: 140%}");
document.writeln(".font8{font-size:1.20em;line-height: 150%}");
	}

if(nn3up){// Mac NN Lower Ver.

document.writeln("body,tr,td,br{font-size:100%;}");
document.writeln(".large{font-size:14px;line-height:16px;}");
document.writeln(".middle12{font-size:12px;line-height:12px;}");
document.writeln(".middle{font-size:12px;line-height:14px;}");
document.writeln(".middle20{font-size:12px;line-height:20px;}");
document.writeln(".middle18{font-size:12px;line-height:18px;}");
document.writeln(".middle16{font-size:12px;line-height:16px;}");
document.writeln(".middle15{font-size:12px;line-height:15px;}");
document.writeln(".small{font-size:0.8em;line-height: 120%}");
document.writeln(".small12{font-size:10px;line-height:12px;}");
document.writeln(".font1{font-size:12px;line-height:130%;}");
document.writeln(".font2{font-size:1.05em;line-height: 130%}");
document.writeln(".font3{font-size:1.00em;line-height: 130%}");
document.writeln(".font4{font-size:1.00em;line-height: 140%}");
document.writeln(".font5{font-size:1.00em;line-height: 180%}");
document.writeln(".font6{font-size:1.08em;line-height: 145%}");
document.writeln(".table{font-size:1.08em;line-height: 145%}");
document.writeln(".font7{font-size:1.04em;line-height: 140%}");
document.writeln(".font8{font-size:1.10em;line-height: 150%}");
	}

}


else{

if(ie4 || ie5up){// WIN IE

document.writeln("body,tr,td,br{font-size:100%;}");
document.writeln(".large{font-size:14px;line-height:16px;}");
document.writeln(".middle12{font-size:12px;line-height:12px;}");
document.writeln(".middle{font-size:12px;line-height:14px;}");
document.writeln(".middle20{font-size:12px;line-height:20px;}");
document.writeln(".middle18{font-size:12px;line-height:18px;}");
document.writeln(".middle16{font-size:12px;line-height:16px;}");
document.writeln(".middle15{font-size:12px;line-height:15px;}");
document.writeln(".small{font-size:0.7em;line-height: 120%}");
document.writeln(".small12{font-size:10px;line-height:12px;}");
document.writeln(".font1{font-size:12px;line-height:130%;}");
document.writeln(".font2{font-size:1.00em;line-height: 120%}");
document.writeln(".font3{font-size:0.94em;line-height: 120%}");
document.writeln(".font4{font-size:0.80em;line-height: 120%}");
document.writeln(".font5{font-size:0.80em;line-height: 190%}");
document.writeln(".font6{font-size:0.98em;line-height: 145%}");
document.writeln(".table{font-size:0.98em;line-height: 145%}");
document.writeln(".font7{font-size:0.98em;line-height: 140%}");
document.writeln(".font8{font-size:1.10em;line-height: 150%}");
	}

if(nn6){// WIN NN6

document.writeln("body,tr,td,br{font-size:100%;}");
document.writeln(".large{font-size:14px;line-height:16px;}");
document.writeln(".middle12{font-size:12px;line-height:12px;}");
document.writeln(".middle{font-size:12px;line-height:14px;}");
document.writeln(".middle20{font-size:12px;line-height:20px;}");
document.writeln(".middle18{font-size:12px;line-height:18px;}");
document.writeln(".middle16{font-size:12px;line-height:16px;}");
document.writeln(".middle15{font-size:12px;line-height:15px;}");
document.writeln(".small{font-size:0.7em;line-height: 120%}");
document.writeln(".small12{font-size:10px;line-height:12px;}");
document.writeln(".font1{font-size:12px;line-height:130%;}");
document.writeln(".font2{font-size:0.85em;line-height: 110%}");
document.writeln(".font3{font-size:0.80em;line-height: 110%}");
document.writeln(".font4{font-size:0.80em;line-height: 120%}");
document.writeln(".font5{font-size:0.80em;line-height: 180%}");
document.writeln(".font6{font-size:0.98em;line-height: 135%}");
document.writeln(".table{font-size:0.98em;line-height: 135%}");
document.writeln(".font7{font-size:0.84em;line-height: 120%}");
document.writeln(".font8{font-size:1.10em;line-height: 140%}");
	}

if(nn3up){// WIN NN Lower Ver.
		
document.writeln("body,tr,td,br{font-size:100%;}");
document.writeln(".large{font-size:14px;line-height:16px;}");
document.writeln(".middle12{font-size:12px;line-height:12px;}");
document.writeln(".middle{font-size:12px;line-height:14px;}");
document.writeln(".middle20{font-size:12px;line-height:20px;}");
document.writeln(".middle18{font-size:12px;line-height:18px;}");
document.writeln(".middle16{font-size:12px;line-height:16px;}");
document.writeln(".middle15{font-size:12px;line-height:15px;}");
document.writeln(".small{font-size:0.8em;line-height: 120%}");
document.writeln(".small12{font-size:10px;line-height:12px;}");
document.writeln(".font1{font-size:12px;line-height:130%;}");
document.writeln(".font2{font-size:1.05em;line-height: 100%}");
document.writeln(".font3{font-size:1.00em;line-height: 100%}");
document.writeln(".font4{font-size:1.00em;line-height: 130%}");
document.writeln(".font5{font-size:1.00em;line-height: 180%}");
document.writeln(".font6{font-size:1.10em;line-height: 175%}");
document.writeln(".table{font-size:1.10em;line-height: 175%}");
document.writeln(".font7{font-size:1.20em;line-height: 130%}");
document.writeln(".font8{font-size:1.30em;line-height: 175%}");
	}

}

// COMMON

document.writeln(".font1 a:link {text-decoration: underline;color: #000000}");
document.writeln(".font1 a:visited {text-decoration: underline;color: #000000}");
document.writeln(".font1 a:hover {text-decoration: underline;color: #FC822C}");

document.writeln("a:link {text-decoration: underline: #0000FF}");
document.writeln("a:visited {text-decoration: underline;color: #800080}");
//document.writeln("a:hover {text-decoration: underline;color: #FC822C}");
document.writeln("a:active {text-decoration: underline;color: #FC822C}");
document.writeln(".form{font-size:12px;width:95%; font-family:ＭＳ Ｐゴシック,Osaka}");
document.writeln(".lh14{font-size:100%;line-height:130%}");
document.writeln(".error{color:#f00;font-weight:bold}");

document.writeln("A.coordi:link    { text-decoration:none;}");
document.writeln("A.coordi:visited { text-decoration:none;}");
document.writeln("A.coordi:active  { text-decoration:none;}");
document.writeln("A.coordi:hover  { text-decoration:none;}");


// TOPPAGE STYLE --

document.writeln("A.foods:link     { color:#333333; }");
document.writeln("A.foods:visited  { color:#333333; }");
//document.writeln("A.foods:hover    { color:#FC822C; }");
document.writeln("A.foods:active   { color:#FC822C; }");

document.writeln("A.search:link    { text-decoration:none; color:#990000; }");
document.writeln("A.search:visited { text-decoration:none; color:#990000; }");
//document.writeln("A.search:hover   { text-decoration:none; color:#FFFFFF; }");
document.writeln("A.search:active  { text-decoration:none; color:#FFFFFF; }");

document.writeln("A.club:link      { color:#006600; }");
document.writeln("A.club:visited   { color:#006600; }");
//document.writeln("A.club:hover     { color:#FC822C; }");
document.writeln("A.club:active    { color:#FC822C; }");

document.writeln("A.recipe:link    { color:#CC0000; }");
document.writeln("A.recipe:visited { color:#CC0000; }");
//document.writeln("A.recipe:hover   { color:#FC822C; }");
document.writeln("A.recipe:active  { color:#FC822C; }");

document.writeln("A.style:link     { color:#B08500; }");
document.writeln("A.style:visited  { color:#B08500; }");
//document.writeln("A.style:hover    { color:#FC822C; }");
document.writeln("A.style:active   { color:#FC822C; }");

if(!document.layers) {
document.writeln("INPUT.tArea { border:1px solid #000000; }");
document.writeln("INPUT.btn   { border:1px solid #000000; background-color:#009966; color:#FFFFFF; }");
}

// -- TOPPAGE STYLE

document.writeln("--></STYLE>");



