// version 1.20
// kyo.com

function makeStyleSheet(){
var style = 0;
var styletype = 0;
var theAgent = navigator.userAgent;
browserName = navigator.appName;

if (theAgent.indexOf("Win") >= 0) styletype = ('winType')
if (theAgent.indexOf("Mac") >= 0) styletype = ('macType')
if (getBrowserVersion() >= 5 && getBrowserName() =="Explorer") styletype = ('ie5Type')
else if (getBrowserVersion() <= 5 && getBrowserName() =="Netscape") styletype = ('NN4Type')
else styletype = ('geckoType')
// if (getBrowserVersion() >= 6 && getBrowserName() =="Netscape") styletype = ('geckoType')
// if (getBrowserName() =="Netscape7" || getBrowserName() =="Firefox") styletype = ('geckoType')
// if (getBrowserName() =="Safari" || getBrowserName() =="Opera") styletype = ('geckoType')
// if (getBrowserName() =="Mozilla" || getBrowserName() =="iCab") styletype = ('geckoType')

if (styletype == "geckoType" || getBrowserName() == "Unknown") style = ('<STYLE TYPE="text/css"><!--p, span, label, .texte{font-size:9pt; line-height:15.75pt;}  .chapter{font-size:20pt;font-family:Osaka,ＭＳ ゴシック,平成角ゴシック;} li,.menu1,.posted{font-size:8pt; line-height:12pt;} ul, ol{font-size:10pt; line-height:12pt;} .L3{font-size:10pt; line-height:14pt;} .L4{font-size:12pt; line-height:15.75pt;} .S2{font-size:8pt;} .S3{font-size:10pt;} .annee{font-size:60pt;}--></STYLE>');

if (styletype == "winType" || styletype == "ie5Type") style = ('<STYLE TYPE="text/css"><!--p, span, label, .texte{font-size:10pt; line-height:16pt;} .chapter{font-size:20pt;} li,.menu2,.posted{font-size:8pt; line-height:12pt;} ul, ol{font-size:10pt; line-height:12pt;} .L3{font-size:10pt; line-height:14pt;} .L4{font-size:12pt; line-height:16pt;} .S2{font-size:8pt;} .menu1,.S3{font-size:10pt;} .annee{font-size:60pt;}--></STYLE>');

if (styletype == "macType" || styletype == "NN4Type") style = ('<STYLE TYPE="text/css"><!--p, span, label, .texte{line-height:21pt;} .chapter{font-size:24pt;} li,.menu1,.posted{font-size:10pt; line-height:17pt;} ul, ol{line-height:17pt;} .L3 {font-size: 12pt; line-height:19pt;} .L4{font-size:14pt; line-height:21pt;} .S2{font-size:10pt;} .menu1,.S3{font-size:12pt;} .annee{font-size:72pt;}--></STYLE>');

return style;
}

document.write(makeStyleSheet());

