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 ) {

	document.write('<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"');
	document.write('  codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" ');
	document.write(' ID="accueil" WIDTH="584" HEIGHT="420" ALIGN="">');
	document.write(' <PARAM NAME=movie VALUE="swf/accueil.swf"> <PARAM NAME=quality VALUE=high> <PARAM NAME=bgcolor VALUE=#ECE9D8>  '); 
	document.write(' <EMBED src="swf/accueil.swf" quality=high bgcolor=#ECE9D8  ');
	document.write(' swLiveConnect=FALSE WIDTH="584" HEIGHT="420" NAME="accueil" ALIGN=""');
	document.write(' TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer">');
	document.write(' </EMBED>');
	document.write(' </OBJECT>');
		
} else{

	document.write('<img src="images/accueil.jpg" width="584" height="420" border="0" usemap="#Map">');
	document.write('<map name="Map">');
	document.write('<area shape="circle" coords="287,310,48" href="ados.html">');
	document.write('<area shape="circle" coords="192,54,40" href="carrefour.html">');
	document.write('<area shape="circle" coords="390,59,43" href="parents.html">');
	document.write('<area shape="circle" coords="524,170,48" href="berceau_2008/intro_berceau.html">');
	document.write('<area shape="circle" coords="53,158,41" href="crevale.html">');
	document.write('<area shape="circle" coords="424,289,48" href="employeurs.html">');
	document.write('<area shape="circle" coords="146,290,48" href="documents_outils/intro_documents_outils.html">');
document.write('</map>');
	document.write('<TABLE WIDTH="584" bgcolor="#FFFFFF">');
    document.write('<TR> ');
      document.write('<TD COLSPAN="2"> <P><font face="Arial, Helvetica, sans-serif" SIZE=-1>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="-2">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=-1>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>');
	
}