// CYCLE
/*
$(function() {
   $('#slide').cycle({ 
    fx:     'fade', 
    speed:  'fast', 
    timeout: 0,
    next:   '#next2', 
    prev:   '#prev2',
    before:  onBefore,
    after:   onAfter
});
});


function onBefore() {
    $('#output').html("");
 }
function onAfter() {
    $('#output').html("")
        .append(this.alt);
}
*/

// CYCLE
$(function() {
    // run the code in the markup!
    $('#slide').cycle({ 
    fx:    'fade',
    speed: 1000,
    timeout:  7000  
    });
});

	// ACCORDEON
  	jQuery().ready(function(){
		jQuery('#syndication').accordion({
		header: 'h3',
		active: false,
		event: 'mouseover'
		});
	});


// shadowbox - affichage d'image		
			$(document).ready(function(){
			    var options = {
			        resizeLgImages:     true,
			        counterType:		'skip',
			        continuous: 		true,
			        keysClose:          ['c', 27]
			     };
			   Shadowbox.init(options);
			});
