window.addEvent('domready', function(){


//	new BarackSlideshow('menu', 'pictures', 'loading', {transition: 'slide-left', auto: true});


	// This sample has all options set.
	new BarackSlideshow('sliderMenu', 'pictures', 'loading', {transition: 'fade', auto: true, autostart: true, autointerval:3000, tween: { duration: 2000 }});

	// This has just the bare minimum set.
//	new BarackSlideshow('menu', 'pictures', 'loading');



	// the example above is only fitting for this demo, since we let the user pick the transition and turn auto on/off
	// for most scenarios, it's only enough with: 

   // new BarackSlideshow('menu', 'pictures', 'loading', {transition: '<transition here>', auto: true});


    // transition (defaults to ‘fade’) Can be ’slide-left’, ’slide-right’, ’slide-top’, ’slide-bottom’, ‘fade’
    // auto (defaults to false) Whether to move from image to image automatically
    // autostart (defaults to false) Whether to start slideshow automatically upon initialization
    //  autointerval (defaults to 2000) Interval time from image to image in ms
    // tween (defaults to {duration: 700}) Options to pass to MooTools Fx.Tween, which takes care of image transitions.



});




