jQuery(document).ready(function() {

    $('div[@rel*=moteur_clicker]').click(function(){
		var conteneur_id = this.id;
		var conteneur_moteur_id = conteneur_id + '_content';
		$('.moteur_clicker').each(function(){
			if (this.id != conteneur_id) $('#' + this.id + '_content').hide();
		});
		$('#' + conteneur_moteur_id).fadeIn('fast');
	});


});
var recherche_timer = 0;
var actu_lien = '';

function hide_moteur(id) {
	$('#' + id).hide();
}

function show_menu() {
	clearTimeout ( recherche_timer );
}

function unshow_menu(id) {
	recherche_timer = setTimeout('hide_moteur("js_moteur_' + id + '_content")', 100);
}

function style_lien(id) {
		$('#' + id).css({
			'background': '#d7d7d7'
		});
		actu_lien = id;
}

function unstyle_lien(id) {
	$('#' + id).css({
		'background': '#f7f7f7'
	});
}

