Fade Demo without properly leveraging Gimme's capabilities

Notice the flickering effect that occurrs when you mouse quickly from the first button to the last. To see how to manage the fade animations properly with Gimme view the Good Gimme Fade Demo.

g(window).addEvent('load', init);

function init()
{
	var nav = g('#navigation');
	var buttons = nav.select('button');
	
	var duration = 500;
	
	nav.addEvent('mouseleave', function(e)
	{;
		buttons.fadeIn(duration);
	});


	buttons.addEvent('mouseover', function(e)
	{
		var link = this;
		g(link).fadeIn(duration);
		nav.select('button').filter(function(el) { return el !== link; }).fadeTo(null, .4, duration);
	});
}