
function afficheMenuTrouverProduit() {
	myObject = document.getElementById('trouver_produit_beko')
	showMenu(jQuery(myObject))
}

/*
window.onload = function() {
	var btnAfficheMoteur = document.getElementById('trouverVotreProduit');
	btnAfficheMoteur.onclick = afficheMenuTrouverProduit;
	btnAfficheMoteur.onmouseover = afficheMenuTrouverProduit
}
*/

var obj = null;
function hideMenu() {
	if (obj) {
		obj.find('ul').fadeOut('fast');
		obj.find('div').fadeOut('fast');
	} // if
}

function showMenu(object) {
	object.find('ul').fadeIn('fast');
	object.find('div').fadeIn('fast');
}

jQuery(document).ready( function() {
	jQuery('.menu_v2_liste > li ').hover( 
			function() {
				hideMenu();
				obj = null;
				showMenu(jQuery(this));
			},
			function() {
				obj = jQuery(this);
				setTimeout("hideMenu()", 0); // si vous souhaitez retarder la disparition, c'est ici
			});
});
