jQuery().ready(function () {

    $('div.home2').jCarouselLite({ //slider for homepage news posts
        btnNext: '#home-newsposts-nav2 .next',
        btnPrev: '#home-newsposts-nav2 .prev',
        easing: 'easeInOutExpo',
        vertical: true,
        auto: 5000,
        speed: 1000,
        visible: 3
    });
    
    $('#images').jCarouselLite({ //slider for homepage featured images
            btnPrev: '#home-featured-nav .prev',
            btnNext: '#home-featured-nav .next',
            easing: 'easeInOutExpo',
            auto: 5000,
            speed: 900,
            visible: 1
    });


    $('#featured-info').jCarouselLite({ //slider for homepage featured section info text
        btnPrev: '#home-featured-nav .prev',
        btnNext: '#home-featured-nav .next',
        easing: 'easeInOutExpo',
        auto: 5000,
        speed: 900,
        vertical: true,
        visible: 1
    });

    $('.testimonial-list').jCarouselLite({ //slider for testimonials
        btnPrev: '.testimonials-nav .prev',
        btnNext: '.testimonials-nav .next',
        easing: 'easeInOutExpo',
        speed: 1000,
        vertical: true,
        visible: 1
    });
    

    var expanded = false;

    $('#work-list ul li a').fadeTo("fast", 0.70);
    //start the engine
    $('#work-list ul li a').hover(function () {
        $(this).fadeTo("fast", 1);
    },

    function () {
        $(this).fadeTo("fast", 0.70);
    });



}); //end of page functions
