<!--
var FLASH_LIMIT = 5;
var bShowFlash = (navigator.mimeTypes && navigator.mimeTypes["application/x-shockwave-flash"]) ? navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin : false;

function iGetVersion () {
    var words = navigator.plugins["Shockwave Flash"].description.split(" ");
    for (var i = 0; i < words.length; ++i)
    {
		if (isNaN(parseInt(words[i]))) continue;
		iFlashVersion = words[i];
    }
	return (( parseInt(iFlashVersion) >= FLASH_LIMIT) ? true : false );
}

function vbie (){
	document.write('<SCRIPT LANGUAGE=VBScript>\n');
	document.write('dim i, o, bFlashInstalled, iFlashVersion\n');
	document.write('On Error Resume Next\n');
	document.write('bFlashInstalled = False\n');
	document.write('iFlashVersion = -1\n');
	document.write('for i = 5 to 0 step -1\n');
	document.write('set o = CreateObject(\"ShockwaveFlash.ShockwaveFlash.\" & i)\n');
	document.write('bFlashInstalled = IsObject(o)\n');
	document.write('if bFlashInstalled then\n');
	document.write('iFlashVersion = i\n');
	document.write('Exit For\n');
	document.write('End If\n');
	document.write('Next\n');
	document.write('if bShowFlash and (iFlashVersion >= FLASH_LIMIT) then bShowFlash = true else bShowFlash = false\n');
	document.write('</SCR' + 'IPT>');
}

function get_flash_draw(sWidth, sHeight, sFlashPath, sFlashBgColor, sFlashName, imgname, alt, hrefimg) {
	var sOutText = '<a href=' + hrefimg + ' target="_blank"><IMG SRC="' + imgname + '" WIDTH="' + sWidth +
		'" HEIGHT="' + sHeight + '" BORDER= "0" ALT = "' + alt + '" ></a>\n';

	if(bShowFlash) {
		if(navigator.appVersion.indexOf("Macintosh")>=0)
			bShowFlash=true;
		else {
			if(navigator.userAgent.indexOf("Opera")>=0) {
				if(navigator.plugins["Shockwave Flash"].name=="Shockwave Flash") 
					bShowFlash=iGetVersion();
			}
			else
				if(navigator.plugins["Shockwave Flash"]) 
					bShowFlash=iGetVersion();
		}
	}
	else
	  if(navigator.userAgent && navigator.userAgent.indexOf("MSIE")>=0 && (navigator.userAgent.indexOf("Windows 95")>=0 || navigator.userAgent.indexOf("Windows 98")>=0 || navigator.userAgent.indexOf("Windows NT")>=0))
		bShowFlash = true;


	if(bShowFlash){
		sOutText=''+'<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" '+ 'codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" '+'ID='+sFlashName+' WIDTH='+sWidth+' HEIGHT='+sHeight+'>'+'<PARAM NAME=movie VALUE="'+sFlashPath+'">'+'<PARAM NAME=menu VALUE=false>'+'<PARAM NAME=quality VALUE=high>'+'<PARAM NAME=bgcolor VALUE='+sFlashBgColor+'>'+'<EMBED src="'+sFlashPath+'" menu=false quality=high bgcolor='+sFlashBgColor+' swLiveConnect=true WIDTH='+sWidth+' HEIGHT='+sHeight+' NAME="'+sFlashName+'"'+' TYPE="application/x-shockwave-flash"'+' PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer">'+'</EMBED>'+'</OBJECT>';
	} 
	return sOutText;
}

function flash_draw(sWidth, sHeight, sFlashPath, sFlashBgColor, sFlashName, imgname, alt, hrefimg) {
	var sOutText = '<a href=' + hrefimg + ' target="_blank"><IMG SRC="' + imgname + '" WIDTH="' + sWidth +
		'" HEIGHT="' + sHeight + '" BORDER= "0" ALT = "' + alt + '" ></a>\n';

	if(bShowFlash) {
		if(navigator.appVersion.indexOf("Macintosh")>=0)
			bShowFlash=true;
		else {
			if(navigator.userAgent.indexOf("Opera")>=0) {
				if(navigator.plugins["Shockwave Flash"].name=="Shockwave Flash") 
					bShowFlash=iGetVersion();
			}
			else
				if(navigator.plugins["Shockwave Flash"]) 
					bShowFlash=iGetVersion();
		}
	}
	else
	  if(navigator.userAgent && navigator.userAgent.indexOf("MSIE")>=0 && (navigator.userAgent.indexOf("Windows 95")>=0 || navigator.userAgent.indexOf("Windows 98")>=0 || navigator.userAgent.indexOf("Windows NT")>=0))
		bShowFlash = true;

	vbie();

	if(bShowFlash){
		sOutText=''+'<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" '+ 'codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" '+'ID='+sFlashName+' WIDTH='+sWidth+' HEIGHT='+sHeight+'>'+'<PARAM NAME=movie VALUE="'+sFlashPath+'">'+'<PARAM NAME=menu VALUE=false>'+'<PARAM NAME=quality VALUE=high>';
		if(sFlashBgColor)
			sOutText +='<PARAM NAME=bgcolor VALUE='+sFlashBgColor+'>';
		sOutText+='<EMBED src="'+sFlashPath+'" menu=false quality=high ';
		if(sFlashBgColor)
			sOutText+='bgcolor='+sFlashBgColor;
		sOutText+=' swLiveConnect=true WIDTH='+sWidth+' HEIGHT='+sHeight+' NAME="'+sFlashName+'"'+' TYPE="application/x-shockwave-flash"'+' PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer">'+'</EMBED>'+'</OBJECT>';
	} 
	document.writeln(sOutText);
}
function flash_draw_html(sWidth, sHeight, sFlashPath, sFlashBgColor, sFlashName, html) {
	var sOutText = html;

	if(bShowFlash) {
		if(navigator.appVersion.indexOf("Macintosh")>=0)
			bShowFlash=true;
		else {
			if(navigator.userAgent.indexOf("Opera")>=0) {
				if(navigator.plugins["Shockwave Flash"].name=="Shockwave Flash") 
					bShowFlash=iGetVersion();
			}
			else
				if(navigator.plugins["Shockwave Flash"]) 
					bShowFlash=iGetVersion();
		}
	}
	else
	  if(navigator.userAgent && navigator.userAgent.indexOf("MSIE")>=0 && (navigator.userAgent.indexOf("Windows 95")>=0 || navigator.userAgent.indexOf("Windows 98")>=0 || navigator.userAgent.indexOf("Windows NT")>=0))
		bShowFlash = true;

	vbie();
	
	if(bShowFlash){
		sOutText=''+'<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" '+ 'codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" '+'ID='+sFlashName+' WIDTH='+sWidth+' HEIGHT='+sHeight+'>'+'<PARAM NAME=movie VALUE="'+sFlashPath+'">'+'<PARAM NAME=menu VALUE=false>'+'<PARAM NAME=quality VALUE=high>';
		if(sFlashBgColor)
			sOutText +='<PARAM NAME=bgcolor VALUE='+sFlashBgColor+'>';
		sOutText+='<EMBED src="'+sFlashPath+'" menu=false quality=high ';
		if(sFlashBgColor)
			sOutText+='bgcolor='+sFlashBgColor;
		sOutText+=' swLiveConnect=true WIDTH='+sWidth+' HEIGHT='+sHeight+' NAME="'+sFlashName+'"'+' TYPE="application/x-shockwave-flash"'+' PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer">'+'</EMBED>'+'</OBJECT>';
	} 
	document.writeln(sOutText);
}

//-->