function setSWF( ){
	var enabledVersion = 7 ;
	var plugin = 0 ;
	if(  navigator.mimeTypes &&
		 navigator.mimeTypes["application/x-shockwave-flash"] &&
		 navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin){
		 if(navigator.plugins && navigator.plugins["Shockwave Flash"]){
			var pluginver = navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin;
			var verNum = parseInt(pluginver.description.match(/\d+\.\d+/));
			if(verNum >= enabledVersion ){
				plugin = 1;
			}else{
				plugin = 0;
			}
		 }
	}
	else if(navigator.userAgent && (navigator.userAgent.indexOf("MSIE") >= 0) &&
		(navigator.userAgent.indexOf("Win") >= 0)){
		var actX = searchActiveX("ShockwaveFlash.ShockwaveFlash.8");
		if( actX == true ){
			plugin = 1 ;
		}else{
			plugin = 0;
		}		
	}
	
	if(plugin == 1 ){
		document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="405" height="389" id="atm_status_map" align="middle">');
		document.write('<param name="allowScriptAccess" value="sameDomain" />');
		document.write('<param name="allowFullScreen" value="false" />');
		document.write('<param name="movie" value="atm_status_map.swf" /><param name="quality" value="high" /><param name="wmode" value="transparent" /><param name="bgcolor" value="#d6ebff" />	<embed src="atm_status_map.swf" quality="high" wmode="transparent" bgcolor="#d6ebff" width="405" height="389" name="atm_status_map" align="middle" allowScriptAccess="sameDomain" allowFullScreen="false" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />');
		document.write('</object>');
    }else{
//ここにプレイヤー判定不可の場合のソースが入ります

    }
}


//activeX用の判定文
function searchActiveX(ActiveXName){
	var result = false;
	if (!window.opera && document.all) {
		/*@cc_on @*/
		/*@if ((@_jscript_version >= 3) && (@_win32 || @_win64))
			document.open();
			document.write('<scr'+'ipt language="VBScript"\>\nOn Error Resume Next\nDim ax\nax=False\nax=(IsObject(CreateObject("'+ActiveXName+'")))\n<\/scr'+'ipt\>\n');
			document.close();
			result = (ax) ? true : false;
			//alert("Now JScript version 3++ ( " + @_jscript_version + " )\nax ? = " + ax);
		@else @*/
			//alert("This browser is not Internet Explorer for Win32 or Win64 system");
		/*@end @*/
	}
	return result;
}


function setLink( url ) {
	new_window = window.open(url,'new','toolbar=yes,location=yes,directories=yes,status=yes,menubar=yes,scrollbars=yes,resizable=yes');
	//new_window.focus();
}
