/* JSSS definition for fonts */

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('AppleWebKit') != -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('body { font-size: 12px; line-height: 150%; font-family: Arial, "Hiragino Kaku Gothic Pro"; font-weight: normal; }');
	document.writeln('table, td { font-size: 12px; line-height: 150%; font-family: Arial, "Hiragino Kaku Gothic Pro"; font-weight: normal; }');

	document.writeln('.gxsmall { font-size: 10px; line-height: 150%; font-family: Arial, "Hiragino Kaku Gothic Pro"; font-weight: normal; }');
	document.writeln('.gsmall { font-size: 10px; line-height: 150%; font-family: Arial, "Hiragino Kaku Gothic Pro"; font-weight: normal; }');
	document.writeln('.gmedium { font-size: 12px; line-height: 150%; font-family: Arial, "Hiragino Kaku Gothic Pro"; font-weight: normal; }');
	document.writeln('.glarge { font-size: 14px; line-height: 150%; font-family: Arial, "Hiragino Kaku Gothic Pro"; font-weight: bold; }');
	document.writeln('.gxlarge { font-size: 18px; line-height: 130%; font-family: Arial, "Hiragino Kaku Gothic Pro"; font-weight: bold; }');
	document.writeln('.gxxlarge { font-size: 24px; line-height: 130%; font-family: Arial, "Hiragino Kaku Gothic Std"; font-weight: bolder; }');

	/* color */
	document.writeln('.white { color: #FFFFFF; }');

	} else {
	document.writeln('body { font-size: 12px; line-height: 150%; font-family: Arial, "ƒqƒ‰ƒMƒmŠpƒS Pro W3"; font-weight: normal; }');
	document.writeln('table, td { font-size: 12px; line-height: 150%; font-family: Arial, "ƒqƒ‰ƒMƒmŠpƒS Pro W3"; font-weight: normal; }');

	document.writeln('.gxsmall { font-size: 10px; line-height: 150%; font-family: Arial, "ƒqƒ‰ƒMƒmŠpƒS Pro W3"; font-weight: normal; }');
	document.writeln('.gsmall { font-size: 10px; line-height: 150%; font-family: Arial, "ƒqƒ‰ƒMƒmŠpƒS Pro W3"; font-weight: normal; }');
	document.writeln('.gmedium { font-size: 12px; line-height: 150%; font-family: Arial, "ƒqƒ‰ƒMƒmŠpƒS Pro W6"; font-weight: normal; }');
	document.writeln('.glarge { font-size: 14px; line-height: 150%; font-family: Arial, "ƒqƒ‰ƒMƒmŠpƒS Pro W6"; font-weight: bold; }');
	document.writeln('.gxlarge { font-size: 18px; line-height: 130%; font-family: Arial, "ƒqƒ‰ƒMƒmŠpƒS Pro W6"; font-weight: bold; }');
	document.writeln('.gxxlarge { font-size: 24px; line-height: 130%; font-family: Arial, "ƒqƒ‰ƒMƒmŠpƒS Std W8"; font-weight: bolder; }');

}
	document.writeln('-->');
	document.writeln('</style>');
}
