IB.actu = {fluid:{},e:{}};

IB.actu.init = function()
{
    //IB.actu.fluid.init();

    $('ul.actuList a.delete').click(IB.actu.del);
};

IB.actu.del = function()
{
    if(confirm('Are you sure ?'))
    {
        $.loading();
        var item = $(this).parent();

        var id = item.attr('id').replace('actuId_','');

        'Actu_delete'.ajax('id='+id,function(d)
        {
            $.displayMessage(d).loaded();

            item.hide(300,function()
            {
                item.remove();
                IB.fluid.footer();
            });
        });
    }
};


