var vNum = navigator.appVersion.charAt(0);
var bName = navigator.appName.charAt(0);
var vNum2 = navigator.userAgent;

document.writeln("<STYLE TYPE='text/css'><!--");
if(navigator.appVersion.indexOf("Mac") > -1)
{
  if (vNum2.indexOf("Safari") > -1)
   {
     // MAC Safari
     document.writeln("h2{font-size:10pt;}");
     document.writeln("h3{font-size:10pt;}");
     document.writeln(".mtx{font-size:9pt; line-height:12pt; letter-spacing: -0.1em;}");
     document.writeln(".stx{font-size:7pt; line-height:10pt; letter-spacing: -0.01em;}");
     document.writeln(".m{font-size:9pt}");
     document.writeln(".s{font-size:7pt}");
     document.writeln("body {font-family:sans-serif;}");
   }
  else if( bName == "M")
   {
   if( vNum2.match(/MSIE 5.2/) )
    {
      // MAC IE5.2
     document.writeln("h2{font-size:10pt;}");
     document.writeln("h3{font-size:10pt;}");
     document.writeln(".mtx{font-size:9pt; line-height:12pt; letter-spacing: -0.1em;}");
     document.writeln(".stx{font-size:7pt; line-height:10pt; letter-spacing: -0.01em;}");
     document.writeln(".m{font-size:9pt}");
     document.writeln(".s{font-size:7pt}");
    }
    else
    {
    // MAC IE
     document.writeln("h2{font-size:10pt;}");
     document.writeln("h3{font-size:10pt;}");
     document.writeln(".mtx{font-size:9pt; line-height:12pt; letter-spacing: -0.1em;}");
     document.writeln(".stx{font-size:7pt; line-height:10pt; letter-spacing: -0.01em;}");
     document.writeln(".m{font-size:9pt}");
     document.writeln(".s{font-size:7pt}");
    }
   }
    else
    {
    if( vNum < 5 )
    {
      // MAC NETSCAPE 4.x
     document.writeln("h2{font-size:10pt;}");
     document.writeln("h3{font-size:10pt;}");
     document.writeln(".mtx{font-size:10pt; line-height:12pt; letter-spacing: 0.1em;}");
     document.writeln(".stx{font-size:8pt; line-height:10pt; letter-spacing: 0.01em;}");
     document.writeln(".m{font-size:10pt}");
     document.writeln(".s{font-size:8pt}");
    }
    else
    {
      // MAC NETSCAPE 6.x~
     document.writeln("h2{font-size:10pt;}");
     document.writeln("h3{font-size:10pt;}");
     document.writeln(".mtx{font-size:10pt; line-height:12pt; letter-spacing: 0.1em;}");
     document.writeln(".stx{font-size:8pt; line-height:10pt; letter-spacing: 0.01em;}");
     document.writeln(".m{font-size:10pt}");
     document.writeln(".s{font-size:8pt}");
    }
   }

}
else
{
  if( bName == "M")
  {
    // WIN IE
     document.writeln("h2{font-size:10pt;}");
     document.writeln("h3{font-size:10pt;}");
     document.writeln(".mtx{font-size:10pt; line-height:12pt; letter-spacing: 0em;}");
     document.writeln(".stx{font-size:8pt; line-height:10pt; letter-spacing: 0em;}");
     document.writeln(".m{font-size:10pt}");
     document.writeln(".s{font-size:8pt}");
  }
  else
  {
		 if(navigator.userAgent.indexOf("Gecko/") != -1)
    {
      // Gecko
     document.writeln("h2{font-size:10pt;}");
     document.writeln("h3{font-size:10pt;}");
     document.writeln(".mtx{font-size:10pt; line-height:12pt; letter-spacing: 0.1em;}");
     document.writeln(".stx{font-size:8pt; line-height:10pt; letter-spacing: 0.01em;}");
     document.writeln(".m{font-size:10pt}");
     document.writeln(".s{font-size:8pt}");
    }
  }
}
 document.writeln("--></STYLE>");


