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 = eval(plugin.description.substring(plugin.description.indexOf("Flash") + 6, plugin.description.indexOf("Flash") + 9)) >= 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(' codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,22,0"');
	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="loop" value="true">');
	document.write('<param name="quality" value="high">');
	document.write('<param name="menu" value="false">');
	document.write('<param name="allowScriptAccess" value="always">');
	document.write('<embed src="'+ CFLswfuri +'" loop="true" wmode="opaque"');
	document.write(' quality="high" allowScriptAccess="always" swLiveConnect="false"');
	document.write(' width="'+ CFLwidth +'" height="'+ CFLheight +'"');
	document.write(' type="application/x-shockwave-flash"');
	document.write(' pluginspage="http://www.macromedia.com/go/getflashplayer">');
	document.write('</embed>');
	document.write('</object>');
} else {
	document.write(CFLaltHTML);
}

function CFLerr() {
	return true;
}

