function xLoaded() {}
if(xLg == "fr"){
    var tb_closeCaption = "Fermer";
    var tb_closeCaption2 = "";    
}

/*Medias*/

function openMedia(xLink,vUrl,vTitre,vWidth,vHeight) {
	if(!vWidth) vWidth= 450;
	if(!vHeight) vHeight= 340;
	if(!vTitre) vTitre = "";
	vWidth-=30;
	vHeight-=10;
	tb_show(vTitre,"/medias/player.aspx?file="+vUrl+"&TB_iframe=true&width="+vWidth+"&height="+vHeight+"&modal=false&scrolling=no");
}

function openYoutube(xLink,vUrl,vTitre,vWidth,vHeight) {
	if(!vWidth) vWidth= 480;
	if(!vHeight) vHeight= 295;
	if(!vTitre) vTitre = "";
	vWidth-=30;
	vHeight-=10;
	tb_show(vTitre,"/medias/player_youtube.aspx?file="+vUrl+"&TB_iframe=true&width="+vWidth+"&height="+vHeight+"&modal=false&scrolling=no");
}


function showImage(sender,imageUrl,imageTitre) {
    if(!imageTitre) imageTitre = top.document.title;
	tb_show(imageTitre,imageUrl+"?width");
}
