$(document).ready(function(){

    $('#action_button_1').hover(function() {
        $(this).animate({ backgroundColor: "#0B3E50" }, 150);
    },function() {
        $(this).animate({ backgroundColor: "#096B8E" }, 150);
    });

    $('#action_button_2').hover(function() {
        $(this).animate({ backgroundColor: "#0F5C78" }, 150);
    },function() {
        $(this).animate({ backgroundColor: "#187B9F" }, 150);
    });

    $('#action_button_3').hover(function() {
        $(this).animate({ backgroundColor: "#01668B" }, 150);
    },function() {
        $(this).animate({ backgroundColor: "#0084B5" }, 150);
    });

   

/*

    (function(){
        var w = $('#home_carousel_menu_wrapper');
        var m = ($('#home_carousel_menu').width() - w.width()) / 2;

        w.css('margin-left', m + 'px');
    })();


    $('.home_carousel_menu_arrow').each(function(index){
        var a = $(this);
        var l = (a.parent().width() - a.width() + 30) / 2;

        a.css('left', l + 'px');
    });


    $('.carousel_menu_item').click(function(){
        var t = $(this);
        if (t.hasClass('active')) {
            return;
        }

        var id = t.find('.carousel_set_id').val();

        $('#active_carousel').html('');
        $('ul.'+id).clone().addClass('jcarousel-rw').prependTo('#active_carousel');

        jQuery('#active_carousel .carousel_content').jcarousel({
            wrap: 'circular',
            scroll: 1,
            buttonPrevHTML: '<div><img src="/public/design/images/carousel_l.gif" /></div>',
            buttonNextHTML: '<div><img src="/public/design/images/carousel_r.gif" /></div>'
        });

        $('.carousel_menu_item').removeClass('active');
        t.addClass('active').removeClass('hover');
    });


    $('.carousel_menu_item').hover(function() {
        $(this).not('.active').addClass('hover');
    },function() {
        $(this).removeClass('hover');
    });


    $('.carousel_menu_item:first-child').trigger('click');

    */

});

