// JavaScript Document

var playerH = 414;
var playerW = 512;
var playerU = "../script/player.swf?d="+(new Date()).getTime;

var MM_contentVersion = 10;
var plugin = (navigator.mimeTypes && navigator.mimeTypes["application/x-shockwave-flash"]) ? navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin : 0;
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 ) {
	if ( window.location.href.indexOf("mickey-web.net/am/video/") > 0 ) {
		playerV += "&mode=self";
	} else {
		playerV += "&mode=outer";
	}
document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="'+playerW+'" height="'+playerH+'">');
document.write('<param name="movie" value="'+playerU+'" />');
document.write('<param name="quality" value="high" />');
document.write('<param name="FlashVars" value="v=' + playerV + '" />');
document.write('<param name="lOOP" value="false" />');
document.write('<param name="menu" value="false" />');
document.write('<param name=scale value=showall />');
document.write('<param name="allowScriptAccess" value="always" />');
document.write('<param name="allowFullScreen" value="true" />');
document.write('<param name=wmode value=opaque />');
document.write('<embed src="'+playerU+'" allowScriptAccess="always" allowFullScreen="true" FlashVars="v='+playerV+'" width="'+playerW+'" height="'+playerH+'" quality="high" loop="false" menu="false" scale="showall" wmode="opaque" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" menu="false">');
document.write('</embed>');
document.write('</object>');
} else {
document.write('<div id="playerr" style="text-align: center; font-size: 12px; margin-top: 150px">');
document.write('動画の再生には最新の Adobe FlashPlayer が必要です。<br />');
document.write('下記画像より、最新の Adobe FlashPlayer をインストールしてください(無料)。<br />');
document.write('<a href="http://get.adobe.com/jp/flashplayer/"><img src="/images/common/get_flash_player.jpg" border="0" style="margin-top: 10px;" /></a>');
document.write('</div>');
}
