var CFLfpver = 9;
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');
}

function disp_swf ( CFLswfuri, CFLwidth, CFLheight, CFLBgcolor, CFLaltHTML, MoveFlag ) {
	if ( CFLflag ) {
		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,29,0"');
		document.write(' id="CFL" width="'+ CFLwidth +'" height="'+ CFLheight +'">');
		document.write('<param name="movie" value="'+ CFLswfuri +'">');
		document.write('<param name="menu" value="false">');
		document.write('<param name="loop" value="true">');
		document.write('<param name="quality" value="high">');
		document.write('<param name="bgcolor" value=#'+ CFLBgcolor +'">');
		document.write('<embed src="'+ CFLswfuri +'" loop="true" wmode="opaque" menu="false"');
		document.write(' quality="high" swLiveConnect="false"');
		document.write(' width="'+ CFLwidth +'" height="'+ CFLheight +'"');
		document.write(' bgcolor="#' + CFLBgcolor +'"');
		document.write(' type="application/x-shockwave-flash"');
		document.write(' pluginspage="http://www.macromedia.com/go/getflashplayer" />');
		document.write('');
		document.write('</object>');
	} else {
		if ( !CFLaltHTML ) {
			/*CFLaltHTML = '../';
			MoveFlag = 1;*/
		}
		if ( !MoveFlag ) {
			document.write(CFLaltHTML);
		}
		else {
			location.href = CFLaltHTML;
		}
	}
}
function CFLerr() {
	return true;
}
