//
//		Flashプレイヤー認識スクリプト
//
//		Created by Tsunashima Kohshi	2003/01/30
//		Useingtool by Macromedia Flash MX
//
//					(C)2002 MITANI ART STUDIO
//


//ターゲットバージョン■設定
target_ver = 8;

//■サイトURL 外部リンクの場合は外部サイトのURLルートを記述
url = "http://www.iosysos.com/";

//■Flashファイル設定（ファイル名はパスを含める）
file_name = "wp-content/themes/IosysOS_basic/img/banner.swf";
file_id = "banner";
file_width = 555;
file_height = 80;
bg_color = "#FFFFFF";
quality = "high";


//■代替イメージ設定
image_name = "wp-content/themes/IosysOS_basic/img/alba_555.jpg";
image_width = 555;
image_height = 80;
image_map = "#banner";


//▼設定領域ここまで



var MM_contentVersion = target_ver;
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 ) {
	document.write('<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"');
	document.write('  codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" ');
	document.write(' id="' + file_id + '" width="' + file_width + '" height="' + file_height + '">');
	document.write(' <PARAM name=movie value="' + url + file_name + '"> <PARAM name=quality value=' + quality + '> <PARAM name=bgcolor value=' + bg_color + '>  '); 
	document.write(' <EMBED src="' + url + file_name + '" quality=' + quality + ' bgcolor=' + bg_color);
	document.write(' swLiveConnect=FALSE width="' + file_width + '" height="' + file_height + '" name="' + file_id + '"');
	document.write(' type="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer">');
	document.write(' </EMBED>');
	document.write(' </OBJECT>');
} else{
	document.write('<IMG src="' + url + image_name + '" width="' + image_width + '" height="' + image_height + '" usemap="' + image_map + '">');
}