
    var flama = {
      src: _ROOT_URL+'gene/swf/flama.swf'
      ,ratios: [7, 1.32, 11, 1.31, 13, 1.24, 14, 1.25, 19, 1.23, 27, 1.2, 34, 1.19, 42, 1.18, 47, 1.17, 48, 1.18, 69, 1.17, 74, 1.16, 75, 1.17, 1.16]
    };
	
	var times = {
      src: _ROOT_URL+'gene/swf/times.swf'
      ,ratios: [7, 1.32, 11, 1.31, 13, 1.24, 14, 1.25, 19, 1.23, 27, 1.2, 34, 1.19, 42, 1.18, 47, 1.17, 48, 1.18, 69, 1.17, 74, 1.16, 75, 1.17, 1.16]
    };

   
    // You probably want to switch this on, but read <http://wiki.novemberborn.net/sifr3/DetectingCSSLoad> first.
    // sIFR.useStyleCheck = true;
    sIFR.activate(flama,times);
	//sIFR.useDomLoaded (true);
	//sIFR.fitExactly(true);
	
	sIFR.replace(times, {
      selector: 'h2.slogan'
      ,css: [
        '.sIFR-root { text-transform:uppercase; font-size:13px; color:#FFFFFF; letter-spacing:5  }'
      ]
	  ,wmode: 'transparent'
	  ,useDomLoaded: true
	  ,offsetTop : -3
	  ,offsetLeft : 20
    });
	
	sIFR.replace(flama, {
      selector: 'h2#slide_un'
      ,css: [
        '.sIFR-root { text-transform:uppercase; font-size:23px; text-align:left; color:#FFFFFF; }'
        ,'a { text-decoration: none;color: #FFFFFF; }'
        ,'a:link { color: #FFFFFF; }'
        ,'a:hover { color: #e88b00; }'
      ]
	  ,wmode: 'transparent'
	  ,useDomLoaded: true
	  ,offsetTop : 3
	  ,onRelease: function(el) { 
	  	//alert(el.getAncestor().get('id'));
		//content_un.toggle();
		travelling('un');
	  
	  }
    });
	
	sIFR.replace(flama, {
      selector: 'h2#slide_contact'
      ,css: [
        '.sIFR-root { text-transform:uppercase; font-size:23px; text-align:left; color:#FFFFFF; }'
        ,'a { text-decoration: none;color: #FFFFFF; }'
        ,'a:link { color: #FFFFFF; }'
        ,'a:hover { color: #e88b00; }'
      ]
	  ,wmode: 'transparent'
	  ,useDomLoaded: true
	  ,offsetTop : 3
	  ,onRelease: function(el) { 
		travelling('contact');
	  
	  }
    });
	
	
	sIFR.replace(flama, {
      selector: 'h2#slide_actualites'
      ,css: [
        '.sIFR-root { text-transform:uppercase; font-size:23px; text-align:left; color:#FFFFFF; }'
        ,'a { text-decoration: none;color: #FFFFFF; }'
        ,'a:link { color: #FFFFFF; }'
        ,'a:hover { color: #e88b00; }'
      ]
	  ,wmode: 'transparent'
	  ,useDomLoaded: true
	  ,offsetTop : 3
	  ,onRelease: function(el) { 
		travelling('actualites');
	  
	  }
    });
	
	
	sIFR.replace(flama, {
      selector: 'h2#projet_ns'
      ,css: [
        '.sIFR-root { text-transform:uppercase; font-size:23px; text-align:left; color:#e88b00; }'
        ,'a { text-decoration: none;color: #e88b00; }'
        ,'a:link { color: #e88b00; }'
        ,'a:hover { color: #e88b00; }'
      ]
	  ,wmode: 'transparent'
	  ,offsetTop : 3
	  ,useDomLoaded: true
    });
	
/***************************/	
/******* SLIDE ***********/
/***************************/	
var content_un;
var content_contact;
var content_actualites;
window.addEvent('domready',function() {
	content_un = new Fx.Slide('content_un');
	content_contact = new Fx.Slide('content_contact');
	content_actualites = new Fx.Slide('content_actualites');
	content_un.hide();
	content_contact.hide();
	content_actualites.hide();
});

function travelling(param) {
	if(param == 'un') {
		content_un.toggle();	
	} else if(param == 'contact') {
		content_contact.toggle();	
	} else if(param == 'actualites') {
		content_actualites.toggle();	
	}
}

function no() { };