function changeValue(obj,val){
	document.forms['formContact'].elements[obj].value=subMenu.prodSol[val];
	document.forms['formContact'].elements[obj+"mail"].value=subMenu.mail[val];
}

function changeTextColor(obj,color){
	document.getElementById(obj).style.color=color;
}
 
function changeWeight(obj,weight){
	document.getElementById(obj).style.fontWeight=weight;
}

function changeBgColor(obj,color){
	document.forms['formContact'].elements[obj].style.background=color;
}

function displayMenuLvl1(obj){
	if (document.getElementById(menu1)){
		if (document.getElementById(menu2)){
			displayMenuLvl2Off(menu2);
		}
		changeTextColor(menu1+"Element","#447E9B");
		document.getElementById(menu1).style.display='none';
		document.getElementById(menu1+"Element").style.background='';
		document.getElementById(menu1+"ElementLeft").style.background='';
		document.getElementById(menu1+"ElementRight").style.background='';
	}
	if (document.getElementById(obj)){
		changeTextColor(obj+"Element","#00007C");
		document.getElementById(obj).style.display='block';
		document.getElementById(obj+"Element").style.background='url(../_img/_menu/fondlvl0on.jpg)';
		document.getElementById(obj+"ElementLeft").style.background='url(../_img/_menu/fondlvl0onLeft.jpg)';
		document.getElementById(obj+"ElementRight").style.background='url(../_img/_menu/fondlvl0onRight.jpg)';
	}
	menu1=obj;	
}
function displayMenuLvl2(obj){
	if (document.getElementById(menu2)){
		changeWeight(menu2,300);
		//changeTextColor(menu2,"#447E9B");
		document.getElementById(menu2+"Element").style.display='none';
	}
	if (document.getElementById(obj)){
		changeWeight(obj,900);
		//changeTextColor(obj,"#00007C");
		document.getElementById(obj+"Element").style.display='block';
	}
	setTimer(obj);
	menu2=obj;
}
function displayMenuLvl3(obj){
	if (document.getElementById(menu3)){
		document.getElementById(menu3).style.background='url(../_img/_menu/fondlvl2.jpg)';
	}
	if (document.getElementById(obj)){
		document.getElementById(obj).style.background='url(../_img/_menu/fondlvl2on.jpg)';
	}
	menu3=obj;
}
var timer;
function displayMenuLvl2Off(obj){
	clearTimeout(timer);
	if (obj!=''){
		changeWeight(obj,300);
		//changeTextColor(obj,"#447E9B");
		document.getElementById(obj+"Element").style.display='none';
	}
}
function setTimer(obj){
	clearTimeout(timer);
	timer=window.setTimeout("displayMenuLvl2Off('"+obj+"')",7000);
}
function displayMenuLvlg(obj){
	if (document.getElementById(obj)){
		document.getElementById(obj).style.background='url(../_img/_menu/fondlvlgon.jpg)';
		changeTextColor(obj+"Element","#00007C");
	}
}
function displayMenuLvlgoff(obj){
	if (document.getElementById(obj)){
		document.getElementById(obj).style.background='url()';
		changeTextColor(obj+"Element","#FFFFFF");
	}
}