window.addEvent('domready', function(){
	$$('li a').each(function(e) {
		if (e.hasClass("active")) {
			e.setStyle('opacity', 0.0001);
			return;
		}
		
		e.setStyle('opacity', 1.0);
		e.set('morph', {duration: 'short'});
		e.addEvents({
			mouseenter: function(){
				if (this.hasClass("active")) return;
				this.morph({
					'opacity': 0.0001
				});
			},
			mouseleave: function(){
				if (this.hasClass("active")) return;
				this.morph({
					opacity: 1.0
				});
			}
		});
	});
});

