/*******

	***	imageSlider by Cedric Dugas	***
	*** Http://www.position-absolute.com ***
	
	Done for Projet bleu, http://www.projetbleu.com
	
	You can use and modify this script for any project you want, but please leave this comment as credit.

*****/
$(document).ready(function() {

	var tailleTexte = 12;
	//change la taille du texte partout sur la page
	$("a.tailleTexte").click(function(){
		if(tailleTexte == 12){
			$("p").css("font-size","14px")
			tailleTexte = 14
		}else{
			$("p").css("font-size","12px")
			tailleTexte = 12
		}
		return false;
	});
	
	
	$(".exclu").click(function(){
		
	})
	
	$(".question").click(function(){
		$(this).next().slideToggle("slow")
	})
	
	
	
	
	
	
	
	$(".newsBox:last").css("border","none")
	
		/* CADEAU HIREZ TOOLTIP */
		$(".hirez").css("opacity",0)
		 $(".cadeauToolTip").click( function () {
	       $(".hirez:not(:animated)").css("display","block")
			$(".hirez:not(:animated)").animate({
				opacity:1
			})
			return false;
	      });

		 $(".hirez").click(function () {
	        $(".hirez").animate({
				opacity:0
			},function(){
				$(".hirez").css("display","none")
			})
			
			return false;
	      });
		

		//page de don: comportement des boutons
		if(window.isMembre){
			$('#formdon').show();
			$('#donoptions').hide();
		}

		$('#donAnonyme').click(function(){
            $('#formdon').show();
			$('#donoptions').hide();
			return false;
		});

	//publicite accueil
	
/*
	$(".moveRight").click(function(){
		setTimeout("intervalID")
		intervalID = setInterval(moveVign, 6000);
		return false;
	})
	$(".moveLeft").click(function(){
		setTimeout("intervalID")
		intervalID = setInterval(moveVign, 6000);
		return false;
	})
*/
});
