
// Nivo Slider - Das Start- und Setup-File
// http://nivo.dev7studios.com/

/* The effect parameter can be any of the following:

    * sliceDown
    * sliceDownLeft
    * sliceUp
    * sliceUpLeft
    * sliceUpDown
    * sliceUpDownLeft
    * fold
    * fade
    * random
    *
    *
    *
    *
    *
    *<div id="slider">
	<img src="<?php bloginfo("template_url"); ?>/images/slide_1.jpg" alt="" />
	<img src="<?php bloginfo("template_url"); ?>/images/slide_2.jpg" alt="" />
	<img src="<?php bloginfo("template_url"); ?>/images/slide_3.jpg" alt="" title="This is an example of a caption" />
	<img src="<?php bloginfo("template_url"); ?>/images/slide_4.jpg" alt="" />
</div>
*/


var $ = jQuery.noConflict();

$(window).load(function() {
	$('#slider').nivoSlider({
		effect:'random',
		slices:7,
		animSpeed:3000,
		pauseTime:10000,
		startSlide:1, //Set starting Slide (0 index)
		directionNav:true, //Next & Prev
		directionNavHide:false, //Only show on hover
		controlNav:false, //1,2,3...
		controlNavThumbs:true, //Use thumbnails for Control Nav
		controlNavThumbsSearch: '.jpg', //Replace this with...
		controlNavThumbsReplace: '_thumb.jpg', //...this in thumb Image src
		keyboardNav:false, //Use left & right arrows
		pauseOnHover:true, //Stop animation while hovering
		manualAdvance:false, //Force manual transitions
		captionOpacity:0.7, //Universal caption opacity
		beforeChange: function(){},
		afterChange: function(){},
		slideshowEnd: function(){} //Triggers after all slides have been shown
	});
});



/* manually start and stop the sliders
$('#slider').data('nivo:vars').stop = true; //Stop the Slider
$('#slider').data('nivo:vars').stop = false; //Start the Slider
*/
