<!--

var arrPixOver= new Array();
var arrPixOut= new Array();

function preloadPix(){
	arrPixOver[1]=new Image();
	arrPixOver[1].src="images/btn_menu1_o.gif";
	arrPixOver[2]=new Image();
	arrPixOver[2].src="images/btn_menu2_o.gif";
	arrPixOver[3]=new Image();
	arrPixOver[3].src="images/btn_menu3_o.gif";
	arrPixOver[4]=new Image();
	arrPixOver[4].src="images/btn_menu4_o.gif";
	arrPixOver[5]=new Image();
	arrPixOver[5].src="images/accueil/btn_go1_o.gif";	
	

	arrPixOut[1]=new Image();
	arrPixOut[1].src="images/btn_menu1.gif";
	arrPixOut[2]=new Image();
	arrPixOut[2].src="images/btn_menu2.gif";
	arrPixOut[3]=new Image();
	arrPixOut[3].src="images/btn_menu3.gif";
	arrPixOut[4]=new Image();
	arrPixOut[4].src="images/btn_menu4.gif";
	arrPixOut[5]=new Image();
	arrPixOut[5].src="images/accueil/btn_go1.gif";		
}

function switchPix(btnInd,rcvState){
  if ((document.images) && (arrPixOut[btnInd])){
	if (rcvState == 1){
       if (document.images['pixBtn'+btnInd]) document.images['pixBtn'+btnInd].src=arrPixOver[btnInd].src;  	
	}else{
	   if (document.images['pixBtn'+btnInd]) document.images['pixBtn'+btnInd].src=arrPixOut[btnInd].src;		
	}
  }	
}

function switchLang(lang){
	thePage=document.location.pathname.substr(document.location.pathname.lastIndexOf('/')+1);
	document.location='../'+lang+'/'+thePage;
}

if(window.onload){
	window.onload=preloadPix;
}else{
	preloadPix();
}
//-->