$(document).ready(function() {
	// Je masque le bloc "optionsRecherche"
	/*
	$("#ctrlZoneFiliereRecherche_optionsRecherche").hide();
	$("#ctrlZoneFiliereRecherche_optionsRecherche").slideUp();
	*/
	// Je masque le bloc "optionsfilieres"
	/*$("#arborescence_ZONE_FILIERES").hide();
	$("#arborescence_ZONE_FILIERES").slideUp();*/

    /*
	$(".rechercher").mouseover(
		function () {
			$("#arborescence_ZONE_FILIERES").slideUp("fast");
			$("#ctrlZoneFiliereRecherche_optionsRecherche").slideToggle();
			return false;
		}
		);
    */
    /*
	$(".filieres").mouseout(
		function () {			
	        $("#arborescence_ZONE_FILIERES").slideToggle();
			return false;
		}
		);
	*//*
	$(".filieres").click(
		function () {
			$("#arborescence_ZONE_FILIERES").slideToggle();
			return false;
		}
		);*/	/*
	$(".filieres").mouseover(
		function () {
			$("#arborescence_ZONE_FILIERES").slideToggle();
			return false;
		}
		);*/
/*
	$("#filieres").mouseout(
		function () {
			$("#arborescence_ZONE_FILIERES").slideToggle();
			return false;
		}
		);*/
		
    /*$(".filieres").mouseover(function() {
        $(this).parent().addClass("actif");
        $("#arborescence_ZONE_FILIERES").slideDown();
    });
    
    $(".filieres").mouseout(function() {
        $(this).parent().removeClass("actif");
        $("#arborescence_ZONE_FILIERES").hide();
    });*/
});

// rechercher
// optionsRecherche


function afficherActivites(objmenuFilieres)
{
    //this.document.getElementById("arborescence_ZONE_FILIERES").style.display="block";
    if (!$("#ctrlZoneFiliereRecherche_filieres").hasClass("actif"))
    {
        $("#ctrlZoneFiliereRecherche_filieres").addClass("actif");
        $("#arborescence_ZONE_FILIERES").show();
    }
}

function cacherActivites(objmenuFilieres)
{
    //this.document.getElementById("arborescence_ZONE_FILIERES").style.display="none";   
    if ($("#ctrlZoneFiliereRecherche_filieres").hasClass("actif"))
    {
        $("#ctrlZoneFiliereRecherche_filieres").removeClass("actif");
        $("#arborescence_ZONE_FILIERES").hide();
    }
}
