var optimizerDecouverte20100324 = {

    courante: function() {
        return Cookie.get('optimizerDecouverte20100324');
    },

    event: function(varianteId) {
        // FS 2010-03-24 : Tous les événements sont générés côté serveur
        // FS 2010-03-24 : Tous les cookies sont gérés côté serveur
        // if (window.location.host.match(/dev\.mxc/)) {
        //     Cookie.set('optimizerDecouverte20100324', varianteId, {'path': '/', 'domain': '.dev.mxc'});
        // } else {
        //     Cookie.set('optimizerDecouverte20100324', varianteId, {'path': '/', 'domain': '.maxicours.com'});
        // }
        // Audience.clic(null, null, 'optimizerDecouverte20100324Variante'+varianteId);
    },

    originale: function()
    {
        optimizerDecouverte20100324.action0b();
    },

    action0a: function()
    {
        $ES('.capture-prospect-home-2a-2b').each(function(el) { el.addClass('dnone'); });
        optimizerDecouverte20100324.event('0a');
    },

    action0b: function()
    {
        $ES('.capture-prospect-home-2a-2b').each(function(el) { el.addClass('dnone'); });
        optimizerDecouverte20100324.event('0b');
    },

    action1a: function()
    {
        $ES('.capture-prospect-home-2a-2b').each(function(el) { el.addClass('dnone'); });
        optimizerDecouverte20100324.event('1a');
    },

    action1b: function()
    {
        $ES('.capture-prospect-home-2a-2b').each(function(el) { el.addClass('dnone'); });
        optimizerDecouverte20100324.event('1b');
    },

    action2a: function()
    {
        $ES('.capture-prospect-home-2a-2b').each(function(el) { el.removeClass('dnone'); });
        optimizerDecouverte20100324.event('2a');
    },

    action2b: function()
    {
        $ES('.capture-prospect-home-2a-2b').each(function(el) { el.removeClass('dnone'); });
        optimizerDecouverte20100324.event('2b');
    }

};

/*
var goptimizerDecouverte201003 = {

    courante: function() {
        return Cookie.get('goptimizerDecouverte201003');
    },

    event: function(varianteId) {
        if (window.location.host.match(/dev\.mxc/)) {
            Cookie.set('goptimizerDecouverte201003', varianteId, {'path': '/', 'domain': '.dev.mxc'});
        } else {
            Cookie.set('goptimizerDecouverte201003', varianteId, {'path': '/', 'domain': '.maxicours.com'});
        }
        Audience.clic(null, null, 'goptimizerDecouverte201003Variante'+varianteId);
    },

    originale: function()
    {
        goptimizerDecouverte201003.action0b();
    },

    action0a: function()
    {
        $ES('.capture-prospect-home-2a-2b').each(function(el) { el.addClass('dnone'); });
        goptimizerDecouverte201003.event('0a');
    },

    action0b: function()
    {
        $ES('.capture-prospect-home-2a-2b').each(function(el) { el.addClass('dnone'); });
        goptimizerDecouverte201003.event('0b');
    },

    action1a: function()
    {
        $ES('.capture-prospect-home-2a-2b').each(function(el) { el.addClass('dnone'); });
        goptimizerDecouverte201003.event('1a');
    },

    action1b: function()
    {
        $ES('.capture-prospect-home-2a-2b').each(function(el) { el.addClass('dnone'); });
        goptimizerDecouverte201003.event('1b');
    },

    action2a: function()
    {
        $ES('.capture-prospect-home-2a-2b').each(function(el) { el.removeClass('dnone'); });
        goptimizerDecouverte201003.event('2a');
    },

    action2b: function()
    {
        $ES('.capture-prospect-home-2a-2b').each(function(el) { el.removeClass('dnone'); });
        goptimizerDecouverte201003.event('2b');
    }

};
*/