// Module acordéon page paie flash
jQuery.noConflict();
jQuery(document).ready(function(){
	setTimeout(function(){  
		jQuery("#first").slideDown().addClass("show");
	},1000);
								
/*Fonction d'ascenceur pour la page solution flash*/
	jQuery(".h3etape").each(function(){
					jQuery(this).next("div").addClass("hide");
	});	

	jQuery(".h3etape").mousedown( function() {
		if(!(jQuery(this).next("div").hasClass("show"))){
			jQuery("div.etape").slideUp().removeClass("show");
			jQuery(this).next("div").slideDown().addClass("show");
			jQuery(".h3etape").each(function(){
					jQuery(this).children(":first").attr('src','http://www.inpact.fr/static/images/content/fermer.gif');
			});		
			jQuery(this).children(":first").attr('src','http://www.inpact.fr/static/images/content/open.gif');
		}
	} );
	
	
/*Fonction d'acsenceur pour les formulaire d'envoi a un ami*/
	jQuery(".emailAmi").mousedown( function() {
		if(!(jQuery(this).hasClass("clic"))){
			jQuery(this).attr("value", "").addClass("clic");
		}
	});
	
	jQuery(".areaAmi").mousedown( function() {
		if(!(jQuery(this).hasClass("clic"))){
			jQuery(this).attr("value", "").addClass("clic");
		}
	});
	
	jQuery(".friend").mousedown( function() {
			if(!(jQuery(this).hasClass("clic"))){
			jQuery("#friendMail").slideDown().addClass("clic");
		}
	});
	
		
/*Fonction d'ascenceur pour la page developpement-specidique.php*/
		jQuery(".one").css("background-image","url(static/images/content/open2.gif)");
		jQuery(".titleListeAuto").each(function(){
					jQuery(this).next("div").addClass("hide");
		});
		jQuery(".titleListeAuto").mousedown( function() {
		if(!(jQuery(this).next("div").hasClass("show"))){
			jQuery("div.listeAuto").slideUp().removeClass("show");
			jQuery(this).next("div").slideDown().addClass("show");
			jQuery(".titleListeAuto").each(function(){
					jQuery(this).css("background-image","url(static/images/content/fermer2.gif)");
			});		
			jQuery(this).css("background-image","url(static/images/content/open2.gif)");
		}
	} );
	

	
	
	
	
} );




