function menu_verti() {/** collapsor (1.1) // 2009.02.27 // <http://plugins.jquery.com/project/collapsor>* * REQUIRES jQuery 1.2.3+ <http://jquery.com/>* * Copyright (c) 2008 TrafficBroker <http://www.trafficbroker.co.uk>* Licensed under GPL and MIT licenses* * collapsor opens and closes sublevel elements, like a collapsable menu** We need to select the clickable elements that trigger the opening action of the sublevels: $('#menu ul li a').collapsor();* The sublevel element must be in the same level than the triggers** Sample Configuration:* $('ul a').collapsor();* * Config Options:* openClass: Class added to the element when is open // Default: 'open'* sublevelElement: Element that must open or close // Default: 'ul'* closeOthers: Close other elements when opening // Default: false* speed: Speed for the opening animation // Default: 500* easing: Easing for the opening animation. Other than 'swing' or 'linear' must be provided by plugin // Default: 'swing'* * We can override the defaults with:* $.fn.collapsor.defaults.speed = 1000;* * @param  settings  An object with configuration options* @author    Jesus Carrera <jesus.carrera@trafficbroker.co.uk>*/(function($) {$.fn.collapsor = function(settings) {	// override default settings	settings = $.extend({}, $.fn.collapsor.defaults, settings);	var triggers = this;	// for each element	return this.each(function() {	  if ($(this).find('+ ' + settings.sublevelElement).length ) {      $(this).addClass(settings.activeClass);    }		// occult the collapsing elements		$(this).find('+ ' + settings.sublevelElement).hide();		//show the opened		if($(this).hasClass(settings.openClass)){			$(this).find('+ ' + settings.sublevelElement).show();		}		// event handling	  $(this).click(function() {			// if the new active have sublevels			if ($(this).next().is(settings.sublevelElement)){				// blur and add the open class to the clicked				$(this).blur().toggleClass(settings.openClass);				// close others				if (settings.closeOthers == true) {				  				  $(this).parent().parent().children().find('.'+settings.openClass).not(this).removeClass(settings.openClass).next().animate({height:'toggle', opacity:'toggle'}, settings.speed, settings.easing);				}				// toggle the clicked				$(this).next().animate({height:'toggle', opacity:'toggle'}, settings.speed, settings.easing);				return false;			}	   });	});};// default settings$.fn.collapsor.defaults = {	openClass:'open',	activeClass: 'afficherSousMenu',	sublevelElement: 'ul',	closeOthers: true,	speed: 500,	easing: 'swing'};})(jQuery);$("a", ".interne ul#navigation").collapsor();  }function Is_hover_picto(picto,idImage,detailPicto)	{	$("#"+idImage).attr("src","images/pictos/hover/"+picto);	$("#TexteDetailPicto").html(detailPicto);	}function Is_out_picto(picto,idImage)	{	$("#"+idImage).attr("src","images/pictos/"+picto);	}function Is_hover_imgActu(idImage,maxiImage)	{	$("#maxi_"+idImage).html("<img src="+maxiImage+" />");	$("#maxi_"+idImage).show();	}function Is_out_imgActu(idImage)	{	$("#maxi_"+idImage).hide();	}function Is_hover_divActu(idImage)	{	$("#maxi_"+idImage).show();	}function Is_out_divActu(idImage)	{	$("#maxi_"+idImage).hide();	}/* les liens externe en target blank mais en jquery : plus propre */function target_blank() {  $("a[rel~='externe']").click( function() {    window.open( $(this).attr('href') );    return false;  });}/* Supprime le contenu du champ value */function effacer_value(elt){  $(elt).focus(function(){    $(this).removeAttr('value');  });		}/* Lien imprimer non-obtrusif */function imprimer() {  $(".imprimer").click(function() {    window.print();    return false;  });}function jqDock() { $('#jqDock').each(function(){  var opts = {    align: 'middle',    size: 40,    distance :  60,    coefficient:1.5  };  $(this).jqDock(opts);  });}jQuery(document).ready(function() {  /* Appeler une fonction */  menu_verti("a",".interne ul#navigation");  //target_blank("a[rel~='externe']");  effacer_value("#Votrerecherche");  //imprimer(".imprimer");  jqDock('#jqDock');if($("a[rel='enImage']").length!=0)	{	$("a[rel='enImage']").colorbox();	}if($(".nouvelFenetre").length!=0)	{	$(".nouvelFenetre").colorbox();	}if($("#actuEven").length!=0)	{	$('#actuEven').innerfade({ 		speed: 'slow', 		timeout: 4000, 		type: 'sequence',		containerheight: '180px'		}); 	}/*if($("#inline_1").length!=0)	{	$("#inline_1").colorbox({width:"650px", inline:true, href:"#id_1"});	}*//*if($(".afficherChampion").length!=0)	{	 $(".afficherChampion:not(.activeqa)").children(".DetailChampion").hide();		$(".afficherChampion div.clickChamption").click(function() { 			if($(this).parent().hasClass("activeqa")){				$(this).next("div.DetailChampion").slideUp("slow",function() {					$(this).parent().removeClass("activeqa");				});			} else {				  $(this).next("div.DetailChampion").slideDown("slow",function() {					  $(this).parent().addClass("activeqa");				  });			  }		  return false;	    });	}*/  /* appeler une fonction si presente */});function IS_load_plan2(groupe)	{	coords=$("#"+groupe).val();	var reg=new RegExp("[,]+", "g");	var tableau=coords.split(reg);	coordx=tableau[0];	coordy=tableau[1];		var domAnimation = document.getElementById('plan');	domAnimation.SetVariable('messagex',coordx);	domAnimation.SetVariable('messagey',coordy);	}	
