
function mise_en_forme_nifty(){
	Nifty("div.rounded","big transparent");
	Nifty("div.roundedTop","top big transparent");
	Nifty("div.roundedBottom","bottom big transparent");
}

function redimentionnement_contenu(){
	getIt("contenu").style.height=String(document.body.clientHeight - getIt("titre").clientHeight - getIt("logo").clientHeight) +"px";
	getIt("contenu").style["width"]=String(document.body.clientWidth - getIt("danseuse").clientWidth - 25) + "px";
}

function docLoad(){
	//addListener ne produit pas le même ordre de chargement entre IE et Firefox
	mise_en_forme_nifty();
	redimentionnement_contenu();
}

function afficher_carrousel(oDiv,strXmlFile){
	var intWidth=500;
	var intHeight=200;
	FlashReplace.replace(oDiv, "Carousel.swf", "CarouselPhotos", intWidth, intHeight, 9,
			{
				wmode : "transparent",
				quality: "high",
				flashvars: "xmlfile=" + strXmlFile
			}
		);
}

function enlever_carrousel(oDiv){remplaceInnerHTML(oDiv,"");}

//Ajout des fonctions
addListener(this, "load", docLoad);
addListener(this, "resize", redimentionnement_contenu);
addListener(document, "mousemove", infobulle_move);
