/*
	
	For some strange reason, mootools events target returns the element
	under the mouse when fired it, not the target you specified, cuz its gay,
	this function will return the element u specified, not the gay one under
	it. Hurah for me, fail for mootools.
	
*/

Element.implement({
	addGreedyEvent : function( type, func ) {
		var element = this;
		this.addEvent( type, function( event ) {
			var ev = new Event( event );
			ev.target = element;
			func( ev );
		})
	}
})