// JavaScript Document
/////// Retour //////////
<!--
function retour() {
window.history.back();
}
// -->
////////////////////////
/////// Calque //////////
<!--
function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
// -->
////////////////////////
/////// Opaciter //////////
<!--
nereidFadeObjects = new Object();
nereidFadeTimers = new Object();

function nereidFade(object, destOp, rate, delta){
if (!document.all)
return
    if (object != "[object]"){  
        setTimeout("nereidFade("+object+","+destOp+","+rate+","+delta+")",0);
        return;
    }
        
    clearTimeout(nereidFadeTimers[object.sourceIndex]);
    
    diff = destOp-object.filters.alpha.opacity;
    direction = 1;
    if (object.filters.alpha.opacity > destOp){
        direction = -1;
    }
    delta=Math.min(direction*diff,delta);
    object.filters.alpha.opacity+=direction*delta;

    if (object.filters.alpha.opacity != destOp){
        nereidFadeObjects[object.sourceIndex]=object;
        nereidFadeTimers[object.sourceIndex]=setTimeout("nereidFade(nereidFadeObjects["+object.sourceIndex+"],"+destOp+","+rate+","+delta+")",rate);
    }
}
function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}
function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}
function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
// -->
/////// Revenir en Haut //////////
<!--
function dblclick() {
window.scrollTo(0,0)
}
if (document.layers) {
document.captureEvents(Event.ONDBLCLICK);
}
document.ondblclick=dblclick;
//-->
////////////////////////
/////// Cadre //////////
<!--
//maPage = self.location;
//cettePage = top.location;
//if (cettePage == maPage)
//{
//	contenuSRC = escape(maPage);
//	cadreURL = '../../../../index.php?' + contenuSRC;
	//top.location.href = cadreURL;
//}
// -->
////////////////////////
/////// Affichage Direct //////////
<!--
function MM_goToURL() { //v3.0
  var i, args=MM_goToURL.arguments; document.MM_returnValue = false;
  for (i=0; i<(args.length-1); i+=2) eval(args[i]+".location='"+args[i+1]+"'");
}
// -->
////////////////////////
/////// Masquer le Calque //////////
<!--
function MM_showHideLayers() { //v6.0
  var i,p,v,obj,args=MM_showHideLayers.arguments;
  for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2];
    if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v=='hide')?'hidden':v; }
    obj.visibility=v; }
}
// -->
<!--
if(document.images)
{
i244695 = new Image;
i244695 = "imagesite/dossier-open.gif";
}
// -->
<!--
function moovemenu() {
ie4=document.all
ns6=document.getElementById&&!document.all
ns4=document.layers
if ( document.getElementById && document.getElementById("menuleft") ){
	if (ie4) {menuleft.style.pixelTop=document.body.scrollTop+150}
else if (ns6) {document.getElementById("menuleft").style.top=window.pageYOffset+150}
else if (ns4) {eval(document.menuleft.top=eval(window.pageYOffset+150));}
if(ie4 || ns6 || ns4)
	setTimeout("moovemenu()",5);
}
}
// -->
////////////////////////	
<!--
function DivStatus( nom, numero )
		{
			var divID = nom + numero;
			if ( document.getElementById && document.getElementById( divID ) ) // Pour les navigateurs récents
				{
					Pdiv = document.getElementById( divID );
					PcH = true;
		 		}
			else if ( document.all && document.all[ divID ] ) // Pour les veilles versions
				{
					Pdiv = document.all[ divID ];
					PcH = true;
				}
			else if ( document.layers && document.layers[ divID ] ) // Pour les très veilles versions
				{
					Pdiv = document.layers[ divID ];
					PcH = true;
				}
			else
				{
					
					PcH = false;
				}
			if ( PcH )
				{
					Pdiv.className = ( Pdiv.className == 'cachediv' ) ? '' : 'cachediv';
				}
		}
		
	function MontreTout( nom )
		{	
			var NumDiv = 1;
			if ( document.getElementById ) // Pour les navigateurs récents
				{
					while ( document.getElementById( nom + NumDiv) )
						{
							SetDiv = document.getElementById( nom + NumDiv );
							if ( SetDiv && SetDiv.className != 'cachediv' )
								{
							document.myimg.src='/imagesite/dossier-open.gif';
									DivStatus( nom, NumDiv );
								}
							NumDiv++;
						}
				}
			else if ( document.all ) // Pour les veilles versions
				{
					while ( document.all[ nom + NumDiv ] )
						{
							SetDiv = document.all[ nom + NumDiv ];
							if ( SetDiv && SetDiv.className != 'cachediv' )
								{
									DivStatus( nom, NumDiv );
								}
							NumDiv++;
						}
				}
			else if ( document.layers ) // Pour les très veilles versions
				{
					while ( document.layers[ nom + NumDiv ] )
						{
							SetDiv = document.layers[ nom + NumDiv ];
							if ( SetDiv && SetDiv.className != 'cachediv' )
								{
									DivStatus( nom, NumDiv );
								}
							NumDiv++;
						}
				}
		}
		
	/*
	* Inverse les divs: Cache les divs visible et montre le divs cachés :)
	*/
	/*
	* Cache tous les divs ayant le même préfixe
	*/
	function CacheTout( nom )
		{	
			var NumDiv = 1;
			if ( document.getElementById ) // Pour les navigateurs récents
				{
					while ( document.getElementById( nom + NumDiv) )
						{
							SetDiv = document.getElementById( nom + NumDiv );
							if ( SetDiv && SetDiv.className != 'cachediv' )
								{
									DivStatus( nom, NumDiv );
								}
							NumDiv++;
						}
				}
			else if ( document.all ) // Pour les veilles versions
				{
					while ( document.all[ nom + NumDiv ] )
						{
							SetDiv = document.all[ nom + NumDiv ];
							if ( SetDiv && SetDiv.className != 'cachediv' )
								{
									DivStatus( nom, NumDiv );
								}
							NumDiv++;
						}
				}
			else if ( document.layers ) // Pour les très veilles versions
				{
					while ( document.layers[ nom + NumDiv ] )
						{
							SetDiv = document.layers[ nom + NumDiv ];
							if ( SetDiv && SetDiv.className != 'cachediv' )
								{
									DivStatus( nom, NumDiv );
								}
							NumDiv++;
						}
				}
		}
	
	/*
	* Montre tous les divs ayant le même préfixe
	*/
	function InverseTout( nom )
		{	
			var NumDiv = 1;
			if ( document.getElementById ) // Pour les navigateurs récents
				{
					while ( document.getElementById( nom + NumDiv ) )
						{
							SetDiv = document.getElementById( nom + NumDiv );
							DivStatus( nom, NumDiv );
							NumDiv++;
						}
				}
			else if ( document.all ) // Pour les veilles versions
				{
					while ( document.all[ nom + NumDiv ] )
						{
							SetDiv = document.all[ nom + NumDiv ];
							DivStatus( nom, NumDiv );
							NumDiv++;
						}
				}
			else if ( document.layers ) // Pour les très veilles versions
				{
					while ( document.layers[ nom + NumDiv ] )
						{
							SetDiv = document.layers[ nom + NumDiv ];
							DivStatus( nom, NumDiv );
							NumDiv++;
						}
				}
		}

//-->
<!--
function MM_jumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}
//-->
<!--
function format(f) {
  var str = document.selection.createRange().text;
  document.formulaire.textetemp.focus();
  var sel = document.selection.createRange();
  sel.text = "[" + f + "]" + str + "[/" + f + "]";
  return;
}
function formatdiv(f) {
  var str = document.selection.createRange().text;
  document.formulaire.textetemp.focus();
  var sel = document.selection.createRange();
  sel.text = "[" + f + "]" + str + "[/div]";
  return;
}
function listenumber() {
  var str = document.selection.createRange().text;
  document.formulaire.textetemp.focus();
  var sel = document.selection.createRange();
  sel.text = "[numberd]" + str + "[/numberf]";
  return;
}
function listepuce() {
  var str = document.selection.createRange().text;
  document.formulaire.textetemp.focus();
  var sel = document.selection.createRange();
  sel.text = "[puced]" + str + "[/pucef]";
  return;
}
function send_color() {
			   var new_color = document.forms['colpick_form'].elements['btn_choose_color'].style.backgroundColor;
			   exp_rgb = new RegExp("rgb","g");
			   if (exp_rgb.test(new_color))
			   {
			   	exp_extract = new RegExp("[0-9]+","g");
			   	var tab_rgb = new_color.match(exp_extract);
			      new_color = '#'+dechex(parseInt(tab_rgb[0]))+dechex(parseInt(tab_rgb[1]))+dechex(parseInt(tab_rgb[2]));
			   }
  var str = document.selection.createRange().text;
  document.formulaire.textetemp.focus();
  var sel = document.selection.createRange();
  sel.text = "[couleur: " + new_color + "']" + str + "[/font]";
  return;
}
function lienin() {
  var str = document.selection.createRange().text;
  document.formulaire.textetemp.focus();
  var lien = prompt("URL :","");
  if (lien != null) {
    var sel = document.selection.createRange();
    sel.text = "[lienin: " + lien + "'][imagelien][/a]" + str + "";
  }
  return;
}
function lienout() {
  var str = document.selection.createRange().text;
  document.formulaire.textetemp.focus();
  var lien = prompt("URL :","");
  if (lien != null) {
    var sel = document.selection.createRange();
    sel.text = "[lienout: " + lien + "' target='_blank'][imagelien][/a]" + str + "";
  }
  return;
}
function lienoutnoimage() {
  var str = document.selection.createRange().text;
  document.formulaire.textetemp.focus();
  var lien = prompt("URL :","");
  if (lien != null) {
    var sel = document.selection.createRange();
    sel.text = "[lienoutnoimage: " + lien + "' target='_blank' class='lien-info']" + str + "[/a]";
  }
  return;
}
function lien() {
  var str = document.selection.createRange().text;
  document.formulaire.textetemp.focus();
  var lien = prompt("URL :","");
  if (lien != null) {
    var sel = document.selection.createRange();
    sel.text = "[lien: " + lien + "']" + str + "[/a]";
  }
  return;
}
function titre() {
  var str = document.selection.createRange().text;
  document.formulaire.textetemp.focus();
  var lien = prompt("Titre :","");
  if (lien != null) {
    var sel = document.selection.createRange();
    sel.text = "{" + lien + "}" + str + "";
  }
  return;
}
function email() {
  var str = document.selection.createRange().text;
  document.formulaire.textetemp.focus();
  var email = prompt("E-mail:","");
  if (email != null) {
    var sel = document.selection.createRange();
    sel.text = "[e-mail: " + email + "']" + str + "[/a]";
  }
  return;
}
function image() {
  var str = document.selection.createRange().text;
  var img = document.forms["InsertionImage"].elements["fichier"].value;
  var fichier = img.split("\\");
  document.formulaire.textetemp.focus();
  var sel = document.selection.createRange();
  sel.text = "" + str + "[image: /" + fichier[2] + "/" + fichier[3] + "']";
  document.getElementById('SelectionFichier').style.visibility = 'hidden';
  return;
}
function insert(f) {
  var str = document.selection.createRange().text;
  document.formulaire.textetemp.focus();
  var sel = document.selection.createRange();
  sel.text = "" + str + "[" + f + "]";
  return;
}
// -->
<!--
var fois=0
function GrandFormat(cheminImage,texte)
{
newImage = new Image;
newImage.src = cheminImage;
html = '<HTML><HEAD><TITLE>&copy; DJ BoBo France</TITLE><meta http-equiv="Pragma" content="no-cache"></HEAD><BODY leftmargin=0 marginwidth=0 topmargin=0 marginheigth=0 oncontextmenu="return false"><CENTER>'+
'<a href="#" onClick="window.close()"><IMG SRC="'+cheminImage+'" BORDER=0 NAME=GrandFormat alt="'+texte+'"border="0" onLoad="window.resizeTo(document.GrandFormat.width+50,document.GrandFormat.height+50); window.moveTo((screen.width-document.GrandFormat.width)/2,5)"> </a></CENTER></BODY></HTML>';
if (fois == 1 ) ouvrirImage.close();
ouvrirImage = window.open('','_blank','toolbar=0,location=0,menuBar=0,directories=0,scrollbars=0,status=0,copyhistory=0,resizable=1');
ouvrirImage.document.write(html);
fois=1;
}
// -->
<!--
		var detail = 50; // nombre de nuances de couleurs dans la barre de droite
		var strhex = "0123456789ABCDEF";
		var i;
		function dechex(n) {
			return strhex.charAt(Math.floor(n/16)) + strhex.charAt(n%16);
		}
		function mouse_click(e)
		{
			x = e.offsetX ? e.offsetX : e.clientX-e.target.x;
			y = e.offsetY ? e.offsetY : e.clientY-e.target.y;
			var part_width = document.all ? document.all.color_picker.width/6 : document.getElementById('color_picker').width/6;
			var part_detail = detail/2;
			var im_height = document.all ? document.all.color_picker.height : document.getElementById('color_picker').height;
			var red = (x >= 0)*(x < part_width)*255
					+ (x >= part_width)*(x < 2*part_width)*(2*255 - x * 255 / part_width)
					+ (x >= 4*part_width)*(x < 5*part_width)*(-4*255 + x * 255 / part_width)
					+ (x >= 5*part_width)*(x < 6*part_width)*255;
			var blue = (x >= 2*part_width)*(x < 3*part_width)*(-2*255 + x * 255 / part_width)
					+ (x >= 3*part_width)*(x < 5*part_width)*255
					+ (x >= 5*part_width)*(x < 6*part_width)*(6*255 - x * 255 / part_width);
			var green = (x >= 0)*(x < part_width)*(x * 255 / part_width)
					+ (x >= part_width)*(x < 3*part_width)*255
					+ (x >= 3*part_width)*(x < 4*part_width)*(4*255 - x * 255 / part_width);
			
			var coef = (im_height-y)/im_height;
			red = 128+(red-128)*coef;
			green = 128+(green-128)*coef;
			blue = 128+(blue-128)*coef;
			changeFinalColor('#' + dechex(red) + dechex(green) + dechex(blue));
			for(i = 0; i < detail; i++)
			{
				if ((i >= 0) && (i < part_detail))
				{
					var final_coef = i/part_detail ;
					var final_red = dechex(255 - (255 - red) * final_coef);
					var final_green = dechex(255 - (255 - green) * final_coef);
					var final_blue = dechex(255 - (255 - blue) * final_coef);
				}
				else
				{
					var final_coef = 2 - i/part_detail ;
					var final_red = dechex(red * final_coef);
					var final_green = dechex(green * final_coef);
					var final_blue = dechex(blue * final_coef);
				}
				color = final_red + final_green + final_blue ;
				document.all ? document.all('gs'+i).style.backgroundColor = '#'+color : document.getElementById('gs'+i).style.backgroundColor = '#'+color;
			}
			
		}
		function changeFinalColor(color)
		{
			document.forms['colpick_form'].elements['btn_choose_color'].style.backgroundColor = color;
			document.forms['colpick_form'].elements['btn_choose_color'].style.borderColor = color;
		}
		window.focus();
// -->
<!--
function Verification() {
	var ok_return = true;
//=> Prenom
mess = "\n";
if (document.forms["formulaire"].elements["prenomtemp"] && document.formulaire.prenomtemp.value == '' || document.forms["formulaire"].elements["prenomtemp"] && document.formulaire.prenomtemp.value == 'Prénom (First Name)')
{
mess += "Vous n'avez pas renseigné le champ \"Prénom (First Name)\" ;\n\n";			
var ok_return = false;
}
//=> Pseudonyme
if (document.forms["formulaire"].elements["pseudonymetemp"] && document.formulaire.pseudonymetemp.value == '')
{
mess += "Vous n'avez pas renseigné le champ \"Pseudonyme\" ;\n\n";			
var ok_return = false;
}
//=> Nom
if (document.forms["formulaire"].elements["nomtemp"] && document.formulaire.nomtemp.value == '' || document.forms["formulaire"].elements["nomtemp"] && document.formulaire.nomtemp.value == 'Nom (Name)')
{
mess += "Vous n'avez pas renseigné le champ \"Nom (Name)\" ;\n\n";			
var ok_return = false;
}
//=> Adresse 1
if (document.forms["formulaire"].elements["adresse1temp"] && document.formulaire.adresse1temp.value == '' || document.forms["formulaire"].elements["adresse1temp"] && document.formulaire.adresse1temp.value == 'Adresse 1')
{
mess += "Vous n'avez pas renseigné le champ \"Adresse\" ;\n\n";			
var ok_return = false;
}
//=> Ville
if (document.forms["formulaire"].elements["villetemp"] && document.formulaire.villetemp.value == '' || document.forms["formulaire"].elements["villetemp"] && document.formulaire.villetemp.value == 'Ville (City)')
{
mess += "Vous n'avez pas renseigné le champ \"Ville (City)\" ;\n\n";			
var ok_return = false;
}
//=> Pays
if (document.forms["formulaire"].elements["paystemp"] && document.formulaire.paystemp.value == '' || document.forms["formulaire"].elements["paystemp"] && document.formulaire.paystemp.value == 'Pays (Country)')
{
mess += "Vous n'avez pas renseigné le champ \"Pays (Country)\" ;\n\n";			
var ok_return = false;
}
//=> Sujet
if (document.forms["formulaire"].elements["sujettemp"] && document.formulaire.sujettemp.value == '' || document.forms["formulaire"].elements["sujettemp"] && document.formulaire.sujettemp.value == 'Titre (Topic)')
{
mess += "Vous n'avez pas renseigné le champ \"Sujet (Topic)\" ;\n\n";			
var ok_return = false;
}
//=> Texte
if (document.forms["formulaire"].elements["textetemp"] && document.formulaire.textetemp.value == '')
{
mess += "Vous n'avez pas écrit de \"Texte\" ;\n\n";			
var ok_return = false;
}
//=> Code
if (document.forms["formulaire"].elements["confirmation"] && document.formulaire.confirmation.value == '' || document.forms["formulaire"].elements["confirmation"] && document.formulaire.confirmation.value == 'Code')
{
mess += "Insérez votre \"Code\" pour valider votre message ;\n\n";			
var ok_return = false;
}
//=> Login
if (document.forms["formulaire"].elements["logintemp"] && document.formulaire.logintemp.value == '')
{
mess += "Vous n'avez pas renseigné le champ \"Login\" ;\n\n";			
var ok_return = false;
}
//=> E-mail
if (document.forms["formulaire"].elements["emailtemp"])
		{
	var adresse = window.document.formulaire.emailtemp.value;
	testm = false ;
	for (var j=1 ; j<(adresse.length) ; j++) 
		{
			if (adresse.charAt(j)=='@') 
				{ 
					if (j<(adresse.length-4))
						{ 
							for (var k=j ; k<(adresse.length-2) ; k++) 
								{ 
									if (adresse.charAt(k)=='.') testm = true; 
								} 
						} 
				} 
		} 
	if (testm==false)
		var no_good_mail = "";
	else 
		var no_good_mail = "good"; 

if (no_good_mail != "good" && adresse != "E-mail")
{
mess += "Votre \"E-mail\" n'est pas Correct ;\n\n";			
var ok_return = false;
}
}
//=> Mot de Passe
if (document.forms["formulaire"].elements["passtemp"] && document.formulaire.passtemp.value == '')
{
mess += "Vous n\'avez pas saisi votre mot de passe ;\n\n";
var ok_return = false;
}
if (document.forms["formulaire"].elements["pass2temp"] && document.formulaire.passtemp.value != document.formulaire.pass2temp.value)
{
mess += "La confirmation de votre mot de passe n\'est pas exacte ;\n\n";
			document.formulaire.passtemp.value = "";
			document.formulaire.pass2temp.value = "";
var ok_return = false;
}

if (ok_return == false){
alert('' + mess +'');
}

return ok_return;
}
//-->
<!--
function ouvreFenetre(page, largeur, hauteur) {
  window.open(page, "", "scrollbars=no,menubar=no,toolbar=no,resizable=no,width=" 
              + largeur + ",height=" + hauteur);
}
// -->
/*	Unobtrusive Flash Objects (UFO) v3.21 <http://www.bobbyvandersluis.com/ufo/>
	Copyright 2005, 2006 Bobby van der Sluis
	This software is licensed under the CC-GNU LGPL <http://creativecommons.org/licenses/LGPL/2.1/>
*/
/*	
Detection Navigator et Mise en Place du Player
*/
var isNav=navigator.appName=="Netscape";
var isIE=navigator.appName=="Microsoft Internet Explorer";
var isNav4=(navigator.appName=="Netscape"&&(navigator.appVersion.charAt(0)=='4'));

function getStyleObject(objectId) {
// cross-browser function to get an object's style object given its id
if(document.getElementById && document.getElementById(objectId)) {
// W3C DOM
return document.getElementById(objectId).style;
} else if (document.all && document.all(objectId)) {
// MSIE 4 DOM
return document.all(objectId).style;
} else if (document.layers && document.layers[objectId]) {
// NN 4 DOM.. note: this won't find nested layers
return document.layers[objectId];
} else {
return false;
}
} // getStyleObject
function changeObjectVisibility(objectId, newVisibility) {
// get a reference to the cross-browser style object and make sure the object exists
var styleObject = getStyleObject(objectId);
if(styleObject) {
styleObject.visibility = newVisibility;
return true;
} else {
// we couldn't find the object, so we can't change its visibility
return false;
}
} 

function moveObject(objectId, newXCoordinate, newYCoordinate) {
    // get a reference to the cross-browser style object and make sure the object exists
    var styleObject = getStyleObject(objectId);
    if(styleObject) {
	styleObject.left = newXCoordinate;
	styleObject.top = newYCoordinate;
	return true;
    } else {
	// we couldn't find the object, so we can't very well move it
	return false;
    }
}


var UFO = {
	req: ["movie", "width", "height", "majorversion", "build"],
	opt: ["play", "loop", "menu", "quality", "scale", "salign", "wmode", "bgcolor", "base", "flashvars", "devicefont", "allowscriptaccess", "seamlesstabbing", "allowfullscreen"],
	optAtt: ["id", "name", "align"],
	optExc: ["swliveconnect"],
	ximovie: "mediaplayer.swf",
	xiwidth: "480",
	xiheight: "295",
	ua: navigator.userAgent.toLowerCase(),
	pluginType: "",
	fv: [0,0],
	foList: [],
		
	create: function(FO, id) {
		if (!UFO.uaHas("w3cdom") || UFO.uaHas("ieMac")) return;
		UFO.getFlashVersion();
		UFO.foList[id] = UFO.updateFO(FO);
		UFO.createCSS("#" + id, "visibility:hidden;");
		UFO.domLoad(id);
	},

	updateFO: function(FO) {
		if (typeof FO.xi != "undefined" && FO.xi == "true") {
			if (typeof FO.ximovie == "undefined") FO.ximovie = UFO.ximovie;
			if (typeof FO.xiwidth == "undefined") FO.xiwidth = UFO.xiwidth;
			if (typeof FO.xiheight == "undefined") FO.xiheight = UFO.xiheight;
		}
		FO.mainCalled = false;
		return FO;
	},

	domLoad: function(id) {
		var _t = setInterval(function() {
			if ((document.getElementsByTagName("body")[0] != null || document.body != null) && document.getElementById(id) != null) {
				UFO.main(id);
				clearInterval(_t);
			}
		}, 250);
		if (typeof document.addEventListener != "undefined") {
			document.addEventListener("DOMContentLoaded", function() { UFO.main(id); clearInterval(_t); } , null); // Gecko, Opera 9+
		}
	},

	main: function(id) {
		var _fo = UFO.foList[id];
		if (_fo.mainCalled) return;
		UFO.foList[id].mainCalled = true;
		document.getElementById(id).style.visibility = "hidden";
		if (UFO.hasRequired(id)) {
			if (UFO.hasFlashVersion(parseInt(_fo.majorversion, 10), parseInt(_fo.build, 10))) {
				if (typeof _fo.setcontainercss != "undefined" && _fo.setcontainercss == "true") UFO.setContainerCSS(id);
				UFO.writeSWF(id);
			}
			else if (_fo.xi == "true" && UFO.hasFlashVersion(6, 65)) {
				UFO.createDialog(id);
			}
		}
		document.getElementById(id).style.visibility = "visible";
	},
	
	createCSS: function(selector, declaration) {
		var _h = document.getElementsByTagName("head")[0]; 
		var _s = UFO.createElement("style");
		if (!UFO.uaHas("ieWin")) _s.appendChild(document.createTextNode(selector + " {" + declaration + "}")); // bugs in IE/Win
		_s.setAttribute("type", "text/css");
		_s.setAttribute("media", "screen"); 
		_h.appendChild(_s);
		if (UFO.uaHas("ieWin") && document.styleSheets && document.styleSheets.length > 0) {
			var _ls = document.styleSheets[document.styleSheets.length - 1];
			if (typeof _ls.addRule == "object") _ls.addRule(selector, declaration);
		}
	},
	
	setContainerCSS: function(id) {
		var _fo = UFO.foList[id];
		var _w = /%/.test(_fo.width) ? "" : "px";
		var _h = /%/.test(_fo.height) ? "" : "px";
		UFO.createCSS("#" + id, "width:" + _fo.width + _w +"; height:" + _fo.height + _h +";");
		if (_fo.width == "100%") {
			UFO.createCSS("body", "margin-left:0; margin-right:0; padding-left:0; padding-right:0;");
		}
		if (_fo.height == "100%") {
			UFO.createCSS("html", "height:100%; overflow:hidden;");
			UFO.createCSS("body", "margin-top:0; margin-bottom:0; padding-top:0; padding-bottom:0; height:100%;");
		}
	},

	createElement: function(el) {
		return (UFO.uaHas("xml") && typeof document.createElementNS != "undefined") ?  document.createElementNS("http://www.w3.org/1999/xhtml", el) : document.createElement(el);
	},

	createObjParam: function(el, aName, aValue) {
		var _p = UFO.createElement("param");
		_p.setAttribute("name", aName);	
		_p.setAttribute("value", aValue);
		el.appendChild(_p);
	},

	uaHas: function(ft) {
		var _u = UFO.ua;
		switch(ft) {
			case "w3cdom":
				return (typeof document.getElementById != "undefined" && typeof document.getElementsByTagName != "undefined" && (typeof document.createElement != "undefined" || typeof document.createElementNS != "undefined"));
			case "xml":
				var _m = document.getElementsByTagName("meta");
				var _l = _m.length;
				for (var i = 0; i < _l; i++) {
					if (/content-type/i.test(_m[i].getAttribute("http-equiv")) && /xml/i.test(_m[i].getAttribute("content"))) return true;
				}
				return false;
			case "ieMac":
				return /msie/.test(_u) && !/opera/.test(_u) && /mac/.test(_u);
			case "ieWin":
				return /msie/.test(_u) && !/opera/.test(_u) && /win/.test(_u);
			case "gecko":
				return /gecko/.test(_u) && !/applewebkit/.test(_u);
			case "opera":
				return /opera/.test(_u);
			case "safari":
				return /applewebkit/.test(_u);
			default:
				return false;
		}
	},
	
	getFlashVersion: function() {
		if (UFO.fv[0] != 0) return;  
		if (navigator.plugins && typeof navigator.plugins["Shockwave Flash"] == "object") {
			UFO.pluginType = "npapi";
			var _d = navigator.plugins["Shockwave Flash"].description;
			if (typeof _d != "undefined") {
				_d = _d.replace(/^.*\s+(\S+\s+\S+$)/, "$1");
				var _m = parseInt(_d.replace(/^(.*)\..*$/, "$1"), 10);
				var _r = /r/.test(_d) ? parseInt(_d.replace(/^.*r(.*)$/, "$1"), 10) : 0;
				UFO.fv = [_m, _r];
			}
		}
		else if (window.ActiveXObject) {
			UFO.pluginType = "ax";
			try { // avoid fp 6 crashes
				var _a = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7");
			}
			catch(e) {
				try { 
					var _a = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");
					UFO.fv = [6, 0];
					_a.AllowScriptAccess = "always"; // throws if fp < 6.47 
				}
				catch(e) {
					if (UFO.fv[0] == 6) return;
				}
				try {
					var _a = new ActiveXObject("ShockwaveFlash.ShockwaveFlash");
				}
				catch(e) {}
			}
			if (typeof _a == "object") {
				var _d = _a.GetVariable("$version"); // bugs in fp 6.21/6.23
				if (typeof _d != "undefined") {
					_d = _d.replace(/^\S+\s+(.*)$/, "$1").split(",");
					UFO.fv = [parseInt(_d[0], 10), parseInt(_d[2], 10)];
				}
			}
		}
	},

	hasRequired: function(id) {
		var _l = UFO.req.length;
		for (var i = 0; i < _l; i++) {
			if (typeof UFO.foList[id][UFO.req[i]] == "undefined") return false;
		}
		return true;
	},
	
	hasFlashVersion: function(major, release) {
		return (UFO.fv[0] > major || (UFO.fv[0] == major && UFO.fv[1] >= release)) ? true : false;
	},

	writeSWF: function(id) {
		var _fo = UFO.foList[id];
		var _e = document.getElementById(id);
		if (UFO.pluginType == "npapi") {
			if (UFO.uaHas("gecko") || UFO.uaHas("xml")) {
				while(_e.hasChildNodes()) {
					_e.removeChild(_e.firstChild);
				}
				var _obj = UFO.createElement("object");
				_obj.setAttribute("type", "application/x-shockwave-flash");
				_obj.setAttribute("data", _fo.movie);
				_obj.setAttribute("width", _fo.width);
				_obj.setAttribute("height", _fo.height);
				var _l = UFO.optAtt.length;
				for (var i = 0; i < _l; i++) {
					if (typeof _fo[UFO.optAtt[i]] != "undefined") _obj.setAttribute(UFO.optAtt[i], _fo[UFO.optAtt[i]]);
				}
				var _o = UFO.opt.concat(UFO.optExc);
				var _l = _o.length;
				for (var i = 0; i < _l; i++) {
					if (typeof _fo[_o[i]] != "undefined") UFO.createObjParam(_obj, _o[i], _fo[_o[i]]);
				}
				_e.appendChild(_obj);
			}
			else {
				var _emb = "";
				var _o = UFO.opt.concat(UFO.optAtt).concat(UFO.optExc);
				var _l = _o.length;
				for (var i = 0; i < _l; i++) {
					if (typeof _fo[_o[i]] != "undefined") _emb += ' ' + _o[i] + '="' + _fo[_o[i]] + '"';
				}
				_e.innerHTML = '<embed type="application/x-shockwave-flash" src="' + _fo.movie + '" width="' + _fo.width + '" height="' + _fo.height + '" pluginspage="http://www.macromedia.com/go/getflashplayer"' + _emb + '></embed>';
			}
		}
		else if (UFO.pluginType == "ax") {
			var _objAtt = "";
			var _l = UFO.optAtt.length;
			for (var i = 0; i < _l; i++) {
				if (typeof _fo[UFO.optAtt[i]] != "undefined") _objAtt += ' ' + UFO.optAtt[i] + '="' + _fo[UFO.optAtt[i]] + '"';
			}
			var _objPar = "";
			var _l = UFO.opt.length;
			for (var i = 0; i < _l; i++) {
				if (typeof _fo[UFO.opt[i]] != "undefined") _objPar += '<param name="' + UFO.opt[i] + '" value="' + _fo[UFO.opt[i]] + '" />';
			}
			var _p = window.location.protocol == "https:" ? "https:" : "http:";
			_e.innerHTML = '<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"' + _objAtt + ' width="' + _fo.width + '" height="' + _fo.height + '" codebase="' + _p + '//download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=' + _fo.majorversion + ',0,' + _fo.build + ',0"><param name="movie" value="' + _fo.movie + '" />' + _objPar + '</object>';
		}
	},
		
	createDialog: function(id) {
		var _fo = UFO.foList[id];
		UFO.createCSS("html", "height:100%; overflow:hidden;");
		UFO.createCSS("body", "height:100%; overflow:hidden;");
		UFO.createCSS("#xi-con", "position:absolute; left:0; top:0; z-index:1000; width:100%; height:100%; background-color:#fff; filter:alpha(opacity:75); opacity:0.75;");
		UFO.createCSS("#xi-dia", "position:absolute; left:50%; top:50%; margin-left: -" + Math.round(parseInt(_fo.xiwidth, 10) / 2) + "px; margin-top: -" + Math.round(parseInt(_fo.xiheight, 10) / 2) + "px; width:" + _fo.xiwidth + "px; height:" + _fo.xiheight + "px;");
		var _b = document.getElementsByTagName("body")[0];
		var _c = UFO.createElement("div");
		_c.setAttribute("id", "xi-con");
		var _d = UFO.createElement("div");
		_d.setAttribute("id", "xi-dia");
		_c.appendChild(_d);
		_b.appendChild(_c);
		var _mmu = window.location;
		if (UFO.uaHas("xml") && UFO.uaHas("safari")) {
			var _mmd = document.getElementsByTagName("title")[0].firstChild.nodeValue = document.getElementsByTagName("title")[0].firstChild.nodeValue.slice(0, 47) + " - Flash Player Installation";
		}
		else {
			var _mmd = document.title = document.title.slice(0, 47) + " - Flash Player Installation";
		}
		var _mmp = UFO.pluginType == "ax" ? "ActiveX" : "PlugIn";
		var _uc = typeof _fo.xiurlcancel != "undefined" ? "&xiUrlCancel=" + _fo.xiurlcancel : "";
		var _uf = typeof _fo.xiurlfailed != "undefined" ? "&xiUrlFailed=" + _fo.xiurlfailed : "";
		UFO.foList["xi-dia"] = { movie:_fo.ximovie, width:_fo.xiwidth, height:_fo.xiheight, majorversion:"6", build:"65", flashvars:"MMredirectURL=" + _mmu + "&MMplayerType=" + _mmp + "&MMdoctitle=" + _mmd + _uc + _uf };
		UFO.writeSWF("xi-dia");
	},

	expressInstallCallback: function() {
		var _b = document.getElementsByTagName("body")[0];
		var _c = document.getElementById("xi-con");
		_b.removeChild(_c);
		UFO.createCSS("body", "height:auto; overflow:auto;");
		UFO.createCSS("html", "height:auto; overflow:auto;");
	},

	cleanupIELeaks: function() {
		var _o = document.getElementsByTagName("object");
		var _l = _o.length
		for (var i = 0; i < _l; i++) {
			_o[i].style.display = "none";
			for (var x in _o[i]) {
				if (typeof _o[i][x] == "function") {
					_o[i][x] = null;
				}
			}
		}
	}

};

if (typeof window.attachEvent != "undefined" && UFO.uaHas("ieWin")) {
	window.attachEvent("onunload", UFO.cleanupIELeaks);
}
function PlayerExtrait(Extrait,TitreExtrait) {
		var Extrait = Extrait;
		var TitreExtrait = TitreExtrait;
		document.getElementById("TitreExtrait").style.visibility = 'visible'
		document.getElementById("TitreExtrait").innerHTML = "<br><font color='#FFFFCC'><b>"+TitreExtrait+"</b></font>";
		var FO = { movie:"mediaplayer.swf",width:"240",height:"80",majorversion:"8",build:"0",
		flashvars:"file=" + Extrait +"&displaywidth=240&displayheight=60&showeq=true&frontcolor=0xFFFFFF&backcolor=0x000066&lightcolor=0x00CCCC&showicons=false&autostart=true"};
		UFO.create(FO,"PlayerExtrait");
}
function PlayerAudio(Audio) {
		var Audio = Audio;
		var FO = { movie:"mediaplayer.swf",width:"240",height:"80",majorversion:"8",build:"0",
		flashvars:"file=" + Audio +"&displaywidth=240&displayheight=60&showeq=true&frontcolor=0xFFFFFF&backcolor=0x000066&lightcolor=0x00CCCC&showicons=false&autostart=false"};
		UFO.create(FO,"PlayerAudio");
}
function PlayerVideo(Video) {
		var Video = Video;
		var FO = { movie:"mediaplayer.swf",width:"425",height:"344",majorversion:"6",build:"0",
		flashvars:"file=" + Video +"&displaywidth=425&displayheight=324&frontcolor=0xFFFFFF&backcolor=0x000066&lightcolor=0x00CCCC&showicons=true&autostart=false"};
		UFO.create(FO,"PlayerVideo");
}
function PlayerVideo169(Video) {
		var Video = Video;
		var FO = { movie:"mediaplayer.swf",width:"480",height:"295",majorversion:"6",build:"0",
		flashvars:"file=" + Video +"&displaywidth=480&displayheight=275&frontcolor=0xFFFFFF&backcolor=0x000066&lightcolor=0x00CCCC&showicons=true&autostart=false"};
		UFO.create(FO,"PlayerVideo169");
}
function PlayerVideo1692(Video) {
		var Video = Video;
		var FO = { movie:"mediaplayer.swf",width:"480",height:"295",majorversion:"6",build:"0",
		flashvars:"file=" + Video +"&displaywidth=480&displayheight=275&frontcolor=0xFFFFFF&backcolor=0x000066&lightcolor=0x00CCCC&showicons=true&autostart=false"};
		UFO.create(FO,"PlayerVideo1692");
}
function PlayerVideoScreen(Video) {
		var Video = Video;
		var FO = { movie:"mediaplayer.swf",width:"320",height:"240",majorversion:"6",build:"0",
		flashvars:"file=" + Video +"&displaywidth=320&displayheight=240&frontcolor=0xFFFFFF&backcolor=0x000066&lightcolor=0x00CCCC&showicons=true&autostart=true"};
		UFO.create(FO,"PlayerVideoScreen");
}
function PlayerVideoScreen169(Video) {
		var Video = Video;
		var FO = { movie:"mediaplayer.swf",width:"480",height:"295",majorversion:"6",build:"40",
		flashvars:"file=" + Video +"&displaywidth=480&displayheight=295&frontcolor=0xFFFFFF&backcolor=0x000066&lightcolor=0x00CCCC&showicons=true&autostart=true"};
		UFO.create(FO,"PlayerVideoScreen169");
}
function PlayerAudioAcceuil(Audio) {
		var Audio = Audio;
		var FO = { movie:"mediaplayer.swf",width:"1",height:"1",majorversion:"6",build:"0",
		flashvars:"file=" + Audio +"&frontcolor=0xFFFFFF&backcolor=0x000066&lightcolor=0x00CCCC&showicons=true&autostart=true"};
		UFO.create(FO,"PlayerAudioAcceuil");
}
function PlayerAudioPlaylist(Playlist) {
		var Playlist = Playlist;
		var FO = { movie:"mediaplayer.swf",width:"320",height:"140",majorversion:"6",build:"0", allowFullScreen:"false",
		flashvars:"file="+ Playlist +"&width=320&height=140&displaywidth=120&repeat=list&frontcolor=0xFFFFFF&backcolor=0x000066&lightcolor=0x00CCCC&showicons=true&shuffle=false&autostart=false"};
		UFO.create(FO,"PlayerAudioPlaylist");
}
function PlayerVideoPlaylist(Playlist) {
		var Playlist = Playlist;
		var FO = { movie:"mediaplayer.swf",width:"480",height:"320",majorversion:"6",build:"0",
		flashvars:"file="+ Playlist +"&displaywidth=380&displayheight=300&frontcolor=0xFFFFFF&backcolor=0x000066&lightcolor=0x00CCCC&showdigits=true&showicons=true&showfsbutton=false&shuffle=false&autostart=false"};
		UFO.create(FO,"PlayerVideoPlaylist");
}

///
if(typeof deconcept=="undefined"){var deconcept=new Object();}
if(typeof deconcept.util=="undefined"){deconcept.util=new Object();}
if(typeof deconcept.SWFObjectUtil=="undefined"){deconcept.SWFObjectUtil=new Object();}
deconcept.SWFObject=function(_1,id,w,h,_5,c,_7,_8,_9,_a,_b){
if(!document.createElement||!document.getElementById){return;}
this.DETECT_KEY=_b?_b:"detectflash";
this.skipDetect=deconcept.util.getRequestParameter(this.DETECT_KEY);
this.params=new Object();
this.variables=new Object();
this.attributes=new Array();
if(_1){this.setAttribute("swf",_1);}
if(id){this.setAttribute("id",id);}
if(w){this.setAttribute("width",w);}
if(h){this.setAttribute("height",h);}
if(_5){this.setAttribute("version",new deconcept.PlayerVersion(_5.toString().split(".")));}
this.installedVer=deconcept.SWFObjectUtil.getPlayerVersion(this.getAttribute("version"),_7);
if(c){this.addParam("bgcolor",c);}
var q=_8?_8:"high";
this.addParam("quality",q);
this.setAttribute("useExpressInstall",_7);
this.setAttribute("doExpressInstall",false);
var _d=(_9)?_9:window.location;
this.setAttribute("xiRedirectUrl",_d);
this.setAttribute("redirectUrl","");
if(_a){this.setAttribute("redirectUrl",_a);}};
deconcept.SWFObject.prototype={setAttribute:function(_e,_f){
this.attributes[_e]=_f;
},getAttribute:function(_10){
return this.attributes[_10];
},addParam:function(_11,_12){
this.params[_11]=_12;
},getParams:function(){
return this.params;
},addVariable:function(_13,_14){
this.variables[_13]=_14;
},getVariable:function(_15){
return this.variables[_15];
},getVariables:function(){
return this.variables;
},getVariablePairs:function(){
var _16=new Array();
var key;
var _18=this.getVariables();
for(key in _18){_16.push(key+"="+_18[key]);}
return _16;
},getSWFHTML:function(){
var _19="";
if(navigator.plugins&&navigator.mimeTypes&&navigator.mimeTypes.length){
if(this.getAttribute("doExpressInstall")){this.addVariable("MMplayerType","PlugIn");}
_19="<embed type=\"application/x-shockwave-flash\" src=\""+this.getAttribute("swf")+"\" width=\""+this.getAttribute("width")+"\" height=\""+this.getAttribute("height")+"\"";
_19+=" id=\""+this.getAttribute("id")+"\" name=\""+this.getAttribute("id")+"\" ";
var _1a=this.getParams();
for(var key in _1a){_19+=[key]+"=\""+_1a[key]+"\" ";}
var _1c=this.getVariablePairs().join("&");
if(_1c.length>0){_19+="flashvars=\""+_1c+"\"";}
_19+="/>";}else{if(this.getAttribute("doExpressInstall")){this.addVariable("MMplayerType","ActiveX");}
_19="<object id=\""+this.getAttribute("id")+"\" classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" width=\""+this.getAttribute("width")+"\" height=\""+this.getAttribute("height")+"\">";
_19+="<param name=\"movie\" value=\""+this.getAttribute("swf")+"\" />";
var _1d=this.getParams();
for(var key in _1d){_19+="<param name=\""+key+"\" value=\""+_1d[key]+"\" />";}
var _1f=this.getVariablePairs().join("&");
if(_1f.length>0){_19+="<param name=\"flashvars\" value=\""+_1f+"\" />";}_19+="</object>";}
return _19;},write:function(_20){
if(this.getAttribute("useExpressInstall")){
var _21=new deconcept.PlayerVersion([6,0,65]);
if(this.installedVer.versionIsValid(_21)&&!this.installedVer.versionIsValid(this.getAttribute("version"))){
this.setAttribute("doExpressInstall",true);
this.addVariable("MMredirectURL",escape(this.getAttribute("xiRedirectUrl")));
document.title=document.title.slice(0,47)+" - Flash Player Installation";
this.addVariable("MMdoctitle",document.title);}}
if(this.skipDetect||this.getAttribute("doExpressInstall")||this.installedVer.versionIsValid(this.getAttribute("version"))){
var n=(typeof _20=="string")?document.getElementById(_20):_20;
n.innerHTML=this.getSWFHTML();return true;
}else{if(this.getAttribute("redirectUrl")!=""){document.location.replace(this.getAttribute("redirectUrl"));}}return false;}};
deconcept.SWFObjectUtil.getPlayerVersion=function(_23,_24){
var _25=new deconcept.PlayerVersion([0,0,0]);
if(navigator.plugins&&navigator.mimeTypes.length){
var x=navigator.plugins["Shockwave Flash"];
if(x&&x.description){_25=new deconcept.PlayerVersion(x.description.replace(/([a-z]|[A-Z]|\s)+/,"").replace(/(\s+r|\s+b[0-9]+)/,".").split("."));}
}else{try{var axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash");
for(var i=3;axo!=null;i++){axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash."+i);_25=new deconcept.PlayerVersion([i,0,0]);}}
catch(e){}
if(_23&&_25.major>_23.major){return _25;}
if(!_23||((_23.minor!=0||_23.rev!=0)&&_25.major==_23.major)||_25.major!=6||_24){
try{_25=new deconcept.PlayerVersion(axo.GetVariable("$version").split(" ")[1].split(","));}
catch(e){}}}return _25;};
deconcept.PlayerVersion=function(_29){
this.major=parseInt(_29[0])!=null?parseInt(_29[0]):0;
this.minor=parseInt(_29[1])||0;
this.rev=parseInt(_29[2])||0;};
deconcept.PlayerVersion.prototype.versionIsValid=function(fv){
if(this.major<fv.major){return false;}
if(this.major>fv.major){return true;}
if(this.minor<fv.minor){return false;}
if(this.minor>fv.minor){return true;}
if(this.rev<fv.rev){return false;}return true;};
deconcept.util={getRequestParameter:function(_2b){
var q=document.location.search||document.location.hash;
if(q){var _2d=q.indexOf(_2b+"=");
var _2e=(q.indexOf("&",_2d)>-1)?q.indexOf("&",_2d):q.length;
if(q.length>1&&_2d>-1){return q.substring(q.indexOf("=",_2d)+1,_2e);}}
return "";}};
deconcept.SWFObjectUtil.cleanupSWFs=function(){
var _2f=document.getElementsByTagName("OBJECT");
for(var i=0;i<_2f.length;i++){
for(var x in _2f[i]){if(typeof _2f[i][x]=="function"){_2f[i][x]=null;}}}};
if(typeof window.onunload=="function"){
var oldunload=window.onunload;
window.onunload=function(){deconcept.SWFObjectUtil.cleanupSWFs();oldunload();};
}else{window.onunload=deconcept.SWFObjectUtil.cleanupSWFs;}
if(Array.prototype.push==null){
Array.prototype.push=function(_32){
this[this.length]=_32;
return this.length;};}

var getQueryParamValue = deconcept.util.getRequestParameter;
var FlashObject = deconcept.SWFObject; // for backwards compatibility
var SWFObject = deconcept.SWFObject;

