var version='0.0.0';
if(navigator.plugins && navigator.mimeTypes['application/x-shockwave-flash']){
	var plugin=navigator.mimeTypes['application/x-shockwave-flash'].enabledPlugin;
	// the code below is used in SWFObject
	//var plugin=navigator.plugins['Shockwave Flash'];
	if (plugin && plugin.description) {
		// convert the description like 'Shockwave Flash 9.0 r28' into version string like '9.0.8';
		// regex is provided by SWFObject
		version=plugin.description.replace(/^[A-Za-z\s]+/, '').replace(/(\s+r|\s+b[0-9]+)/, ".");
	}
} else { // in the case of Win IE
	var x='';
	try {
	// for ver.7 and later
	var axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7");
	x=axo.GetVariable("$version");
	} catch(e) {
		try {
			// for ver.6
			axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");
			x="WIN 6,0,21,0";
			/*
			 * GetVariable() crashes player version 6.0.22-29, and
			 * players which have those versions throws when access 
			 * to AllowScriptAccess
			 */
			axo.AllowScriptAccess="always";
			x=axo.GetVariable("$version");
		} catch(e) {
			if (!x.match(/^WIN/)) {
				 try {
					// for 4.x,5.x
					axo=null;
					axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.3");
					// version 3 player throws when you call GetVariale().
					x=axo.GetVariable("$version");
				} catch(e) {
					if (axo) {
						// for 3.x
						x="WIN 3,0,18,0";
					} else {
						try {
							// for 2.x
							axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash");
							x="WIN 2,0,0,11";
						} catch(e) {
							x="WIN 0,0,0,0";
						}
					}
				}
			}
		}
	}
	// convert ActiveX version string to our version string like '9.0.28'
	version=x.replace(/^WIN /,'').replace(/,[0-9]+$/,'').replace(/,/g,'.');

}
// check version string format
// Quicktime enabled Safari returns a description in natural language
//alert(version);
if (version.match(/^[0-9]+\.[0-9]+\.[0-9]+$/)) {
	if (version == "0.0.0") {
		document.write('<img src="img/flash_image.jpg" width="770" height="349" border="0" usemap="#Map"><map name="Map"><area shape="rect" coords="221,297,328,317" href="e/service/event/index.html" alt="English"><area shape="poly" coords="209,15,389,15,389,78,367,78,367,194,389,194,389,331,209,331,209,243,187,243,187,129,209,129" href="service/event/index.html" alt="イベントプロモーション"><area shape="poly" coords="390,15,571,15,571,27,550,27,550,144,571,144,571,331,390,331,390,193,368,193,368,79,390,79" href="service/package/index.html" alt="パッケージメディア"><area shape="poly" coords="572,15,729,15,730,331,572,331,572,143,551,143,551,28,572,28" href="service/contents/index.html" alt="コンテンツプロダクション"><area shape="poly" coords="30,16,208,16,208,128,186,128,186,244,208,244,208,332,30,332,30,295,8,295,8,178,30,178" href="service/system/index.html" alt="システム設計 運営受託・人材派遣 放送機器レンタル"></map>');
	}
	else {
		document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="770" height="349" id="Sony_PCL" align="middle">');
		document.write('<param name="allowScriptAccess" value="sameDomain" />');
		document.write('<param name="movie" value="img/Sony_PCL.swf" /><param name="quality" value="high" /><param name="bgcolor" value="#ffffff" /><embed src="img/Sony_PCL.swf" quality="high" bgcolor="#ffffff" width="770" height="349" name="Sony_PCL" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />');
		document.write('</object>');
	}
} else {
	document.write('<img src="img/flash_image.jpg" width="770" height="349" border="0" usemap="#Map"><map name="Map"><area shape="rect" coords="221,297,328,317" href="e/service/event/index.html" alt="English"><area shape="poly" coords="209,15,389,15,389,78,367,78,367,194,389,194,389,331,209,331,209,243,187,243,187,129,209,129" href="service/event/index.html" alt="イベントプロモーション"><area shape="poly" coords="390,15,571,15,571,27,550,27,550,144,571,144,571,331,390,331,390,193,368,193,368,79,390,79" href="service/package/index.html" alt="パッケージメディア"><area shape="poly" coords="572,15,729,15,730,331,572,331,572,143,551,143,551,28,572,28" href="service/contents/index.html" alt="コンテンツプロダクション"><area shape="poly" coords="30,16,208,16,208,128,186,128,186,244,208,244,208,332,30,332,30,295,8,295,8,178,30,178" href="service/system/index.html" alt="システム設計 運営受託・人材派遣 放送機器レンタル"></map>');
}
