///// SVG 表示 (2008/12/21)                               /////
///// Copyright (C) 2008 INOUE Naoto All rights reserved. /////

// Mozilla Firefox 1.5 Beta 1 以降と SeaMonkey 1.0a 以降と Opera 9.0 以降
// でのみ表示

var ua = window.navigator.userAgent;

if (ua.indexOf("Opera/9") != -1 || (ua.indexOf("Gecko") != -1 &&
    (ua.indexOf("rv:1.8b4") != -1 || ua.indexOf("rv:1.8b5") != -1 ||
     ua.indexOf("rv:1.8)") != -1 || ua.indexOf("rv:1.8.") != -1 ||
     ua.indexOf("rv:1.9") != -1))) {

  if (Math.random() > 0.5) {
    document.write('<h1 class="title"><object width="235" height="176" data="Graphics\/title.svg" type="image\/svg+xml"><param name="src" value="Graphics\/title.svg" \/><img src="Graphics\/title2.png" width="235" height="176" alt="M\'s" \/><\/object><\/h1>');
  } else {
    document.write('<h1 class="title"><object width="235" height="176" data="Graphics\/title2.svg" type="image\/svg+xml"><param name="src" value="Graphics\/title.svg" \/><img src="Graphics\/title2.png" width="235" height="176" alt="M\'s" \/><\/object><\/h1>');
  }
} else {
  document.write('<h1 class="title"><img src="Graphics\/title2.png" width="235" height="176" alt="M\'s" \/><\/h1>');
}
