// JavaScript Document

var MM_contentVersion = 5;
var plugin = (navigator.mimeTypes && navigator.mimeTypes["application/x-shockwave-flash"]) ? navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin : 0;

//alert(navigator.mimeTypes["application/x-shockwave-flash"]);

if ( plugin ) {
		var words = navigator.plugins["Shockwave Flash"].description.split(" ");
	    for (var i = 0; i < words.length; ++i)
	    {
		if (isNaN(parseInt(words[i])))
		continue;
		var MM_PluginVersion = words[i]; 
	    }
	var MM_FlashCanPlay = MM_PluginVersion >= MM_contentVersion;
}
else if (navigator.userAgent && navigator.userAgent.indexOf("MSIE")>=0
	&& (navigator.appVersion.indexOf("Win") != -1)) {
	document.write('<SCR' + 'IPT LANGUAGE=VBScript\> \n'); //FS hide this from IE4.5 Mac by splitting the tag
	document.write('on error resume next \n');
	document.write('MM_FlashCanPlay = ( IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash." & MM_contentVersion)))\n');
	document.write('</SCR' + 'IPT\> \n');
}
if ( MM_FlashCanPlay ) {
	document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="800" height="481" align="middle" id="globalnavigation"><param name="allowScriptAccess" value="sameDomain"><param name="movie" value="top_movie.swf"><param name="loop" value="false"><param name="menu" value="false"><param name="quality" value="high"><param name="bgcolor" value="#ffffff"><embed src="top_movie.swf" loop="false" menu="false" quality="high" bgcolor="#ffffff" width="800" height="481" name="globalnavgation" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /></object>');

/*
}else{

	//ALTERNATIVE HTML SOURCE
	document.write('<table bgcolor="#ffffff" border="0" cellpadding="0" cellspacing="0" width="790" summary="メインビジュアル" align="center"><tr><td><img name="top01" src="img/top_main01.jpg" width="790" height="124" border="0" alt="The Maira"></td></tr><tr><td><table bgcolor="#ffffff" border="0" cellpadding="0" cellspacing="0" width="790">   <tr><td><img src="img/top_main02.jpg" width="525" height="154" alt="The Maira イメージ画像"></td><td><table border="0" cellpadding="0" cellspacing="0" summary="メニュー"><tr><td><a href="map/index.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(Image10,,img/top_menu_map_o.gif,1)"><img name="Image10" border="0" src="img/top_menu_map.gif" width="161" height="22" alt="SITE MAP"></a></td></tr><tr><td><a href="company/index.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(Image11,,img/top_menu_company_o.gif,1)"><img name="Image11" border="0" src="img/top_menu_company.gif" width="161" height="22" alt="会社概要"></a></td></tr><tr><td><a href="commodity/index.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(Image12,,img/top_menu_commodity_o.gif,1)"><img name="Image12" border="0" src="img/top_menu_commodity.gif" width="161" height="22" alt="商品紹介"></a></td></tr><tr><td><a href="beauty/index.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(Image15,,img/top_menu_beauty_o.gif,1)"><img name="Image15" border="0" src="img/top_menu_beauty.gif" width="161" height="22" alt="エステサロン"></a></td></tr><tr><td><a href="system/index.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(Image13,,img/top_menu_system_o.gif,1)"><img name="Image13" border="0" src="img/top_menu_system.gif" width="161" height="22" alt="販売システム"></a></td></tr><tr><td><a href="form/index.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(Image14,,img/top_menu_form_o.gif,1)"><img name="Image14" border="0" src="img/top_menu_form.gif" width="161" height="22" alt="お問い合わせ"></a></td></tr><tr><td><a href="login_guide.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(Image15,,img/top_menu_mypage_o.gif,1)"><img name="Image14" border="0" src="img/top_menu_mypage.gif" width="161" height="22" alt="お問い合わせ"></a></td></tr></table></td><td><img src="img/top_main03.jpg" width="104" height="154" alt="The Maira イメージ画像"></td></tr></table></td></tr><tr><td width="790"><img src="img/top_main04.jpg" width="790" height="182" alt="The Maira イメージ画像"></td></tr></table>');
*/
}
