Element.Events.extend({
	'wheelup': {
		type: Element.Events.mousewheel.type,
		map: function(event){
			event = new Event(event);
			if (event.wheel >= 0) this.fireEvent('wheelup', event)
		}
	},
 
	'wheeldown': {
		type: Element.Events.mousewheel.type,
		map: function(event){
			event = new Event(event);
			if (event.wheel <= 0) this.fireEvent('wheeldown', event)
		}
	}
});
 
/* Resize 
$('cow1').addEvents({
	'wheelup': function(e) {
		e = new Event(e).stop();
 
		this.width *= 1.1;
		this.height *= 1.1;
	},
 
	'wheeldown': function(e) {
		e = new Event(e).stop();
 
		if (this.width-30 >= 30) {
			this.width /= 1.1;
			this.height /= 1.1;
		}
	}
 	$ES(img", 'content').each(function(e, i){
 	 	e.fx = new EnlargeImage(e, {duration:300, position: "this"});
  	 });
  });
 

}); /* end dom-ready /
*/
