try{
    (function($){
        $.extend(true, $.la,
        {
        	modules :{
                la :{
                    modules:{
                    	console: {
                    		modules:{
                    			promo: {
                                	modules:{
                                		a2d:{
                                			active: true
                                		}
                                	}
                                }
                    		}
                            
                        }
                    }
                }
            },
            
            console:{
                         
                /* Control Akamai */
                promo:{
                    a2d:{
                        label:"a2d",
                        console: function(){
                            var c = '';
                            for(var i=0;i<$.la.promo._adListForConsole.length;i++){
                                c+= $.la.console.cFormat($.la.promo._adListForConsole[i]['zone'], $.la.promo._adListForConsole[i]['id'], "Affichage décalé : " + $.la.promo._adListForConsole[i]['defer']);
                            }
                            var hasTest=0;

                            for(i in $.la.promo._testA2d){
                                hasTest++;
                            }
                            if(hasTest){
                                c += '<select onchange="$.la.promo.testA2d(this.value);" name="testA2d" id="_testA2d"><option>Choisir un test</option>';
                                for(i in $.la.promo._testA2d){
                                    c += '<option value="' + i + '">&#160;&gt;&#160;' + i + '</option>';
                                }
                                c += '</select>';
                                if(document.location.href.indexOf('testA2d') != -1){
                                    c += '&#160;<a href="javascript:void(0);" onclick="jQuery.la.promo.removeTestA2d();">[X Supprimer le test]</a>';
                                }
                            }
                            return c;
                        }
                    }
                }
            }

            
        });
    })(jQuery);
}
catch(e){}
