$(function() {
    $('.fleche-gal').click(function(){ return false; });
    // initialize scrollable
    $(".masque-h").scrollable({circular: true, speed:2000, easing: 'easeInOutCubic',next: '.hgalerie-arrow',items: ".group-img"}).autoscroll({ autoplay: true ,interval:8000});
    $(".masque-v").scrollable({circular: true, speed:2000, easing: 'easeInOutCubic',next: '.vgalerie-arrow',items: ".group-img",vertical:true}).autoscroll({ autoplay: true ,interval:8000});
    $(".masque").scrollable({circular: true, speed:2000, easing: 'easeInOutCubic',next: '.fleche-droite-galerie',prev: '.fleche-gauche-galerie',items: ".group-img"}).autoscroll({ autoplay: true ,interval:6000});

    $('a[rel*=lightbox]').lightBox({
            imageLoading:			'wp-content/themes/terreetbiscuit/images/lightbox-ico-loading.gif',		// (string) Path and the name of the loading icon
            imageBtnPrev:			'wp-content/themes/terreetbiscuit/images/lightbox-btn-prev.gif',			// (string) Path and the name of the prev button image
            imageBtnNext:			'wp-content/themes/terreetbiscuit/images/lightbox-btn-next.gif',			// (string) Path and the name of the next button image
            imageBtnClose:			'wp-content/themes/terreetbiscuit/images/lightbox-btn-close.gif',		// (string) Path and the name of the close btn
            imageBlank:				'wp-content/themes/terreetbiscuit/images/lightbox-blank.gif',
            txtImage:				'Photo',	// (string) Specify text "Image"
	    txtOf:				'sur'// (string) Path and the name of a blank image (one pixel)
        });
});
