function positionMenus(){

var myLoop =1;	
do
 {
	element='menu'+myLoop;
	if(document.all) {
		stylePath = document.all[element].style;
	} else if(document.layers){
		stylePath = document.layers[element];
	} else {
		stylePath = document.getElementById(element).style;
	}
	if (typeof stylePath!="undefined")
	{
		stylePath.top = menuTop+14;
		myLoop=myLoop+1;
	}
}
while(myLoop<=5)

}
var menuDown = new Array();
var menuTimer=new Array();

function mainMenuDown(menuIndex){
	menuVis(menuIndex,'visible')
	MM_swapImage('iconoHaut'+menuIndex,'','img/btn/over/icono'+menuIndex+'over.gif',1)
	if( typeof (menuTimer[menuIndex]) != "undefined"){clearTimeout(menuTimer[menuIndex])}

}

function mainMenuUp(menuIndex){
	MM_swapImgRestore();
	menuTimer[menuIndex]=setTimeout('menuVis('+menuIndex+',"hidden");',100)
}

function menuVis(menu,visibility){
	element='menu'+menu;
	if(document.all) {
		stylePath = document.all[element].style;
	} else if(document.layers){
		stylePath = document.layers[element];
	} else {
		stylePath = document.getElementById(element).style;
	}
	stylePath.visibility=visibility;
}

