// tag objet du flash
	MM_FlashCanPlay = false;
		
	// dÈtection flash.
	// indiquer ici quel version l'usager doit avoir au minimum.
	
	var versionDemander = 7;
	
	// le lien pour telecharge la derniere version de FLASH.
	var Lien = "http://www.macromedia.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash&Lang=French&P6_Language=French";	
	
	// initialisation et ecritures des codes en VBScript pour Explorer.
	// ce code a ete teste sous PC: IE 5.5 IE 6, Netscape 4.7, Netscape 7
	//							MAC: IE: 5.1, Netscape 4.7
	
	MM_contentVersion   = versionDemander;

	
	var plugin = (navigator.mimeTypes && navigator.mimeTypes["application/x-shockwave-flash"]) ? navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin : 0;
	
	if ( plugin ) {
			var words = navigator.plugins["Shockwave Flash"].description.split(" ");
			for (var i = 0; i < words.length; ++i)
			{
				if (isNaN(parseInt(words[i])))
				continue;
				var MM_PluginVersion = words[i]; 
			}
			
	
			var MM_FlashCanPlay = MM_PluginVersion >= MM_contentVersion;
			
			// se souvient de la version installer sur le poste
			if(!MM_FlashCanPlay) MM_contentVersion = MM_PluginVersion;
		
		
	}
	else if (navigator.userAgent && navigator.userAgent.indexOf("MSIE")>=0 
	   && (navigator.appVersion.indexOf("Win") != -1)) {
	   
	   // boucle afin d'identifier la version de flash sur Explorer
	   // installer au niveau du poste.
	   // a revoir pour le coder en VBScript
	   
	   while(MM_FlashCanPlay != true && MM_contentVersion >=1) {
			document.write('<SCR' + 'IPT LANGUAGE=VBScript\> \n'); //FS hide this from IE4.5 Mac by splitting the tag
			document.write('on error resume next \n');
			document.write('MM_FlashCanPlay = ( IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash." & MM_contentVersion)))\n');
			document.write('</SCR' + 'IPT\> \n');
	

			if(MM_FlashCanPlay) {
				if(MM_contentVersion != versionDemander) MM_FlashCanPlay = false;
				break;
			}
			MM_contentVersion--;
		}
			
	}	
