//js for all effects related to "about"

document.observe('dom:loaded', function() {
	
	$("link1").observe("mouseenter", function(event) {new Effect.Opacity('link1', { from: 0.5, to: 1.0, duration: 0.4 }, { queue: { position: 'end', scope: 'l1' } });
	});
	

	
	$("link1").observe("mouseenter", function(event) {new Effect.Opacity('startseite', { from: 0.0, to: 1.0, duration: 0.4 }, { queue: { position: 'end', scope: 'l1' } });
});
	


	
	$("link1").observe("mouseleave", function(event) {new Effect.Opacity('link1', { from: 1.0, to: 0.5, duration: 0.4 },{ queue: { position: 'end', scope: 'l1' } });});
	

});

document.observe('dom:loaded', function() {
	
	$("link1").observe("mouseleave", function(event) {new Effect.Opacity('startseite', { from: 1.0, to: 0.0, duration: 0.4 }, { queue: { position: 'end', scope: 'l1' } });
});
	

	
	$("link2").observe("mouseenter", function(event) {new Effect.Opacity('link2', { from: 0.5, to: 1.0, duration: 0.4 },{ queue: { position: 'end', scope: 'l2' } });
});

$("link2").observe("mouseenter", function(event) {new Effect.Opacity('fuersie', { from: 0.0, to: 1.0, duration: 0.4 }, { queue: { position: 'end', scope: 'l2' } });
});
	

	
	$("link2").observe("mouseleave", function(event) {new Effect.Opacity('link2', { from: 1.0, to: 0.5, duration: 0.4 },{ queue: { position: 'end', scope: 'l2' } });});
	
$("link2").observe("mouseleave", function(event) {new Effect.Opacity('fuersie', { from: 1.0, to: 0.0, duration: 0.4 },{ queue: { position: 'end', scope: 'l2' } });});
	

	
	$("link3").observe("mouseenter", function(event) {new Effect.Opacity('link3', { from: 0.5, to: 1.0, duration: 0.4 },{ queue: { position: 'end', scope: 'l3' } });
});
	

$("link3").observe("mouseenter", function(event) {new Effect.Opacity('behandlungsweise', { from: 0.0, to: 1.0, duration: 0.4 }, { queue: { position: 'end', scope: 'l2' } });
});
	
	$("link3").observe("mouseleave", function(event) {new Effect.Opacity('link3', { from: 1.0, to: 0.5, duration: 0.4 },{ queue: { position: 'end', scope: 'l3' } });});
	
$("link3").observe("mouseleave", function(event) {new Effect.Opacity('behandlungsweise', { from: 1.0, to: 0.0, duration: 0.4 },{ queue: { position: 'end', scope: 'l2' } });});
	

	
	$("link4").observe("mouseenter", function(event) {new Effect.Opacity('link4', { from: 0.5, to: 1.0, duration: 0.4 },{ queue: { position: 'end', scope: 'l4'  } });
});
	
$("link4").observe("mouseenter", function(event) {new Effect.Opacity('team', { from: 0.0, to: 1.0, duration: 0.4 }, { queue: { position: 'end', scope: 'l2' } });
});

	
	$("link4").observe("mouseleave", function(event) {new Effect.Opacity('link4', { from: 1.0, to: 0.5, duration: 0.4 },{ queue: { position: 'end', scope: 'l4'  } });});
	
$("link4").observe("mouseleave", function(event) {new Effect.Opacity('team', { from: 1.0, to: 0.0, duration: 0.4 },{ queue: { position: 'end', scope: 'l2' } });});	

});


