// -----------------------------------------------------------------------------
// swf.js -> Version 1.0 -> 2007.06.01
// Copyright(C) 2007 ik-network. All Rights Reserved.
// -----------------------------------------------------------------------------

var hasRightVersion = DetectFlashVer(requiredMajorVersion, requiredMinorVersion, requiredRevision);
if(hasRightVersion) {
    var oeTags = '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"'
    + 'width="990" height="300"'
    + 'codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab">'
    + '<param name="wmode" value="transparent" />'
    + '<param name="movie" value="./swf/top.swf" />'
    + '<param name="menu" value="false" />'
    + '<param name="quality" value="high" />'
    + '<param name="bgcolor" value="#FFFFFF" />'
    + '<embed src="./swf/top.swf" menu="false" quality="high" bgcolor="#FFFFFF" '
    + 'wmode="transparent" width="990" height="300" name="top" align="middle"'
    + 'play="true"'
    + 'loop="false"'
    + 'quality="high"'
    + 'allowScriptAccess="sameDomain"'
    + 'type="application/x-shockwave-flash"'
    + 'pluginspage="http://www.adobe.com/go/getflashplayer">'
    + '<\/embed>'
    + '<\/object>';
    document.write(oeTags);
  } else {
    var alternateContent = '<a href="http://www.adobe.com/go/getflash/" target="sub" title="ダウンロードする"><img src="./images/plugin.jpg" width="990" height="300" alt="" /></a>';
    document.write(alternateContent); 
  }
