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});


	$('div.menusubcats').each(function(idx, el) {
		$(this).hide();
	});
	
	$('div.menucatswithsub').each(function() {
		$(this).hover(function() {
			$('div.menusubcats', this).show("fast");
		}, function() {
			$('div.menusubcats', this).hide("fast");
		});
	});

	//alert(a_ouvrir);
	
	if (a_ouvrir) {
		if ($('#menusubcatsRub'+a_ouvrir)) {
			$('#menusubcatsRub'+a_ouvrir).show();
		}
		//myAccordion.showThisHideOpen(myDivs[a_ouvrir-1]);
		//myDivs[a_ouvrir-1].show();
	}
	
}	

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