function initmenu(a_ouvrir){
		
	//we define two arrays, containing our toggles and divs.
	var myDivs = document.getElementsByClassName('menusubcats');
	var myLinks = document.getElementsByClassName('menucatswithsub');

	//then we create the effect.
	var myAccordion = new fx.Accordion(myLinks, myDivs, {opacity: true, duration: 300});


	if(a_ouvrir) myAccordion.showThisHideOpen(myDivs[a_ouvrir-1]);

}	

function openWindow(url,width,height) {
	window.open(url,'','toolbar=no,location=no,status=no,menubar=no,scrollbars=yes,resizable=yes,width='+width+',height='+height);
}