window.addEvent('domready', function(){
	ie6Detecteur();

	intro("#menu_bas",35,400); //effet contenu
	if ($('player_mp3')) {
		$('player_mp3').addEvent('click', function(){
			//alert(document.window.getFirst('html'));
			openFixPopup(document.getElementsByTagName('base')[0].href + this.getProperty('href'),400,452);
			//alert(document.window.getFirst('html'));
			//window.location.href = this.getProperty('href');
			return false;
		 });
	  }

	 $$('a').addEvent('mouseenter', function(){
		 	this.set('tween', {duration: 200});
			this.tween('color','#9C9E9F');
		 });

	 $$('a').addEvent('mouseleave', function(){
			this.set('tween', {duration: 200});
			if(this.get('class') != "selected") this.tween('color','#3E3E40');
		 });

	 $$('#menu_accueil a').addEvent('mouseenter', function(){
		 	this.set('tween', {duration: 200});
			this.tween('opacity',0.6);
		 });

		 $$('#menu_accueil a').addEvent('mouseleave', function(){
			this.set('tween', {duration: 200});
			this.tween('opacity',1);
		 });
		$$('a.logo_menu').addEvent('mouseenter', function(){
		 	this.set('tween', {duration: 200});
			this.tween('color','#87888A');
		 });

		 $$('a.logo_menu').addEvent('mouseleave', function(){
			this.set('tween', {duration: 200});
			if(this.get('class') != "selected") this.tween('color','#333333');
		 });


	 $$('a.news').addEvent('mouseenter', function(){
		 	this.set('tween', {duration: 200});
			this.tween('opacity',0.8);
		 });

		 $$('a.news').addEvent('mouseleave', function(){
			this.set('tween', {duration: 200});
			this.tween('opacity',1);
		 });
	 $$('a.news2').addEvent('mouseenter', function(){
		 	this.set('tween', {duration: 200});
			this.tween('opacity',0.8);
		 });

		 $$('a.news2').addEvent('mouseleave', function(){
			this.set('tween', {duration: 200});
			this.tween('opacity',1);
		 });
	 $$('a.site').addEvent('mouseenter', function(){
		 	this.set('tween', {duration: 200});
			this.tween('color','#333333');
		 });

		 $$('a.site').addEvent('mouseleave', function(){
			this.set('tween', {duration: 200});
			this.tween('color','#FFFFFF');
		 });

		  /*$$('#menu a').removeEvent('mouseenter');
		  $$('#menu a').removeEvent('mouseleave');*/
});//fin domeready
window.addEvent('load', function(){
	setTimeout(function() { window.scrollTo(0, 1) }, 100);
});
