﻿var CFLwidth   = '100%';
var CFLheight  = 1100;
var CFLswfuri  = 'img/top.swf';
var CFLaltHTML = '<div id="no_box01"><p><img src="img/title_01.gif" /><br /><br />フラッシュプラグインがインストールされていないようです。<br />最新のフラッシュをインストールしてコンテンツをお楽しみください。<br />このコンテンツをご覧いただくには、最新版のAdobeFlashPlayerが必要です。<br />次のバナーからFlash Playerをインストールしてご覧ください。<br /><br /><a href="http://www.adobe.com/shockwave/download/?P1_Prod_Version=ShockwaveFlash&Lang=Japanese" target="new"><img src="common/img/get_flash_player.gif" alt="FLASH PLAYER" border="0" /></a><br><br><a href="./">→ インストールが終わった方はこちらをクリック</a></p></div>';
var CFLfpver = 8;
var CFLiewin = navigator.userAgent.indexOf('Win') && (document.all);
var CFLflag = false;
var plugin = (navigator.mimeTypes && navigator.mimeTypes["application/x-shockwave-flash"]) ? navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin : 0;
if (plugin) {
	CFLflag = (plugin.description.split(" ")[2].split(".")[0]) >= CFLfpver;
} else if (CFLiewin) {
	document.write('<script language="VBScript"\> \n');
	document.write('on error resume next \n');
	document.write('CFLflag = ( IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash." & CFLfpver )))\n');
	document.write('</script\> \n');
}
if ( CFLflag ) {
	document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"');
	document.write(' id="CFL" width="'+ CFLwidth +'" height="'+ CFLheight +'">');
	document.write('<param name="movie" value="'+ CFLswfuri +'">');
	document.write('<param name="wmode" value="opaque">');
	document.write('<param name="bgcolor" value="#000000">');
	document.write('<param name="loop" value="true">');
	document.write('<param name="quality" value="high">');
	document.write('<param name="allowScriptAccess" value="always">');
	
	document.write('<embed src="'+ CFLswfuri +'" loop="true" wmode="opaque"');
	document.write(' quality="high" swLiveConnect="false"');
	document.write(' width="'+ CFLwidth +'" height="'+ CFLheight +'"');
	document.write(' type="application/x-shockwave-flash"');
	document.write(' allowScriptAccess="always">');
	document.write('</embed>');
	
	document.write('</object>');
} else {
	document.write(CFLaltHTML);
}
function CFLerr() {
	return true;
}



