$(function() {         
         
    // initialize scrollable  
    $("div.scrollable").scrollable({ 
            
            interval: 10000,  
         
        // make animation a little slower than the default 
        speed: 700, 
		size: 1,
          // when last item is encountered go back to first item 
        loop: true, 
        // when seek starts make items little transparent 
        onBeforeSeek: function() { 
            this.getItems().fadeTo(300, 0.7);         
        }, 
         
        // when seek ends resume items to full transparency 
        onSeek: function() { 
            this.getItems().fadeTo(300, 1); 
        } 
    });     
     
}); 
