var imgSWF = "top.swf";
var imgAlt = "flash.jpg";
var sWidth = 584;
var sHeight = 225;
var htmlsrc = '<img src="flash.jpg" alt="マンツーマン指導・体育家庭教師ならトライ＆サポート" width="584" height="225" />'
var plginF = 2;
var imgPath = ".";
var movieHTML = '';


	var MM_contentVersion = 6;
	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');
		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"');
		document.write('  codebase="https://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" ');
		document.write(' ID="movie" WIDTH="' + sWidth + '" HEIGHT="' + sHeight + '" ALIGN="">');
		document.write(' <PARAM NAME=movie VALUE="' + imgPath + '/' + imgSWF + '"> <PARAM NAME=quality VALUE=best> <PARAM NAME=bgcolor VALUE=#FFFFFF>  '); 
		document.write(' <EMBED src="' + imgPath + '/' + imgSWF + '" quality="best" bgcolor=#FFFFFF  ');
		document.write(' swLiveConnect=FALSE WIDTH="' + sWidth + '" HEIGHT="' + sHeight + '" NAME="movie" ALIGN=""');
		document.write(' TYPE="application/x-shockwave-flash" pluginspage="https://www.macromedia.com/go/getflashplayer">');
		document.write(' </EMBED>');
		document.write(' </OBJECT>');
	} else{
		if(plginF == 2){
			document.write(htmlsrc);
		}else{
			document.write('<IMG SRC="' + imgPath + '/' + imgAlt + '" WIDTH="' + sWidth + '" HEIGHT="' + sHeight + '" BORDER="0">');
		}
	}
chFirstFlag = false;
