if (!UDesign) {
    var UDesign = {};
}

UDesign.FudCart = {
    getCartQuantity: function()
    {
        new Ajax.Updater('cartcount', '/index.php', {
            method: 'get',
            parameters: {
                uri_param: 'cartcounturi',
                cartcounturi: 'udesign/shop/cartQuantity',
                isAjaxCall: true
            },
            onComplete: function(transport) {
                if (transport.responseText > 0) {
                    $('cart').show();
                }
            }
        });
    }
}

UDesign.FudCart.getCartQuantity();

