var $j = jQuery.noConflict();

$j(document).ready(function() {
	// Champs search
	$j("form.expose").bind("click keydown", function() { 
	$j(this).expose({ 
	// custom mask settings with CSS 
	maskId: 'mask',
	api: true 
	}).load(); 
	});
	
	// Email
	AfficherEmail = function(e)
        {
		$j("h1").before("<div id='display'><p>Propagande d'id&eacute;es fresh !</p></div>");
		var text = $j('#display');
		text.fadeIn();
	}
	CacherEmail = function(e)
	{
		var text = $j('#display');
		text.remove();
        }
	$j('#logo-eureka').hover(AfficherEmail, CacherEmail);
	
	// Slideshow
	// select #flowplanes and make it scrollable. use circular and navigator plugins
	$j("#flowpanes").scrollable({circular: true, mousewheel: true }).autoscroll({autoplay: true});
});
