// Questo file configura il funzionamento del plugin JQuery Cycle
$(function(){
   // banner in alto LastClients 
   $('#slider-1').cycle({
      fx:      'scrollDown',
      speed:   500,
      timeout: 5000,
      sync:    1,
      delay:   0,
   });
   
   // slide grande nella pagina about-us
   var startSlide = 0;
   // get slide number if exists
	if (window.location.hash) {
   	startSlide = window.location.hash.replace('#','');
   }
   $('#slider-2').cycle({
      slideExpr: '.slide',
      fx:      'scrollHorz',
      speed:   500,
      timeout: 0,
      sync:    1,
      delay:   0,
      fit:     true,
      next:    '[ref="next"]',
      prev:    '[ref="prev"]',
   });
});

