var vNum = navigator.appVersion.charAt(0);
var bName = navigator.appName.charAt(0);
if ( bName == "M" && vNum < 4)
  location.href="/ns/js/getnewbrowser.html";
if ( bName == "N" && vNum < 4)
  location.href="/ns/js/getnewbrowser.html";

var ua, mode;
ua = navigator.userAgent;


document.writeln("<STYLE TYPE='text/css'><!--");
if(navigator.appVersion.indexOf("Mac") > -1)
{
  if ( ua.indexOf("Opera", 0) >= 0 )
  {
    // MAC Opera
    document.writeln(".size1{font-size:10px; line-height:15px}");
    document.writeln(".size2{font-size:12px; line-height:18px}");
    document.writeln(".size3{font-size:14px; line-height:18px}");
    document.writeln(".size4{font-size:12px; line-height:14px; color:#ffffff;}");
    document.writeln(".size5{font-size:12px; line-height:14px; color:#4f4f4f;}");
    document.writeln(".size15{font-size:15px; line-height:18px}");
  }
  else if ( ua.indexOf("MSIE", 0) >= 0 )
  {
    // MAC IE
    document.writeln(".size1{font-size:10px; line-height:15px}");
    document.writeln(".size2{font-size:12px; line-height:18px}");
    document.writeln(".size3{font-size:14px; line-height:18px}");
    document.writeln(".size4{font-size:11px; line-height:14px; color:#ffffff;}");
    document.writeln(".size5{font-size:12px; line-height:14px; color:#4f4f4f;}");
    document.writeln(".size15{font-size:15px; line-height:18px}");
  }
  else if ( ua.indexOf("Mozilla/4", 0) >= 0 )
  {
   // MAC NETSCAPE 4.x
    document.writeln(".size1{font-size:10px; line-height:15px}");
    document.writeln(".size2{font-size:12px; line-height:18px}");
    document.writeln(".size3{font-size:14px; line-height:18px}");
    document.writeln(".size4{font-size:12px; line-height:14px; color:#ffffff;}");
    document.writeln(".size5{font-size:12px; line-height:14px; color:#4f4f4f;}");
    document.writeln(".size15{font-size:15px; line-height:18px}");
  }
  else if ( ua.indexOf("Netscape", 0) >= 0 )
  {
    // MAC NETSCAPE 6.x~
    document.writeln(".size1{font-size:10px; line-height:15px}");
    document.writeln(".size2{font-size:12px; line-height:18px}");
    document.writeln(".size3{font-size:14px; line-height:18px}");
    document.writeln(".size4{font-size:12px; line-height:14px; color:#ffffff;}");
    document.writeln(".size5{font-size:12px; line-height:14px; color:#4f4f4f;}");
    document.writeln(".size15{font-size:15px; line-height:18px}");
  }
  else if ( ua.indexOf("Safari", 0) >= 0 )
  {
    // Safari
    document.writeln(".size1{font-size:10px; line-height:15px}");
    document.writeln(".size2{font-size:12px; line-height:18px}");
    document.writeln(".size3{font-size:14px; line-height:18px}");
    document.writeln(".size4{font-size:12px; line-height:14px; color:#ffffff;}");
    document.writeln(".size5{font-size:12px; line-height:14px; color:#4f4f4f;}");
    document.writeln(".size15{font-size:15px; line-height:18px}");
  }
  else if ( ua.indexOf("Mozilla/5", 0) >= 0 )
  {
   // MAC Firefox 1.x~
    document.writeln(".size1{font-size:10px; line-height:15px}");
    document.writeln(".size2{font-size:12px; line-height:18px;}");
    document.writeln(".size3{font-size:14px; line-height:18px}");
    document.writeln(".size4{font-size:12px; line-height:14px; color:#ffffff;}");
    document.writeln(".size5{font-size:12px; line-height:14px; color:#4f4f4f;}");
    document.writeln(".size15{font-size:15px; line-height:18px}");
  }
  else
  {
    // その他のブラウザ
    document.writeln(".size1{font-size:10px; line-height:15px}");
    document.writeln(".size2{font-size:12px; line-height:18px}");
    document.writeln(".size3{font-size:14px; line-height:18px}");
    document.writeln(".size4{font-size:12px; line-height:14px; color:#ffffff;}");
    document.writeln(".size5{font-size:12px; line-height:14px; color:#4f4f4f;}");
    document.writeln(".size15{font-size:15px; line-height:18px}");
  }

}
else
{

  if ( ua.indexOf("Opera", 0) >= 0 )
  {
    // WIN Opera
    document.writeln(".size1{font-size:11px; line-height:15px}");
    document.writeln(".size2{font-size:12px; line-height:18px}");
    document.writeln(".size3{font-size:14px; line-height:18px}");
    document.writeln(".size4{font-size:12px; line-height:14px; color:#ffffff;}");
    document.writeln(".size5{font-size:12px; line-height:14px; color:#4f4f4f;}");
    document.writeln(".size15{font-size:15px; line-height:18px}");
  }
  else if ( ua.indexOf("MSIE", 0) >= 0 )
  {
    // WIN IE
    document.writeln(".size1{font-size:11px; line-height:15px}");
    document.writeln(".size2{font-size:12px; line-height:18px}");
    document.writeln(".size3{font-size:14px; line-height:18px}");
    document.writeln(".size4{font-size:12px; line-height:14px; color:#ffffff;}");
    document.writeln(".size5{font-size:12px; line-height:14px; color:#4f4f4f;}");
    document.writeln(".size15{font-size:15px; line-height:18px}");
  }
  else if ( ua.indexOf("Mozilla/4", 0) >= 0 )
  {
    // WIN NETSCAPE 4.x
    document.writeln(".size1{font-size:11px; line-height:15px}");
    document.writeln(".size2{font-size:12px; line-height:18px}");
    document.writeln(".size3{font-size:14px; line-height:18px}");
    document.writeln(".size4{font-size:12px; line-height:14px; color:#ffffff;}");
    document.writeln(".size5{font-size:12px; line-height:14px; color:#4f4f4f;}");
    document.writeln(".size15{font-size:15px; line-height:18px}");
  }
  else if ( ua.indexOf("Netscape", 0) >= 0 )
  {
    // WIN NETSCAPE 6.x~
    document.writeln(".size1{font-size:11px; line-height:15px}");
    document.writeln(".size2{font-size:12px; line-height:18px}");
    document.writeln(".size3{font-size:14px; line-height:18px}");
    document.writeln(".size4{font-size:12px; line-height:14px; color:#ffffff;}");
    document.writeln(".size5{font-size:12px; line-height:14px; color:#4f4f4f;}");
    document.writeln(".size15{font-size:15px; line-height:18px}");
  }
  else if ( ua.indexOf("Mozilla/5", 0) >= 0 )
  {
    // WIN Firefox 1.x~
    document.writeln(".size1{font-size:11px; line-height:15px}");
    document.writeln(".size2{font-size:12px; line-height:18px;letter-spacing:1pt}");
    document.writeln(".size3{font-size:14px; line-height:20px}");
    document.writeln(".size4{font-size:12px; line-height:16px color:#ffffff;}");
    document.writeln(".size5{font-size:12px; line-height:16px; color:#4f4f4f;}");
    document.writeln(".size15{font-size:15px; line-height:20px}");
  }
  else
  {
    // その他のブラウザ
    document.writeln(".size1{font-size:11px; line-height:15px}");
    document.writeln(".size2{font-size:12px; line-height:18px}");
    document.writeln(".size3{font-size:14px; line-height:18px}");
    document.writeln(".size4{font-size:12px; line-height:14px; color:#ffffff;}");
    document.writeln(".size5{font-size:12px; line-height:14px; color:#4f4f4f;}");
    document.writeln(".size15{font-size:15px; line-height:18px}");
  }

}
 document.writeln("--></STYLE>");