/*
version 1.3
ABC Japon
*/

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 (styletype == "geckoType" || getBrowserName() == "Unknown") style = ('<STYLE TYPE="text/css"><!--h1,h2,h3,h4{font-weight:normal;} .texte, .main{font-size:9pt; line-height:15.75pt;} .size6{font-size:12pt;} .size5{font-size:11pt;} p,.size4{font-size:10pt;} .size3{font-size:9pt; line-height:12pt;} .size2, .size2 td{font-size:8pt;} .size1, .size1 td{font-size:7pt;}--></STYLE>');

if (styletype == "winType" || styletype == "ie5Type") style = ('<STYLE TYPE="text/css"><!--h1,h2,h3,h4{font-weight:normal;} .texte, .main{font-size:10pt; line-height:16pt;} .size6{font-size:11pt;} .size5{font-size:10pt;} .size4{font-size:9pt;} p,.size3{font-size:8pt; line-height:12pt;} .size2, .size2 td{font-size:7.5pt;} .size1, .size1 td{font-size:7pt;} #header h3 span{font-size:7pt;}.contentbody.rightbox{width:20%;}.contentbody.leftbox{width:20%;}--></STYLE>');

if (styletype == "macType" || styletype == "NN4Type") style = ('<STYLE TYPE="text/css"><!--h1,h2,h3,h4{font-weight:normal;} .texte, .main{line-height:21pt;} .size6{font-size:14pt;} .size5{font-size:13pt;} .size4{font-size:12pt;} p,.size3{font-size:11pt; line-height:12pt;} .size2, .size2 td{font-size:10pt;} .size1, .size1 td{font-size:9pt;}--></STYLE>');

return style;
}

document.write(makeStyleSheet());
