| 
					
				 | 
			
			
				@@ -280,12 +280,12 @@ $(function(){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 //menu ouvertur sur page event et actu 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 if($(".page-node-type-evenement").length > 0 || $(".page-node-type-actualite").length > 0){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-	$('.views-element-container header').click(function(){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	$('.views-element-container header').on('click', function(){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		$(this).parent().find(".view-grouping").fadeToggle(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		$(this).parent().find(".views-row").fadeToggle(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 	}); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-	$('.view-grouping-header').click(function(){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	$('.view-grouping-header').on('click', function(){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		$(this).parent().find(".view-grouping-content").slideToggle(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 	}); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 } 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -300,31 +300,39 @@ if($(".page-node-type-programme").length > 0 || $(".page-node-type-projet").leng 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 	}) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-	$('.views-element-container header').click(function(){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	$('.views-element-container header').on("click", function(){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		//$(this).parent().find(".view-grouping").fadeToggle(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		console.log($(this).parent().find("h3")); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-		if($(this).parent().find("h3").length > 0){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		if($(this).parent().children("h3").length > 0){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			// for territoires which are grouped by regions 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			$(this).parent().find("h3").fadeToggle(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		}else{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			$(this).parent().find(".views-row").fadeToggle(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-		} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-		 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		}		 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	}); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-		 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	// popsu 1 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	// $('') 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	$('#programme_toc-block_9 header').on('click', function(){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		$(this).parent().find(".view-grouping").fadeToggle(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		$(this).parent().find(".views-row").fadeToggle(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 	}); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 	//page projet 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-	$("#programme_toc-block_10 h3").click(function(){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	$("#programme_toc-block_10 h3").on('click', function(){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		// pour territoire 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		$(this).nextUntil("h3").fadeToggle(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 	}); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 	//page programme 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-	$("#programme_toc-block_4 h3").click(function(){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	// pour territoire (h3 are regions) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	$("#programme_toc-block_4 h3").on('click', function(){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		console.log(this); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		$(this).nextUntil("h3").fadeToggle(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 	}); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-	$('.view-grouping-header').click(function(){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	$('.view-grouping-header').on('click', function(){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		$(this).parent().find(".view-grouping-content").slideToggle(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 	}); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 |