// JavaScript Document

$(document).ready(function(){
			
			$('#zone1').hoverIntent( function() {	
					$("div#CarteInteractiveMapZone1").fadeIn("slow");
				}, function() {
					$("div#CarteInteractiveMapZone1:not('.ZoneSelect')").fadeOut("slow");
			});
			$('#zone1').click( function() {
				$('div.InfoZone').fadeOut("slow");
				$('div.CarteInteractiveMapZone').removeClass("ZoneSelect");
				$("div.CarteInteractiveMapZone:not('#CarteInteractiveMapZone1')").fadeOut("slow");
				$('div#InfoZone1').fadeIn("slow");
				$('div#CarteInteractiveMapZone1').addClass("ZoneSelect");
			});

			
			$('#zone2').hoverIntent( function() {	
					$("div#CarteInteractiveMapZone2").fadeIn("slow");
				}, function() {
					$("div#CarteInteractiveMapZone2:not('.ZoneSelect')").fadeOut("slow");
			});
			$('#zone2').click( function() {
				$('div.InfoZone').fadeOut("slow");
				$('div.CarteInteractiveMapZone').removeClass("ZoneSelect");
				$("div.CarteInteractiveMapZone:not('#CarteInteractiveMapZone2')").fadeOut("slow");
				$('div#InfoZone2').fadeIn("slow");
				$('div#CarteInteractiveMapZone2').addClass("ZoneSelect");
			});
			
			$('#zone3').hoverIntent( function() {	
					$("div#CarteInteractiveMapZone3").fadeIn("slow");
				}, function() {
					$("div#CarteInteractiveMapZone3:not('.ZoneSelect')").fadeOut("slow");
			});
			$('#zone3').click( function() {
				$('div.InfoZone').fadeOut("slow");
				$('div.CarteInteractiveMapZone').removeClass("ZoneSelect");
				$("div.CarteInteractiveMapZone:not('#CarteInteractiveMapZone3')").fadeOut("slow");	
				$('div#InfoZone3').fadeIn("slow");
				$('div#CarteInteractiveMapZone3').addClass("ZoneSelect");
			});
			
			$('#zone4').hoverIntent( function() {	
					$("div#CarteInteractiveMapZone4").fadeIn("slow");
				}, function() {
					$("div#CarteInteractiveMapZone4:not('.ZoneSelect')").fadeOut("slow");
			});
			$('#zone4').click( function() {	
				$('div.InfoZone').fadeOut("slow");
				$('div.CarteInteractiveMapZone').removeClass("ZoneSelect");
				$("div.CarteInteractiveMapZone:not('#CarteInteractiveMapZone4')").fadeOut("slow");
				$('div#InfoZone4').fadeIn("slow");
				$('div#CarteInteractiveMapZone4').addClass("ZoneSelect");
			});
			
			$('#zone5').hoverIntent( function() {	
					$("div#CarteInteractiveMapZone5").fadeIn("slow");
				}, function() {
					$("div#CarteInteractiveMapZone5:not('.ZoneSelect')").fadeOut("slow");
			});
			$('#zone5').click( function() {	
				$('div.InfoZone').fadeOut("slow");
				$('div.CarteInteractiveMapZone').removeClass("ZoneSelect");
				$("div.CarteInteractiveMapZone:not('#CarteInteractiveMapZone5')").fadeOut("slow");
				$('div#InfoZone5').fadeIn("slow");
				$('div#CarteInteractiveMapZone5').addClass("ZoneSelect");
			});
			
			
			$('#zone6').hoverIntent( function() {	
					$("div#CarteInteractiveMapZone6").fadeIn("slow");
				}, function() {
					$("div#CarteInteractiveMapZone6:not('.ZoneSelect')").fadeOut("slow");
			});
			$('#zone6').click( function() {
				$('div.InfoZone').fadeOut("slow");
				$('div.CarteInteractiveMapZone').removeClass("ZoneSelect");
				$("div.CarteInteractiveMapZone:not('#CarteInteractiveMapZone6')").fadeOut("slow");
				$('div#InfoZone6').fadeIn("slow");
				$('div#CarteInteractiveMapZone6').addClass("ZoneSelect");
			});
			
			$('#zone7').hoverIntent( function() {	
					$("div#CarteInteractiveMapZone7").fadeIn("slow");
				}, function() {
					$("div#CarteInteractiveMapZone7:not('.ZoneSelect')").fadeOut("slow");
			});
			$('#zone7').click( function() {	
				$('div.InfoZone').fadeOut("slow");
				$('div.CarteInteractiveMapZone').removeClass("ZoneSelect");
				$("div.CarteInteractiveMapZone:not('#CarteInteractiveMapZone7')").fadeOut("slow");
				$('div#InfoZone7').fadeIn("slow");
				$('div#CarteInteractiveMapZone7').addClass("ZoneSelect");
			});
					
			$('span.FermerInfo').click( function() {
				$('div.CarteInteractiveMapZone').removeClass("ZoneSelect").fadeOut("slow");
				$('div.InfoZone').fadeOut("slow");
			});
				
		});
