// Get Cookies script

var MM_contentVersion = 6;
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 ) {

      flColor = "#000000"
      flHeight = "550"
      flWidth = "790"

document.write('<OBJECT '
      +  'classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"'
      + ' codebase="http://active.macromedia.com/flash2/'
      + 'cabs/swflash.cab#version=6,0,0,0"'
      + ' ID="flash"'
      + ' WIDTH=' + flWidth
      + ' HEIGHT=' + flHeight + '>'
      + '<PARAM NAME=movie VALUE="maquette_fin.swf">'
      + '<PARAM NAME=quality VALUE=high>'
      + '<PARAM NAME=bgcolor VALUE=' + flColor + '>'
      + '<EMBED src="maquette_fin.swf"'
      + ' name="flash"'
      + ' quality=high bgcolor=' + flColor
      + ' WIDTH=' + flWidth
      + ' HEIGHT=' + flHeight
      + ' TYPE="application/x-shockwave-flash"'
      + ' PLUGINSPAGE="http://www.macromedia.com/shockwave/'
      + 'download/index.cgi?P1_Prod_Version=ShockwaveFlash">'
      + '</EMBED></OBJECT>'
)

} else{
	document.write('<span style="font-family:verdana;font-size:11px">Vous ne disposez pas d\'une version assez récente du lecteur Flash<br>pour utiliser le site <b>renelussier.com</b>.<br><br>Cliquez sur le lien suivant pour télécharger le lecteur...<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" target="_new">télécharger Flash Player</a><br><br><br><br>Pour accèder à nouveau au site <b>renelussier.com</b>,<br>cliquez sur le lien suivant.<br><br><a href="http://www.renelussier.com">renelussier.com</a></span>');
}
