// Version check based upon the values entered above in "Globals"
var hasReqestedVersion = DetectFlashVer(requiredMajorVersion, requiredMinorVersion, requiredRevision);


// Check to see if the version meets the requirements for playback
if (hasReqestedVersion) {  // if we've detected an acceptable version
    var oeTags = '<div id="NaviArea">'
    + '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" width="698" height="44">'
    + '<param name=movie value="/common_md/image/navi.swf">'
    + '<param name=quality value=high>'
    + '<param name=menu value=false>'
    + '<embed src="/common_md/image/navi.swf" menu=false quality=high pluginspage="http://www.macromedia.com/jp/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="698" height="44">'
    + '</embed>'
    + '</object>'
    + '</div>';
    document.write(oeTags);   // embed the Flash Content SWF when all tests are passed
  } else {  // flash is too old or we can't detect the plugin
    var alternateContent = '<div id="NaviArea">'
    + '<div id="NaviAreaNOFlash">'
    + '<ul>'
    + '<li><a href="/" id="NOFHome"><img src="/common_md/image/nof_home.gif" width="42" height="15" alt="HOME" border="0"></a></li>'
    + '<li><a href="/info/index.html" id="NOFInfo"><img src="/common_md/image/nof_info.gif" width="111" height="15" alt="インフォメーション" border="0"></a></li>'
    + '<li><a href="/business/index.html" id="NOFGyomu"><img src="/common_md/image/nof_gyomu.gif" width="52" height="15" alt="業務案内" border="0"></a></li>'
    + '<li><a href="/works/index.html" id="NOFWorks"><img src="/common_md/image/nof_works.gif" width="52" height="15" alt="制作実績" border="0"></a></li>'
    + '<li><a href="/company/index.html" id="NOFCompany"><img src="/common_md/image/nof_company.gif" width="50" height="15" alt="会社概要" border="0"></a></li>'
    + '<li><a href="/contact/index.html" id="NOFContact"><img src="/common_md/image/nof_contact.gif" width="74" height="15" alt="お問い合わせ" border="0"></a></li>'
    + '<li><a href="/faq/index.html" id="NOFFaq"><img src="/common_md/image/nof_faq.gif" width="29" height="15" alt="FAQ" border="0"></a></li>'
    + '</ul>'
    + '</div>'
    + '<div id="NaviAreaNOFlashBar"><p><a href="http://www.macromedia.com/jp/shockwave/download/?P1_Prod_Version=ShockwaveFlash&Lang=Japanese" target="_blank">Macromedia</a>のサイトより、Flash Playerのバージョンアップをしてください。</p></div>'
    + '</div>';
    document.write(alternateContent);  // insert non-flash content
  }

