function xLoaded() { }

function showTT(txt,width) {
	showtip("xTooltip",txt,"#FFFFFF",width);
}

function hideTT() {
	hidetip("xTooltip");
}

/*ThickBox*/
if(xLg=="en") {
		tb_closeCaption="Close";
		tb_closeCaption2="";
	} else {
		tb_closeCaption="Fermer";
		tb_closeCaption2="";
	}

function showMedia(vFile,vTitre,vWidth,vHeight) {	
	if(!vWidth) vWidth= 800;
	if(!vHeight) vHeight= 400;
	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 showImage(imageUrl,imageTitre) {
    if(!imageTitre) imageTitre = top.document.title;
	tb_show(imageTitre,imageUrl+"?width");
}

