$(document).ready(function () {

    $(".HeaderMenu li:last-child").find("a").css("border", "none");

    $('.Slider').each(function () {
        $(this).before('<div class="Nav"></div>')
        .cycle({
            speed: '750',
            timeout: 4000,
            pause: true,
            pager: $(this).prev()
        });
    });

    $(".NewsTicker a:last-child").css("border", "none");
    $(".LeftMenuContainer ul li:last-child").find("a").css("border", "none");


    $('.acc_container').hide();
    $('.acc_trigger:first').addClass('active').next().show();

    $('.acc_trigger').click(function () {
        if ($(this).next().is(':hidden')) {
            $('.acc_trigger').removeClass('active').next().slideUp();
            $(this).toggleClass('active').next().slideDown();
        }
        else {
            $(this).next().slideUp()
        }
        return false;
    });
    Shadowbox.init();
});
