// JavaScript Document
	function initial(){
$("#region").hover(function () {
      $("#carte").slideDown("slow");
	}, function () {
     $("#carte").slideUp("slow");}
    );
var so = new SWFObject("audio.swf", "son",250, 22, 7, "#336699");
    so.addParam("quality", "high");
   so.addParam("wmode", "transparent");
   so.write("audio");
   changefoot();
}

dimension= function(){
if($("#pane2").height()>(h-135)*0.9){
$("#pane2").height((h-135)*0.9);
$(function()
			{
				// this initialises the demo scollpanes and makes it reinitialise itself once it's images have loaded...
				$('#pane2')
					.jScrollPane(
						{
							showArrows:true, 
							scrollbarWidth: 15,
							reinitialiseOnImageLoad: true
						}
					);
			});

}
}
	
changefoot= function(){
inifoot=inifoot+1;if($("#footer span").eq(inifoot).html()=="fin"){inifoot=2;};
$("#textfoot").animate({ 
        opacity: 0
      }, 200,"",function () {var htmfoot=$("#footer span").eq(inifoot).html();
$("#textfoot").html(htmfoot);
$("#textfoot").animate({ 
        opacity: 1
      },200,"",function () {timer=setTimeout('changefoot()',6000);});});
}
