/* 
   [Font Control(default  WinIE)]
   Last update on 2002.10.19
*/
var vNum = navigator.appVersion.charAt(0);
var bName = navigator.appName.charAt(0);

/* css link */
if(navigator.appVersion.indexOf("Mac") > -1){
	if( bName == "M"){
		// Macintosh IE 5
		document.writeln("<link rel='stylesheet' href='http://www.yanoman.co.jp/yokai53/css/custom_m.css' type='text/css'>");

	}else{
		if( vNum < 5 ){
			// Macintosh NETSCAPE 4.x
		document.writeln("<link rel='stylesheet' href='http://www.yanoman.co.jp/yokai53/css/custom_nn4_m.css' type='text/css'>");

		}else{
			// Macintosh NETSCAPE 6.x~
		document.writeln("<link rel='stylesheet' href='http://www.yanoman.co.jp/yokai53/css/custom_nn6.css' type='text/css'>");

		}
	}
}else{
	if( bName == "M"){
		// Windows IE
		document.writeln("<link rel='stylesheet' href='http://www.yanoman.co.jp/yokai53/css/custom.css' type='text/css'>");

	}else{
		if( vNum < 5 ){
			// Windows NETSCAPE 4.x
		document.writeln("<link rel='stylesheet' href='http://www.yanoman.co.jp/yokai53/css/custom_nn4.css' type='text/css'>");

		}else{
			// Windows NETSCAPE 6.x~
		document.writeln("<link rel='stylesheet' href='http://www.yanoman.co.jp/yokai53/css/custom_nn6.css' type='text/css'>");

		}
	}
}


