function loadBandeauImages()
{
    //Configuration de la bannière pub
    // JAVASCRIPT VARS
    // cache buster
    var cacheBuster = "?t=" + Date.parse(new Date());
    // stage dimensions
    var stageW = "480";//"100%";
    var stageH = "160";//"100%";

    // ATTRIBUTES
    var attributes = {};
    attributes.id = 'bandeauImages';
    attributes.name = 'bandeauImages';

    // PARAMS
    var params = {};
    //params.bgcolor = "#ffffff";
    params.menu = "false";
    params.scale = 'noScale';
    params.wmode = "transparent";
    params.allowfullscreen = "true";
    params.allowScriptAccess = "always";

    /* FLASH VARS */
    var flashvars = {};

    /// if commented / delete these lines, the component will take the stage dimensions defined
    /// above in "JAVASCRIPT SECTIONS" section or those defined in the settings xml
    flashvars.componentWidth = stageW;
    flashvars.componentHeight = stageH;

    /// path to the content folder(where the xml files, images or video are nested)
    /// if you want to use absolute paths(like "http://domain.com/images/....") then leave it empty("")
    flashvars.pathToFiles = "/externalApplications/bannieres/banniereImages/";

    // path to content XML
    var baseUrl = location.href.substring(0, location.href.indexOf('/', 14));
    //flashvarsPub.xmlPath = "xml/banner.xml";
    flashvars.xmlPath = baseUrl + "/XmlBandeauImages";
    /** EMBED THE SWF**/
    swfobject.embedSWF("/externalApplications/bannieres/banniere.swf"+cacheBuster, attributes.id, stageW, stageH, "9.0.124", "js/expressInstall.swf", flashvars, params, attributes);
}

function loadPublicite()
{
    //Configuration de la bannière pub
    // JAVASCRIPT VARS
    // cache buster
    var cacheBuster = "?t=" + Date.parse(new Date());
    // stage dimensions
    var stageW = "490";//"100%";
    var stageH = "190";//"100%";

    // ATTRIBUTES
    var attributesPub = {};
    attributesPub.id = 'FlabellComponent';
    attributesPub.name = 'FlabellComponent';

    // PARAMS
    var paramsPub = {};
    paramsPub.bgcolor = "#ffffff";
    paramsPub.menu = "false";
    paramsPub.scale = 'noScale';
    paramsPub.wmode = "opaque";
    paramsPub.allowfullscreen = "true";
    paramsPub.allowScriptAccess = "always";

    /* FLASH VARS */
    var flashvarsPub = {};

    /// if commented / delete these lines, the component will take the stage dimensions defined
    /// above in "JAVASCRIPT SECTIONS" section or those defined in the settings xml
    flashvarsPub.componentWidth = stageW;
    flashvarsPub.componentHeight = stageH;

    /// path to the content folder(where the xml files, images or video are nested)
    /// if you want to use absolute paths(like "http://domain.com/images/....") then leave it empty("")
    flashvarsPub.pathToFiles = "/externalApplications/bannieres/bannierePub/";

    // path to content XML
    var baseUrl = location.href.substring(0, location.href.indexOf('/', 14));
    //flashvarsPub.xmlPath = "xml/banner.xml";
    flashvarsPub.xmlPath = baseUrl + "/XmlPub";
    /** EMBED THE SWF**/
    swfobject.embedSWF("/externalApplications/bannieres/banniere.swf"+cacheBuster, attributesPub.id, stageW, stageH, "9.0.124", "js/expressInstall.swf", flashvarsPub, paramsPub, attributesPub);
}
