var $j = jQuery.noConflict()

$j(document).ready(function() {
    $j('.boxgrid.slideright').hover(function() {
        $j(".cover", this).stop().animate({
            bottom: '0px'
        },
        {
            queue: false,
            duration: 600
        });
    },
    function() {
        $j(".cover", this).stop().animate({
            bottom: '-50px'
        },
        {
            queue: false,
            duration: 600
        });
    });
});

/* Accordion */
$j(document).ready(function() {
    $j('.acc_container').hide();
    $j('.acc_trigger_active').addClass('active').next().show();

    $j('.acc_trigger').click(function() {
        if ($j(this).next().is(':hidden')) {
            $j('.acc_trigger').removeClass('active').next().slideUp();
            $j(this).toggleClass('active').next().slideDown();
        }
        return false;
    });

});

/* Accordion */
$j(document).ready(function() {
    $j('.acc_containerside').hide();
    $j('.acc_triggerside_active').addClass('active').next().show();

    $j('.acc_triggerside').click(function() {
		
        if ($j(this).next().is(':hidden')) {
            $j('.acc_triggerside').removeClass('active').next().slideUp();
            $j(this).toggleClass('active').next().slideDown();
			window.location.href= ($j(this).next().children('div').children('div').children('ul').children('li').children('a')[0]);
        }
        return false;
    });

});

