function xLoaded() {}



/*ThickBox*/
if(xLg=="en") {
		tb_closeCaption="Close";
		tb_closeCaption2="";
	} else {
		tb_closeCaption="Fermer";
		tb_closeCaption2="";
	}

function showMedia(vFile,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="+vFile+"&TB_iframe=true&width="+vWidth+"&height="+vHeight+"&modal=false&scrolling=no");
}

function showFrame(vUrl,vTitre,vWidth,vHeight) {
	var paramSep="?";
	if(vUrl.indexOf("?")>0) paramSep="&";
	tb_show(vTitre,vUrl+paramSep+"s=1&TB_iframe=true&width="+vWidth+"&height="+vHeight+"&modal=false&scrolling=no");
}

function playVideo(video,nomVideo,langue) {
	showFrame("/medias/player.aspx?file="+video+"&langue="+langue, nomVideo, 420, 325);
}

function showImage(imageUrl,imageTitre) {
    if(!imageTitre) imageTitre = top.document.title;
	tb_show(imageTitre,imageUrl+"?width");
}
