	var active = "md1";
	$(".equip").fadeTo("slow",0.5);
	$(".opt").fadeTo("slow",0.5);
	$(".descriptifxt li").mouseover(function(){
		var celuila = $(this).attr("id");
		if(celuila != active){
			$(this).fadeTo("slow",1, function(){
				$(this).mouseout(function(){
					if(celuila != active){
						$(this).fadeTo("slow",0.5);
					}
				});
			});
		}
	});
	
	$(".descriptifxt li").click(function(){
		var theold = active;
		active = $(this).attr("id");
		
		$("#"+theold+"text").slideUp("slow", function(){
			$("#"+active+"text").slideDown("slow");
		});
		$("#"+active).fadeTo("slow",1);
		for(var i = 1;i < 4;i++){
			var thisturn = "md"+i;
			if(thisturn != active){
				$("#"+thisturn).fadeTo("slow",0.5);
			}
			
		}
	});