function addAnimation(e, px, ms) {
    e.bind('mouseenter', function(event) {
        //$(this).children('img').stop(true,false);
            if ($(this).find('img').queue() == 0) {
                    var oMarTop = $(this).find('img').css("marginTop");
                    // oMarTop = oMarTop.substring(0, oMarTop.length - 2);
                    $(this).find('img').attr({originalMarginTop: 0});
            }
            $(this).find('img').stop(true,false);
            $(this).find('img').animate({marginTop:  - px}, ms);
        }
    );
    e.bind('mouseleave', function(event) {
        $(this).find('img').stop(true,false);
        $(this).find('img').animate({marginTop: $(this).find('img').attr('originalMarginTop')}, ms);
    });
}

