// JavaScript Document
$(function() {         
         
    // initialize scrollable  
    $("div.scrollable").scrollable({ 
		size: 1,             
        // items are auto-scrolled in 2 secnod interval 
        interval: 5000, 
         
        // when last item is encountered go back to first item 
        loop: true,  
         
        // make animation a little slower than the default 
        speed: 300, 
         
        // when seek starts make items little transparent 
        onBeforeSeek: function() { 
			this.getItems().fadeTo(100, 0.2);         
			
        }, 
         
        // when seek ends resume items to full transparency 
        onSeek: function() { 
            this.getItems().fadeTo(100, 1); 
        } 
    });     
     
}); 