var MM_contentVersion = 8;
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;
	
} else if (navigator.userAgent && navigator.userAgent.indexOf("MSIE")>=0 
   && (navigator.appVersion.indexOf("Win") != -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 ) {

} else{

	document.write('<TABLE WIDTH="584" bgcolor="#ff0000">');
    document.write('<TR> ');
    document.write('<TD COLSPAN="2"> <P><font face="Arial, Helvetica, sans-serif" SIZE=0 color="#ffffff">Certaines parties de ce site reposent ');
    document.write('sur la pr&eacute;sence du module <A HREF="http://www.macromedia.com/software/flash/" TARGET="_new">Macromedia<SUP><FONT SIZE="-1">&reg;</FONT></SUP> ');
    document.write(' Flash<SUP><FONT SIZE=0>TM</FONT></SUP></A>. Votre logiciel de navigation ');
    document.write('comporte une ancienne version de Flash qui ne permet pas de profiter au maximum ');
    document.write('du site du CR&Eacute;VALE.</font> ');
    document.write('<TR> ');
    document.write('<TD><font face="Arial, Helvetica, sans-serif"><A HREF="http://www.macromedia.com/fr/shockwave/download/?P1_Prod_Version=ShockwaveFlash&Lang=French"><IMG SRC="/images/get_flashplayer_88_31.gif" BORDER="0" WIDTH="88" HEIGHT="31"></A> ');
    document.write('</font> ');
    document.write('<TD> <P><font face="Arial, Helvetica, sans-serif" SIZE=0>Pourquoi ne pas <a href="http://www.macromedia.com/fr/shockwave/download/?P1_Prod_Version=ShockwaveFlash&Lang=French">t&eacute;l&eacute;charger</a> cette version de Flash? &Ccedil;a ne prendra que quelques instants! </font> ');
    document.write('</TABLE>');
	
}