jQuery(function( $ ){

    $('#list_solutions_i').serialScroll({
        items:'li',
        next:'.block_konsal a.next',
        //offset:-220, //when scrolling to photo, stop 230 before reaching it (from the left)
        start:0, //as we are centering it, start at the 2nd
        duration:1200,
        force:true,
        stop:true,
        lock:false,
        cycle:false, //don't pull back once you reach the end
        easing:'easeOutQuart' //use this easing equation for a funny effect
        //jump: true //click on the images to scroll to them
    }); 

    $('#projekti').serialScroll({
        axis:'y',
        items:'li',
        prev:'.projekti a.prev',
        next:'.projekti a.next',
        //offset:-230, //when scrolling to photo, stop 230 before reaching it (from the left)
        start:0, //as we are centering it, start at the 2nd
        duration:1200,
        force:true,
        stop:true,
        lock:false,
        cycle:false, //don't pull back once you reach the end
        easing:'easeOutQuart' //use this easing equation for a funny effect
        //jump: true //click on the images to scroll to them
    });

    $('#list_klienti_i').serialScroll({
        items:'li',
        prev:'.klienti a.prev',
        next:'.klienti a.next',
        offset:-270, //when scrolling to photo, stop 230 before reaching it (from the left)
        start:1, //as we are centering it, start at the 2nd
        duration:1200,
        force:true,
        stop:true,
        lock:false,
        cycle:true, //don't pull back once you reach the end
		exclude: 3,
        easing:'easeOutQuart', //use this easing equation for a funny effect
        jump: false //click on the images to scroll to them
    }); 

    $(".block_konsal").hover(function () {

    }, function () {

        $('#list_solutions_i').trigger('goto',[0]);
    });
    /*$('#list_awards').serialScroll({
        items:'li',
        prev:'.awards a.prev',
        next:'.awards a.next',
        offset:-270, //when scrolling to photo, stop 230 before reaching it (from the left)
        start:1, //as we are centering it, start at the 2nd
        duration:1200,
        force:true,
        stop:true,
        lock:false,
        cycle:false, //don't pull back once you reach the end
        easing:'easeOutQuart', //use this easing equation for a funny effect
        jump: true //click on the images to scroll to them
    }); */
});
