function Init_FIR() {
  // On récupère le H2
  var oTitles = document.getElementsByTagName( 'h2' );
  var DivEncards = document.getElementById( 'encards' );
  var pageUnite = document.getElementById( 'contenu_unite' );
  var filePath, fileWidth;
  for( var i=0; i<oTitles.length; i++ ) {
    if ( isSet( oTitles[ i ] ) ) {
      var isWitness = ( isSet( oTitles[ i ].className ) )
        ? oTitles[ i ].className.indexOf( 'temoignage' ) != -1 : false;
      if ( isSet( DivEncards ) || isWitness ) { // il y a un encard sur le côté droit de la page
        filePath = 'titre_dyn_urbania_330.swf';
        fileWidth = 330;
      } else if ( isSet( pageUnite ) ) { // page Unité
        filePath = 'titre_dyn_urbania_330.swf';
        fileWidth = 279;
      } else {
        filePath = 'titre_dyn_urbania_518.swf';
        fileWidth = 518;
      }

      var oFlash = new FlashObject( 'swf/' + filePath, null, fileWidth, 35, 7, null );
      oFlash.addParam( 'quality', 'high' );
      oFlash.addParam( 'wmode', 'transparent' );
      oFlash.addVariable( 'titre', domGetText( oTitles[ i ] ) );
      oFlash.setEscape( false );
      oTitles[ i ].innerHTML = oFlash.getHTML();
    }
  }
}

addListener( window, 'load', Init_FIR );