$(function() {
$("#reserve a").each( function () {
            // On stocke le contenu du span :
            var TexteSpan = $(this).text();
            $(this).after('<span>' + TexteSpan + '<\/span>') ;
        } ) ;
$("#reserve-uk a").each( function () {
            // On stocke le contenu du span :
            var TexteSpan = $(this).text();
            $(this).after('<span>' + TexteSpan + '<\/span>') ;
        } ) ;
$("#reserve-de a").each( function () {
            // On stocke le contenu du span :
            var TexteSpan = $(this).text();
            $(this).after('<span>' + TexteSpan + '<\/span>') ;
        } ) ;
 $('#slideshow').after('<ul id="nav">');
 $('#slideshow').cycle({
        fx:     'fade',
        speed:  '500',
        timeout: 5000,
		pager:  '#nav',
		        pagerAnchorBuilder: function(idx, slide) {
		return '<li><a href="#"><span><img src="' + slide.src + '" width="75" height="40" alt="" /></span></a></li>';



			
        }

    });
  $('#slideshowA').cycle({
        fx:     'fade',
        speed:  '500',
        timeout: 5000

    });
 $('.cadre-hebe').after('<ul id="navheb">');
 $('#slide-hebe').cycle({
        fx:     'fade',
        speed:  '500',
        timeout: 5000,
		pager:  '#navheb',
		        pagerAnchorBuilder: function(idx, slide) {
		return '<li><a href="#"><span><img src="' + slide.src + '" width="75" height="40" alt="" /></span></a></li>';



			
        }

    });

		
		});
$(document).ready(function() {
		
			$("a[rel=example_group]").fancybox({
				'transitionIn'		: 'none',
				'transitionOut'		: 'none',
				'titlePosition' 	: 'over',
				'titleFormat'		: function(title, currentArray, currentIndex, currentOpts) {
					return '<span id="fancybox-title-over">Image ' + (currentIndex + 1) + ' / ' + currentArray.length + (title.length ? ' &nbsp; ' + title : '') + '</span>';
				}
			});
			
			$("a[rel=pisc]").fancybox({
				'transitionIn'		: 'none',
				'transitionOut'		: 'none',
				'titlePosition' 	: 'over',
				'titleFormat'		: function(title, currentArray, currentIndex, currentOpts) {
					return '<span id="fancybox-title-over">Image ' + (currentIndex + 1) + ' / ' + currentArray.length + (title.length ? ' &nbsp; ' + title : '') + '</span>';
				}
			});
});
jQuery(function(){
					control = setInterval("jQuery('#clignotant').fadeOut(500);jQuery('#clignotant').fadeIn(500);",2000);
			});

