var ShockMode = 0, pluginVer = 0;
var pluginspages = new Array();
pluginspages[0] = 'https://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash'; // English
pluginspages[1] = 'https://www.macromedia.com/jp/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash'; // Japanese

// check for Flash Player plug-in
// (Equiv: NN3/NN4/Moz/MacIE5) 
var plugin = ((navigator.mimeTypes && navigator.mimeTypes["application/x-shockwave-flash"]) ? navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin : 0);
if (plugin) pluginVer = parseInt(plugin.description.substring(plugin.description.indexOf(".") -1));

function putflash(Obj) {
document.open();
document.write(Obj.hedSRC + '\n');
if (Obj.file != '') {
 document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="https://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" id=' + Obj.id + ' width=' + Obj.width + ' height=' + Obj.height + ' name="' + Obj.id + '">' + '\n');
 document.write('<param name="movie" value="' + Obj.dir + Obj.file + '"><param name=' + Obj.id + ' value="false">' + '\n');
 document.write('<param name="quality" value="' + Obj.quality + '">' + '\n');
 document.write('<param name="bgcolor" value="' + Obj.bgcolor + '">' + '\n');
 document.write('<param name="bgcolor" value="' + Obj.bgcolor + '">' + '\n');
 document.write('<param name="menu" value="false"' + '>' + '\n');
 document.write('<param name="menu" value="false"' + '>' + '\n');
 
 if ((navigator.appVersion.indexOf('Win',0) != -1 && navigator.appName.indexOf("Microsoft Internet Explorer",0) != -1) && !(navigator.userAgent.indexOf("Opera",0) != -1) && Obj.nonflashSW == 0) {
			if (Obj.file == '../include/image/001.swf') {
				document.write('<a href="cffl_presen.cfm"><img src="' + Obj.nonFlashSRC + '" width="191" height="103" border="0"></a>') + '\n';
			} else if (Obj.file == '../include/image/002.swf') {
				document.write('<a href="cffl_data.cfm"><img src="' + Obj.nonFlashSRC + '" width="191" height="103" border="0"></a>') + '\n';
			} else if (Obj.file == '../include/image/plugincheck_00.swf') {
				document.write('<a href=""><img src="' + Obj.nonFlashSRC + '" width="30" height="30" border="0"></a>') + '\n';
			}
 }

 if (plugin && pluginVer >= Obj.requiredVer || (navigator.appVersion.indexOf('Mac',0) != -1 && navigator.appVersion.indexOf('MSIE 4.',0) != -1 && Obj.macie4exec == 1) || (navigator.appVersion.indexOf('Mac',0) != -1 && navigator.appVersion.indexOf('MSIE 3.',0) != -1 && Obj.macie4exec == 1)) {
  document.write('<embed src="' + Obj.dir + Obj.file + '" menu="false" quality="' + Obj.quality + '" swLiveConnect="' + Obj.swLiveConnect + '" bgcolor=' + Obj.bgcolor + ' width=' + Obj.width + ' height=' + Obj.height + ' type="application/x-shockwave-flash" pluginspage="' + pluginspages[Obj.language] + '" name="' + Obj.id + '"><\/embed><br>' + '\n');

 } else {

	if (!(navigator.appVersion.indexOf('Win',0) != -1 && navigator.appName.indexOf("Microsoft Internet Explorer",0) != -1)) {
		if (Obj.nonflashSW == 0) {
			if (Obj.file == '../include/image/001.swf') {
				document.write('<a href="cffl_presen.cfm"><img src="' + Obj.nonFlashSRC + '" width="191" height="103" border="0"></a>') + '\n';
			} else if (Obj.file == '../include/image/002.swf') {
				document.write('<a href="cffl_data.cfm"><img src="' + Obj.nonFlashSRC + '" width="191" height="103" border="0"></a>') + '\n';
			} else if (Obj.file == '../include/image/plugincheck_00.swf') {
				document.write('<a href=""><img src="' + Obj.nonFlashSRC + '" width="30" height="30" border="0"></a>') + '\n';
			}
		} else if (Obj.nonflashSW == 1) {
			location.href = Obj.nonFlashSRC;
		}
	}
 }
 document.write('<\/object>' + '\n');
}
document.write(Obj.fotSRC + '\n');
document.close();
}

