<!--

	// Flash detection, (c) Sunsun.fi, VL
	// info@sunsun.fi

	function flashInstalled(){

		Flash = false;

		// Netscape/mozilla (IE plugins.length = 0)
		if(navigator.plugins && navigator.plugins.length){
			if(navigator.plugins["Shockwave Flash"]) Flash = true;
			if(navigator.plugins["Shockwave Flash 2.0"]) Flash = true;
			if(navigator.mimeTypes['application/x-shockwave-flash'] && navigator.mimeTypes['application/x-shockwave-flash'].enabledPlugin) Flash = true;
		} else {
			// VBScript (thanks to http://www.quirksmode.org/js/flash.html)
			document.writeln('<scr'+'ipt language="VBScript">');
			document.writeln('on error resume next');
			document.writeln('For i = 2 to 6');
			document.writeln('	If Not(IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash." & i))) Then');
			document.writeln('  Else');
			document.writeln('		Flash = true');
			document.writeln('  End If');
			document.writeln('Next');
			document.writeln('</scr'+'ipt>');
		}
  		return Flash;
  	}
// -->

