/* Minification failed. Returning unminified contents.
(3,1): run-time error CSS1019: Unexpected token, found '$'
(3,2): run-time error CSS1019: Unexpected token, found '('
(3,12): run-time error CSS1031: Expected selector, found '('
(3,12): run-time error CSS1025: Expected comma or open brace, found '('
(23,2): run-time error CSS1019: Unexpected token, found ')'
 */


$(function () {
    $(".navbar-wrapper > li.active").removeClass("active");
    $('.main_shop').addClass('active');
    var cat = $('#category_urlkey').attr("data-id");
    $('.' + cat).addClass('active');

    // Document.ready -> link up remove event handler
    $(".add_to_cart").click(function () {
        // Get the id from the link
        var itemToAdd = $(this).attr("data-id");
        if (itemToAdd != '') {
            // Perform the ajax post
            $.post("/cart/AddToCart", { "id": itemToAdd },
                function (data) {
                    $("#cart-status").text(data.CartCount);
                });
            }
    });    
    show_data_list(true);

});
//$("document").ready(function () {        
//    $('#filters_sArtcomm2').off().on('selectmenuchange', function () {
//        show_data_list(false);
//    });
//    $('#filters_sArtcomm3').off().on('selectmenuchange', function () {
//        show_data_list(false);
//    });
//    $('#filters_sArtcomm4').off().on('selectmenuchange', function () {
//        show_data_list(false);
//    });
//});
