$(document).ready(function(){

   function randTime(){
      var r = Math.floor((29-1)*Math.random()) + 2;
      r *= -500;
      return r
   };

   $('#b1').cycle({ 
      fx:    'fade', 
      speed:  2500, 
      timeout: 15000,
      delay: randTime(),
      sync: 0,
      pause: 1,
      random: 1
   }); 

   $('#b2').cycle({ 
      fx:    'fade', 
      speed:  2500, 
      timeout: 15000,
      delay: randTime(),
      sync: 0,
      pause: 1,
      random: 1
   }); 

   $('#b3').cycle({ 
      fx:    'fade', 
      speed:  2500, 
      timeout: 15000,
      delay: randTime(),
      sync: 0,
      pause: 1,
      random: 1
   }); 

   $('#b4').cycle({ 
      fx:    'fade', 
      speed:  2500, 
      timeout: 15000,
      delay: randTime(),
      sync: 0,
      pause: 1,
      random: 1
   }); 

   $('#b5').cycle({ 
      fx:    'fade', 
      speed:  2500, 
      timeout: 15000,
      delay: randTime(),
      sync: 0,
      pause: 1,
      random: 1
   }); 

   $('#b6').cycle({ 
      fx:    'fade', 
      speed:  2500, 
      timeout: 15000,
      delay: randTime(),
      sync: 0,
      pause: 1,
      random: 1
   }); 

   $('#b7').cycle({ 
      fx:    'fade', 
      speed:  2500, 
      timeout: 15000,
      delay: randTime(),
      sync: 0,
      pause: 1,
      random: 1
   }); 

   $('#b8').cycle({ 
      fx:    'fade', 
      speed:  2500, 
      timeout: 10000,
      pause: 1
   }); 


});


