function playFLV(FLVFile) {

	cont = '<p><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="490" height="295" ID="FLVM">';

   cont +='<param name="movie" value="'+FLVFile+'" />';

   cont += '<param name="quality" value="high" />';

	cont += '<param name="wmode" value="transparent" />';

   cont +='<embed wmode="transparent" name="FLVM" src="'+FLVFile+'" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="490" height="295"></embed>';

	cont += '</object></p>';

	var inFLV = document.getElementById('video');

	inFLV.innerHTML = cont;

}



function playFLV2(FLVFile) {

	cont = '<p><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="400" height="300" ID="FLVM">';

   cont +='<param name="movie" value="'+FLVFile+'" />';

   cont += '<param name="quality" value="high" />';

	cont += '<param name="wmode" value="transparent" />';

   cont +='<embed wmode="transparent" name="FLVM" src="'+FLVFile+'" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="400" height="300"></embed>';

	cont += '</object></p>';

	var inFLV = document.getElementById('video2');

	inFLV.innerHTML = cont;

}



function playFLV4(FLVFile) {

	cont = '<p><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="500" height="350" ID="FLVM">';

   cont +='<param name="movie" value="'+FLVFile+'" />';

   cont += '<param name="quality" value="high" />';

	cont += '<param name="wmode" value="transparent" />';

   cont +='<embed wmode="transparent" name="FLVM" src="'+FLVFile+'" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="500" height="350"></embed>';

	cont += '</object></p>';

	var inFLV = document.getElementById('video4');

	inFLV.innerHTML = cont;

}



function playFLV5(FLVFile) {

	cont = '<p><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="360" height="240" ID="FLVM">';

   cont +='<param name="movie" value="'+FLVFile+'" />';

   cont += '<param name="quality" value="high" />';

	cont += '<param name="wmode" value="transparent" />';

   cont +='<embed wmode="transparent" name="FLVM" src="'+FLVFile+'" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="360" height="240"></embed>';

	cont += '</object></p>';

	var inFLV = document.getElementById('video5');

	inFLV.innerHTML = cont;

}

//fonction pour afficher le titre des réalisations en passant avec la souris

// l'élément tooltip

var tooltip = {

    // proprieté de l'élément tooltip

    id:"tooltip",

    offsetx : 10,

    offsety : 10,

    _x : 0,

    _y : 0,

    _tooltipElement:null,

    _saveonmouseover:null

}

//fonction pour afficher la div

tooltip.show = function (htmlelement) {



    // sauver le texte de l'attribut title pour éviter l'apparence du tooltip produite par le navigateur

    var text=htmlelement.getAttribute("title");

    htmlelement.setAttribute("title","");

    htmlelement.setAttribute("title_saved",text);



	if(document.getElementById){

        this._tooltipElement = document.getElementById(this.id);

	}else if ( document.all ) {

        this._tooltipElement = document.all[this.id].style;

	}



    this._saveonmouseover = document.onmousemove;

    document.onmousemove = this.mouseMove;



    this._tooltipElement.innerHTML = text;



    this.moveTo(this._x + this.offsetx , this._y + this.offsety);



    if(this._tooltipElement.style){

        this._tooltipElement.style.visibility ="visible";

    }else{

        this._tooltipElement.visibility = "visible";

    }

   return false;

}

//fonction pour cacher la div

tooltip.hide = function (htmlelement) {

    htmlelement.setAttribute("title",htmlelement.getAttribute("title_saved"));

    htmlelement.removeAttribute("title_saved");



    if(this._tooltipElement.style){

        this._tooltipElement.style.visibility ="hidden";

    }else{

        this._tooltipElement.visibility = "hidden";

    }

    document.onmousemove=this._saveonmouseover;

}

// Déplace l'élément tooltip

tooltip.mouseMove = function (e) {

    if(e == undefined)

        e = event;



    if( e.pageX != undefined){ // gecko, konqueror,

        tooltip._x = e.pageX;

        tooltip._y = e.pageY;

    }else if(event != undefined && event.x != undefined && event.clientX == undefined){ // ie4 ?

        tooltip._x = event.x;

        tooltip._y = event.y;

    }else if(e.clientX != undefined ){ // IE6,  IE7, IE5.5

        if(document.documentElement){

            tooltip._x = e.clientX + ( document.documentElement.scrollLeft || document.body.scrollLeft);

            tooltip._y = e.clientY + ( document.documentElement.scrollTop || document.body.scrollTop);

        }else{

            tooltip._x = e.clientX + document.body.scrollLeft;

            tooltip._y = e.clientY + document.body.scrollTop;

        }

   

    }else{

        tooltip._x = 0;

        tooltip._y = 0;

    }

    tooltip.moveTo( tooltip._x +tooltip.offsetx , tooltip._y + tooltip.offsety);



}

// Déplace l'élément tooltip par rapport à la souris

tooltip.moveTo = function (xL,yL) {

    if(this._tooltipElement.style){

        this._tooltipElement.style.left = xL +"px";

        this._tooltipElement.style.top = yL +"px";

    }else{

        this._tooltipElement.left = xL;

        this._tooltipElement.top = yL;

    }

}


