
// JavaScript Document
// fonction qui desactive les elements du flash a droite.


var tab_flash_griser = tab_flash_griser ? tab_flash_griser : [];
var tab_icone_grise = tab_icone_grise ? tab_icone_grise : [];


var tabCorrespId = [];
tabCorrespId["ident_calendar"] = "calendar";


tabCorrespId['bubble'] = "bubble";
tabCorrespId['ident_media']="televideo";
tabCorrespId['ident_doccenter']="docs_center";
tabCorrespId['ident_products']="production";
tabCorrespId['ident_presse']="press_releases";
tabCorrespId["ident_calendar"]="calendar";
tabCorrespId['ident_share']="stocks";
tabCorrespId['ident_glossary']="glossary";
tabCorrespId['ident_job']="jobs";
tabCorrespId['cards']="cards"
tabCorrespId['poll']="poll";
tabCorrespId['sites']="sites";

$(window).addEvent('domready', function(){
    var timer = (function(){
        if (flashLance && tab_icone_grise.length !=0){
            for(var i =0; i<tab_icone_grise.length;i++){
                getFlashObject("droite").setIconStatus(tabCorrespId[tab_icone_grise[i]],"on");
            }
        }
    }).periodical(50)
});

