$(document).ready(function() {

    $('a[rel*=facebox]').facebox()

    //home page scroller
    $(".items").jCarouselLite({
        btnNext: ".next",
        btnPrev: ".prev",
        auto: 4000,
        speed: 1000
    });

    $(".items-news").jCarouselLite({
        btnNext: ".next-news",
        btnPrev: ".prev-news",
        visible: 3
    });

    $('.productList select').change(function() {
        if ($(this).val() != '') {
            window.location.href = $(this).val();
        }
    });


    //$(".inventoryinfo").simpletip({ 
    //    content: 'JOHN DEERE<br>UTILITY TRACTOR 195<br>TAG: 11A3G<br>STOCK: 009457', 
    //    fixed: false,
    //    showEffect: 'none'
    //    });

});
