/***********************************************
* SAG Content Scroller- © Dynamic Drive DHTML code library (www.dynamicdrive.com)
* Visit http://www.dynamicDrive.com for hundreds of DHTML scripts
* This notice must stay intact for legal use
***********************************************/

var sagscroller1=new sagscroller({
	id:'mysagscroller',
	mode: 'auto',
	pause: 4000,
	animatespeed: 800 			//<--no comma following last option
})



 /** glow setup **/
  $(document).ready(function(){
    $(".glow").hover(
       function(){
         $(this).animate( { "color": "#FFFFC0" }, 500);
       },
       function(){
         $(this).animate( { "color": "#FFFFFF" }, 400);
       }
     );
  });


//**** PRELOAD IMAGES ****//

/** nivo setup **/
  $(window).load(function() {
    $('#slider').nivoSlider({
            effect:'fade', //Specify sets like: 'fold,fade,sliceDown,sliceDownLeft,slideInLeft'
	        slices:15,
	        animSpeed:1000, //Slide transition speed
	        pauseTime:6000,
//	        startSlide:0, //Set starting Slide (0 index)
	        directionNav:false, //Next & Prev
//	        directionNavHide:true, //Only show on hover
	        controlNav:false, //1,2,3...
//	        controlNavThumbs:false, //Use thumbnails for Control Nav
//	        controlNavThumbsFromRel:false, //Use image rel for thumbs
//	        controlNavThumbsSearch: '.jpg', //Replace this with...
//	        controlNavThumbsReplace: '_thumb.jpg', //...this in thumb Image src
//	        keyboardNav:true, //Use left & right arrows
	        pauseOnHover:false, //Stop animation while hovering
	        manualAdvance:false, //Force manual transitions
	        captionOpacity:0.8 //Universal caption opacity					<--- no comma on the last active parm
//	        beforeChange: function(){},
//	        afterChange: function(){},
//	        slideshowEnd: function(){}, //Triggers after all slides have been shown
//	        lastSlide: function(){}, //Triggers when last slide is shown
//	        afterLoad: function(){} //Triggers when slider has loaded
	     });

});

