	jQuery(document).ready(function(){
	
		// last news
		$('#slide_last_news') 
		.after('<div id="nav_last_news">') 
		.cycle({ 
			fx: 'scrollUp', 
			speed: 'slow', 
			timeout: 5000, 
			pager: '#nav_last_news' 
		});
		
		// slider mission
		$('#slider_mission') 
		.cycle({ 
			fx: 'fade', 
			speed: 'slow', 
			timeout: 3000
		});
		
		// slider philosophy
		$('#slider_philosophy') 
		.cycle({ 
			fx: 'fade', 
			speed: 'slow', 
			timeout: 3000
		});
					
		// creations gallery
		jQuery("#creations_gallery").delegate("li", "mouseover mouseout", function(e) {
			if (e.type == 'mouseover') {
			jQuery("#creations_gallery li").not(this).dequeue().animate({opacity: "0.4"}, 300);
			} else {
			jQuery("#creations_gallery li").not(this).dequeue().animate({opacity: "1"}, 300);
			}
		});
		jQuery(".project-filter").delegate(".project", "mouseover mouseout", function(e) {
			if (e.type == 'mouseover') {
			jQuery(".project-filter .project").not(this).dequeue().animate({opacity: "0.4"}, 300);
			} else {
			jQuery(".project-filter .project").not(this).dequeue().animate({opacity: "1"}, 300);
			}
		});
		
	});
