// Moo Suckerfish Hover   v0.0.1
// Documentation:         http://www.htmldog.com/articles/suckerfish/dropdowns/
// License:               http://creativecommons.org/licenses/by/2.5/
// Author:                Judd Kussrow (http://octopusinc.com)
// Contributors:          http://www.alistapart.com/articles/dropdowns/

Element.implement({
	hover: function(){
		var t = $clear(t);

		this.addEvent('mouseenter', function(e){
			t = $clear(t);
			this.addClass('hover');
		});
		this.addEvent('mouseleave', function(e){
			t = Hide.delay(200, this);
			//Binding:
			//http://docs12b.mootools.net/Native/Function#Function:delay
		});
		return this;
	}
});

function Hide () {
	this.removeClass('hover');
}

//window.addEvent('domready', function(){ $$('#nav li').hover(); });
