
function change_over(td1,td2,td3){
	document.getElementById(td1).style.backgroundImage='url(files/gif/c1.gif)';
	document.getElementById(td2).style.backgroundImage='url(files/gif/bg-link.gif)';
	document.getElementById(td3).style.backgroundImage='url(files/gif/c2.gif)';
}
function change_out(td1,td2,td3){
	document.getElementById(td1).style.backgroundImage='url(files/gif/cg1.gif)';
	document.getElementById(td2).style.backgroundImage='url(files/gif/bg-link2.gif)';
	document.getElementById(td3).style.backgroundImage='url(files/gif/cg2.gif)';
}
function change_over2(td1,td2,td3){
	document.getElementById(td1).style.backgroundImage='url(files/gif/c1.1.gif)';
	document.getElementById(td2).style.backgroundImage='url(files/gif/bg-link4.gif)';
	document.getElementById(td3).style.backgroundImage='url(files/gif/c2.2.gif)';
}
function change_out2(td1,td2,td3){
	document.getElementById(td1).style.backgroundImage='url(files/gif/cg1.1.gif)';
	document.getElementById(td2).style.backgroundImage='url(files/gif/bg-link3.gif)';
	document.getElementById(td3).style.backgroundImage='url(files/gif/cg2.2.gif)';
}
function change_overx(td_1,td_2,td_3){
	document.getElementById(td_1).style.backgroundImage='url(files/gif/left-corner-on.gif)';
	document.getElementById(td_2).style.backgroundImage='url(files/gif/bg-menu-on.gif)';
	document.getElementById(td_3).style.backgroundImage='url(files/gif/right-coner-on.gif)';
}
function change_outx(td_1,td_2,td_3){
	document.getElementById(td_1).style.backgroundImage='url(files/gif/left-corner.gif)';
	document.getElementById(td_2).style.backgroundImage='url(files/gif/bg-menu.gif)';
	document.getElementById(td_3).style.backgroundImage='url(files/gif/right-coner.gif)';
}

function trim (myString)
{
return myString.replace(/^\s+/g,'').replace(/\s+$/g,'')
} 

function verif_rech(){
if(trim(document.rech_envoi.rech.value)!="")
document.rech_envoi.submit();
else alert("Veuillez indiquer votre recherche");
}