/**
 * @requires jquery-1.3.2
 */
function AxiomaMiniSlideshow(slideId, parentId, backgroundSrc)
{
    this.init = function()
    {
        $('#' + slideId).bind('mouseenter', function () {
                $('<div class="' + slideId + '-bg slide-bg"></div>').appendTo('#'+parentId+' .placeholder');

                $('.' + slideId+'-bg').css({ opacity: 0});
                $('.' + slideId+'-bg').stop().animate( {opacity:1}, {duration:500,queue:false} );
            }
        );
        $('#' + slideId).bind('mouseout', function () {
                $('.' + slideId+'-bg').stop().animate( {opacity:0}, {duration:500,queue:false,complete:function() { $('.' + slideId+'-bg').remove(); }});
            }
        );
    }
}


