gotta be a shorter way to animate in and out twice....

gotta be a shorter way to animate in and out twice....

can someone please tell me the more logical repalcement for this code:

  1.                
                    $('#my-cart').animate({
                        opacity: 0.1
                    }, 500, function() {
                        $('#my-cart').animate({
                            opacity: 1.0
                        }, 500, function() {
                            $('#my-cart').animate({
                                opacity: 0.1
                            }, 500, function() {
                                $('#my-cart').animate({
                                    opacity: 0.1
                                }, 500, function() {
                                    // Animation complete.
                                });
                            });
                        });
                    });