

/* Apple Design Style Sheet 2002 */

canUseHiragino=false;
isSafari=false;
if ((navigator.userAgent.indexOf('MSIE 5.12') != -1) ||(navigator.userAgent.indexOf('MSIE 5.2') != -1) || ((navigator.userAgent.indexOf('Mozilla') != -1) && (navigator.userAgent.indexOf('Mac OS X') != -1))) {
	canUseHiragino=true;
	if (navigator.userAgent.indexOf('Safari') != -1){
		isSafari=true;
	}
}

if(navigator.userAgent.indexOf('MSIE 5.14') != -1){
	if (navigator.plugins) {
		for (i=0; i < navigator.plugins.length; i++ ) {
			if (navigator.plugins[i].name.indexOf("QuickTime") >= 0 && navigator.plugins[i].filename.indexOf('.plugin')!=-1){
				canUseHiragino=true;
			}
		}
	}
}


if(canUseHiragino){
	document.writeln('<style type="text/css">');
	document.writeln('<!--');
	if (isSafari){
	document.writeln('.K10 { font-family: "Hiragino Kaku Gothic Pro"; font-size: 10px; line-height: 130%; font-weight: normal}');
	document.writeln('.KB10 { font-family: "Hiragino Kaku Gothic Pro"; font-size: 10px; line-height: 130%; font-weight: bold}');
	document.writeln('.K12 { font-family: "Hiragino Kaku Gothic Pro"; font-size: 12px; line-height: 130%; font-weight: normal}');
	document.writeln('.KB12 { font-family: "Hiragino Kaku Gothic Pro"; font-size:12px; line-height: 130%; font-weight: bold}');
	document.writeln('.KEB12 { font-family: "Hiragino Kaku Gothic Std"; font-size:12px; line-height: 130%; font-weight: normal}');
	document.writeln('.K14 { font-family: "Hiragino Kaku Gothic Pro"; font-size: 14px; line-height: 130%; font-weight: normal}');
	document.writeln('.KB14 { font-family: "Hiragino Kaku Gothic Pro"; font-size:14px; line-height: 130%; font-weight: bold}');
	document.writeln('.KEB14 { font-family: "Hiragino Kaku Gothic Std"; font-size:14px; line-height: 130%; font-weight: normal}');
	document.writeln('.K18 { font-family: "Hiragino Kaku Gothic Pro"; font-size: 18px; line-height: 130%; font-weight: normal}');
	document.writeln('.KB18 { font-family: "Hiragino Kaku Gothic Pro"; font-size:18px; line-height: 130%; font-weight: bold}');
	document.writeln('.KEB18 { font-family: "Hiragino Kaku Gothic Std"; font-size:18px; line-height: 130%; font-weight: normal}');
	document.writeln('.KB24 { font-family: "Hiragino Kaku Gothic Pro"; font-size:24px; line-height: 130%; font-weight: bold}');
	document.writeln('.KEB24 { font-family: "Hiragino Kaku Gothic Std"; font-size:24px; line-height: 130%; font-weight: normal}');
	document.writeln('.M12 { font-family: "Hiragino Mincho Pro"; font-size: 12px; line-height: 130%; font-weight: normal}');
	document.writeln('.MB12 { font-family: "Hiragino Mincho Pro"; font-size:12px; line-height: 130%; font-weight: bold}');
	document.writeln('.M14 { font-family: "Hiragino Mincho Pro"; font-size: 14px; line-height: 130%; font-weight: normal}');
	document.writeln('.MB14 { font-family: "Hiragino Mincho Pro"; font-size:14px; line-height: 130%; font-weight: bold}');
	document.writeln('.MB18 { font-family: "Hiragino Mincho Pro"; font-size:18px; line-height: 130%; font-weight: bold}');
	document.writeln('.MB24 { font-family: "Hiragino Mincho Pro"; font-size:24px; line-height: 130%; font-weight: bold}');
	document.writeln('.R10 { font-family: "Hiragino Maru Gothic Pro"; font-size: 10px; line-height: 130%; font-weight: normal}');
	document.writeln('.R12 { font-family: "Hiragino Maru Gothic Pro"; font-size: 12px; line-height: 130%; font-weight: normal}');
	document.writeln('.R14 { font-family: "Hiragino Maru Gothic Pro"; font-size: 14px; line-height: 130%; font-weight: normal}');
	} else {
	document.writeln('.K10 { font-family: "ヒラギノ角ゴ Pro W3"; font-size: 10px; line-height: 130%; font-weight: normal}');
	document.writeln('.KB10 { font-family: "ヒラギノ角ゴ Pro W6"; font-size: 10px; line-height: 130%; font-weight: normal}');
	document.writeln('.K12 { font-family: "ヒラギノ角ゴ Pro W3"; font-size: 12px; line-height: 130%; font-weight: normal}');
	document.writeln('.KB12 { font-family: "ヒラギノ角ゴ Pro W6"; font-size:12px; line-height: 130%; font-weight: normal}');
	document.writeln('.KEB12 { font-family: "ヒラギノ角ゴ Std W8"; font-size:12px; line-height: 130%; font-weight: normal}');
	document.writeln('.K14 { font-family: "ヒラギノ角ゴ Pro W3"; font-size: 14px; line-height: 130%; font-weight: normal}');
	document.writeln('.KB14 { font-family: "ヒラギノ角ゴ Pro W6"; font-size:14px; line-height: 130%; font-weight: normal}');
	document.writeln('.KEB14 { font-family: "ヒラギノ角ゴ Std W8"; font-size:14px; line-height: 130%; font-weight: normal}');
	document.writeln('.K18 { font-family: "ヒラギノ角ゴ Pro W3"; font-size: 18px; line-height: 130%; font-weight: normal}');
	document.writeln('.KB18 { font-family: "ヒラギノ角ゴ Pro W6"; font-size:18px; line-height: 130%; font-weight: normal}');
	document.writeln('.KEB18 { font-family: "ヒラギノ角ゴ Std W8"; font-size:18px; line-height: 130%; font-weight: normal}');
	document.writeln('.KB24 { font-family: "ヒラギノ角ゴ Pro W6"; font-size:24px; line-height: 130%; font-weight: normal}');
	document.writeln('.KEB24 { font-family: "ヒラギノ角ゴ Std W8"; font-size:24px; line-height: 130%; font-weight: normal}');
	document.writeln('.M12 { font-family: "ヒラギノ丸ゴ Pro W3"; font-size: 12px; line-height: 130%; font-weight: normal}');
	document.writeln('.MB12 { font-family: "ヒラギノ丸ゴ Pro W6"; font-size:12px; line-height: 130%; font-weight: normal}');
	document.writeln('.M14 { font-family: "ヒラギノ丸ゴ Pro W3"; font-size: 14px; line-height: 130%; font-weight: normal}');
	document.writeln('.MB14 { font-family: "ヒラギノ丸ゴ Pro W6"; font-size:14px; line-height: 130%; font-weight: normal}');
	document.writeln('.MB18 { font-family: "ヒラギノ丸ゴ Pro W6"; font-size:18px; line-height: 130%; font-weight: normal}');
	document.writeln('.MB24 { font-family: "ヒラギノ丸ゴ Pro W6"; font-size:24px; line-height: 130%; font-weight: normal}');
	document.writeln('.R10 { font-family: "ヒラギノ明朝 Pro W4"; font-size: 10px; line-height: 130%; font-weight: normal}');
	document.writeln('.R12 { font-family: "ヒラギノ明朝 Pro W4"; font-size: 12px; line-height: 130%; font-weight: normal}');
	document.writeln('.R14 { font-family: "ヒラギノ明朝 Pro W4"; font-size: 14px; line-height: 130%; font-weight: normal}');
	}
	document.writeln('-->');
	document.writeln('</style>');
}
