$.fn.cycle.defaults.speed   = 900;
$.fn.cycle.defaults.timeout = 6000;

$(function() {
    // run the code in the markup!


    $('#slideshow').cycle({ timeout: 3000, cleartype: 1, speed: 400 });

    $('#blindX').cycle({
       fx:     'blindX',
       speed:   1000,
       timeout: 6000,
       delay:  -4000
    });

    $('#blindY').cycle({
       fx:     'blindY',
       speed:   1000,
       timeout: 6000,
       delay:  -2000
    });

    $('#blindZ').cycle({
       fx:     'blindZ',
       speed:   1000,
       timeout: 6000
    });

	$('#zoom2').cycle({
	    fx:    'zoom',
		sync:  false,
	    delay: -2000
	});

    $('#growX').cycle({
       fx:     'growX',
       delay:  -2000
    });
    
    $('#growY').cycle('growY');

    $('#cover').cycle({
       fx:        'cover',
       direction: 'left', // one of up|down|left|right  default=left
       delay:    -2000
    });

    $('#uncover').cycle({
       fx:        'uncover',
       direction: 'down' // one of up|down|left|right  default=left
    });


    $('#curtainX').cycle({
       fx:     'curtainX',
       sync:    0,
       delay:  -2000
    });
    $('#curtainY').cycle({
       fx:     'curtainY',
       sync:    0
    });

	$('#wipe0').cycle('wipe');

	$('#wipe1').cycle({ 
	   fx:     'wipe', 
	   speed:   1000, 
	   timeout: 6000, 
	   delay:  -4000, 
	   clip:   'l2r' 
	}); 

	$('#wipe2').cycle({ 
	   fx:     'wipe', 
	   speed:   1000, 
	   timeout: 6000, 
	   delay:  -2000, 
	   clip:   't2b' 
	});

	$('#wipe3').cycle({ 
	   fx:     'wipe', 
	   speed:   1000, 
	   timeout: 6000, 
	   clip:   'zoom' 
	});

	$('#wipe4').cycle({ 
	   fx:        'wipe', 
	   cssBefore: {clip: 'rect(0 116px 0px 116px)'}, 
	   timeout:   6000, 
	   delay:    -3000 
	}); 


	$('#scrollDown').cycle({ 
	    fx:      'scrollDown', 
	    speed:    300, 
	    timeout:  2000 
	});
	
	 $('#allEffects').cycle({ 
        fx: 'all' 
    });
    
    $('#scrollEffects').cycle({ 
        fx:              'scrollLeft,scrollDown,scrollRight,scrollUp', 
        randomizeEffects: false, 
        easing:          'easeInBack' // easing supported via the easing plugin 
    });
    
    $('#s6').cycle({ 
		fx:     'scrollUp', 
		timeout: 9000, 
		delay:  -4000 
	});

});



