$(window).load(function() {
	$('#animation').nivoSlider({
		effect:'random',
		slices:15,
		animSpeed:500,
		pauseTime:4000,
		startSlide:0, 
		directionNav:true, 
		directionNavHide:true, 
		controlNav:true, 
		controlNavThumbs:false, 
		controlNavThumbsSearch: '.jpg', 
		controlNavThumbsReplace: '_thumb.jpg', 
		keyboardNav:true, 
		pauseOnHover:true, 
		manualAdvance:false, 
		captionOpacity:0.8, 
		beforeChange: function(){},
		afterChange: function(){},
		slideshowEnd: function(){} 
	});
});
$(function() {
	$('#news').jScrollPane({
		showArrows:true, 
		scrollbarWidth:15, 
		scrollbarMargin:10
	});
});
 
 $(function(){

   $('#slider-two').movingBoxes({
    startPanel  : 3,   // start with this panel
    width       : 870, // overall width of movingBoxes
    panelWidth  : 0.3,  // current panel width adjusted to 50% of overall width
	reducedSize : .8,                     // non-current panel size: 80% of current panel size
    imageRatio  : 16/9 // Image ratio set to 16:9
   });

  });

