/* fontsize.js
*  ver1.3  2004.11.17 
*  Copyright(c) MARS,ltd. All Rights Reserved.
*/
var Win = (navigator.appVersion.indexOf("Windows") != -1);
var Mac = (navigator.appVersion.indexOf("Mac") != -1);
var IE  = (navigator.appName.indexOf("Internet Explorer") != -1);
var NS  = (navigator.appName.indexOf("Netscape") != -1);
var Opera = (navigator.userAgent.indexOf("Opera")!=-1);
var Konqueror = (navigator.userAgent.indexOf("Konqueror")!=-1);
var saf = (navigator.userAgent.indexOf("Safari")!=-1);

document.write("<style type='text/css'>");
document.write("<!-- ");
if(saf){

  // Mac Safari  
    document.write(".main { font-size:x-small ; line-height:1.4 ;font-family:Verdana,Arial,Osaka,sans-serif;}");
	document.write(".small { font-size:xx-small ; line-height:1.4 ;font-family:Verdana,Arial,Osaka,sans-serif;}");
	document.write(".sub { font-size:xx-small ; line-height:1.5 ;font-family:Verdana,Arial,Osaka,sans-serif;}");
	document.write("h6 { font-size:x-small}");
	document.write(".h7 { font-size:x-small}");

}else if(Win && IE){

  // Win MSIE
	document.write(".main { font-size:x-small ; line-height:1.3 }");
	document.write(".small { font-size:x-small ; line-height:1.1 }");
	document.write(".sub { font-size:xx-small ; line-height:1.4}");
	document.write("h6 { font-size:x-small}");
	document.write(".h7 { font-size:x-small}");

}else if(Mac && IE && navigator.appVersion.indexOf("MSIE 4",0) != -1){

  // Mac MSIE 4.x
	document.write(".main { font-size:small ; line-height:1.2 }");
	document.write(".small { font-size:x-small ; line-height:1.2 }");
	document.write(".sub { font-size:x-small ; line-height:1.2 }");
	document.write("h6 { font-size:x-small}");
	document.write(".h7 { font-size:x-small}");

}else if(Mac && IE && navigator.appVersion.indexOf("MSIE 5",0) != -1){

  // Mac MSIE 5.x
	document.write(".main { font-size:x-small ; line-height:1.3 }");
	document.write(".small { font-size:xx-small ; line-height:1.2 }");
	document.write(".sub { font-size:xx-small ; line-height:1.4 }");
	document.write("h6 { font-size:x-small}");
	document.write(".h7 { font-size:x-small}");

}else if(Mac && NS && navigator.appVersion.indexOf("5.",0) != -1){

  // Mac Netscape6
	document.write(".main { font-size:9pt ; line-height:1.2 }");
	document.write(".small { font-size:8pt ; line-height:1.2 }");
	document.write(".sub { font-size:8pt ; line-height:1.3 }");
	document.write("h6 { font-size:8pt}");
	document.write(".h7 { font-size:x8pt}");

}else if(Win && NS && navigator.appVersion.indexOf("4",0) != -1){

  // Win NN 4.x
	document.write(".main { font-size:small ; line-height:1.2 }");
	document.write(".small { font-size:small ; line-height:1.2 }");
	document.write(".sub { font-size:x-small ; line-height:1.2 }");
	document.write("h6 { font-size:x-small}");
	document.write(".h7 { font-size:x-small}");

}else if(Win && NS && navigator.appVersion.indexOf("5.",0) != -1){

  // Win Netscape6
	document.write(".main { font-size:small ; line-height:1.3}");
	document.write(".small { font-size:small ; line-height:1.2 }");
	document.write(".sub { font-size:x-small ; line-height:1.4 }");
	document.write("h6 { font-size:small}");
	document.write(".h7 { font-size:small}");

}else{

 // Others
	document.write(".main { font-size:x-small ; line-height:1.2 }");
	document.write(".small { font-size:x-small; line-height:1.1 }");
	document.write(".sub { font-size:x-small; line-height:1.1 }");
	document.write("h6 { font-size:small}");
	document.write(".h7 { font-size:small}");

}

document.write("body { color : #000000; background-color:#ffffff;  margin-bottom:0px; margin-left:0px; margin-right:0px; margin-top:0px; padding:0px;}");
document.write("a:link{color:#003366; text-decoration:none;}");
document.write("a:visited{color:#003366; text-decoration:none;}");
document.write("a:active{color:#ff9966; text-decoration:none;}");
document.write("a:hover{color:#ff6600; text-decoration:none;}");

document.write(" -->");
document.write("</style>");
