var MM_FlashCanPlay;
MM_contentVersion = 9;
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;
			MM_PluginVersion = words[i]; 
			}
		MM_FlashCanPlay = MM_PluginVersion >= MM_contentVersion;
	}


// initTop  
function initTop()
{

	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 ) {
		var smallhtml = "";	
		smallhtml+='<div id="flaLayer">';
		smallhtml+='</div>';
		document.write(smallhtml);
		var so = new this.deconcept.SWFObject("http://uptrife.net/flash/main.swf", "myMovie", "800", "324", "9");
		so.addParam("allowScriptAccess", "always");
		so.addParam("quality", "high");
		so.write("flaLayer");
	} else{
		document.write('<div id="flaLayer" style="background: #000000; width:800px; height:324px; font-size:small; color:#FFFFFF;">\n');
		document.write('<div style="padding:50px 20px 0px; text-align: left; font-size: x-small;">\n');
		document.write('このコンテンツをご覧になるには<span lang="en" xml:lang="en">Adobe Systems Incorporated</span>が配布している最新の<span lang="en" xml:lang="en">Adobe Flash Player</span>（無償）が必要です。最新のPlayerをインストールすることにより閲覧が可能になります。以下のサイトにてご用意ください。\n');
		document.write('<br /><a href="http://www.macromedia.com/jp/shockwave/download/?P1_Prod_Version=ShockwaveFlash&Lang=Japanese" target="_blank"><span lang="en" xml:lang="en">Adobe Systems Incorporated : Adobe Flash Player </span>ダウンロードセンター</a>\n');
		document.write('</div>\n');
		document.write('</div>\n');
	}
}

initTop();
