//jQuery(window).load(function(){
jQuery(document).ready(function(){
    jQuery("#tabs").tabs();
    var autoscrolling = false;
    jQuery(".productCarousel").jCarouselLite({
        btnNext: ".nextProduct",
        btnPrev: ".prevProduct",
        //easing: "backinout",
        auto: true,
        speed: 3000,
        visible: 2.33,
        start: 0,
        scroll: 1,
        vertical: true,
        beforeStart: function(a) {},
        afterEnd: function(a) {
           //alert("After animation ends:" + a);
       }        
    });

    jQuery(".productCarousel_static").jCarouselLite({
        auto: false,
        visible: 2.33,
        start: 0,
        vertical: true,
        beforeStart: function(a) {},
        afterEnd: function(a) {
           //alert("After animation ends:" + a);
       }        
    });    
    
    jQuery(".rangeCarousel").jCarouselLite({
        btnNext: ".nextRange",
        btnPrev: ".prevRange",
        easing: "backinout",
        auto: 3000,
        speed: 1000,
        visible: 1.84,
        start: 1.5,
        scroll: 1,
        vertical: false,        
        beforeStart: function(a) {},
        afterEnd: function(a) {
           //alert("After animation ends:" + a);
       }        
    });     
    
    jQuery(".colouringCarousel").jCarouselLite({
        btnNext: ".nextColour",
        btnPrev: ".prevColour",
        easing: "backinout",
        auto: false,
        speed: 900,
        visible: 2.5,
        start: 1.75,
        scroll: 1,
        vertical: true,
        beforeStart: function(a) {},
        afterEnd: function(a) {
           //alert("After animation ends:" + a);
       }        
    });     
    
    jQuery(".groupCarousel").jCarouselLite({
        btnNext: ".nextRange",
        btnPrev: ".prevRange",
        easing: "backinout",
        auto: 3000,
        speed: 1000,
        visible: 1.82,
        start: 1.75,
        scroll: 1,
        vertical: false,
        beforeStart: function(a) {},
        afterEnd: function(a) {
           //alert("After animation ends:" + a);
       }        
    });     
    //jQuery(".slidePanel").hide()
    //jQuery(".box").corner();    
});