// 20081017

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) {
	var desc = plugin.description;
	CFLflag = parseInt(desc.substring(desc.indexOf("Flash")+6, desc.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=6,0,0,0"');
	document.write(' id="CFL" width="'+ CFLwidth +'" height="'+ CFLheight +'">');
	document.write('<param name="movie" value="'+ CFLswfuri +'">');

	document.write('<param name="allowScriptAccess" value="always">');//20080612add
	document.write('<param name="flashvars" value="'+ CFLvars +'">');//20090323add

	document.write('<param name="wmode" value="opaque">');
	document.write('<param name="loop" value="true">');
	document.write('<param name="quality" value="high">');
	document.write('<embed src="'+ CFLswfuri +'" loop="true" wmode="opaque" allowScriptAccess="always"');//20080612add
	document.write(' quality="high" swLiveConnect="false"');
	document.write(' width="'+ CFLwidth +'" height="'+ CFLheight +'"');
	document.write(' flashvars="' + CFLvars + '"');//20090323add
	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;
}


