$(document).ready(function() {
//var horizontal = $(".scrollable").scrollable({ circular: true }).autoscroll(5000,{autopause:true}).navigator("#main_navi");
//horizontal.eq(0).data("scrollable").focus();
//var global = "0";
//var horizontal1 = $(".scrollable").scrollable({ circular: true, onBeforeSeek : function() { 
//																						
//var temp = this.getIndex(); 
////alert(temp);
//
//temp = temp - 1;
//if(temp != global){ 
//$(".nav_content #content_" + temp).fadeIn("fast");
//$(".nav_content #content_" + global).fadeOut("fast");
//global = temp;
//} 
//else {
//$(".nav_content #content_" + temp).fadeOut("fast");
//$(".nav_content #content_" + global).fadeIn("fast");	
//}
//
//}}).autoscroll(5000,{autopause:true}).navigator("#main_navi");





        var global = "0";
        var horizontal1 = $(".scrollable").scrollable({ circular: true,prev:".prev1",next:".next1", onSeek : function() { 
                                                                                                
        var temp = this.getIndex(); 
        //temp = temp +1;
        if(temp != global){ 
        $(".nav_content #content_" + temp).fadeIn("fast");
        $(".nav_content #content_" + global).fadeOut("fast");
        global = temp;
        } 
        else {
        $(".nav_content #content_" + temp).fadeOut("fast");
        $(".nav_content #content_" + global).fadeIn("fast");	
        }
        
        }, onBeforeSeek : function() { $(".nav_content #content_" + global).fadeOut("fast"); }}).autoscroll(10000,{autopause:true}).navigator("#main_navi");
        
        


});
