rem: if (this !== window) defn = function(event){ 
add: if (this.nodeName) defn = function(event){ 
context: 	addEvent: function(type, fn){		this.$events = this.$events || {};		this.$events[type] = this.$events[type] || {'keys': [], 'values': []};		if (this.$events[type].keys.contains(fn)) return this;		this.$events[type].keys.push(fn);		var self = this;		var realType = type;		var custom = Element.Events[type];		if (custom){			if (custom.add) custom.add.call(this, fn);			if (custom.map) fn = custom.map;			if (custom.type) realType = custom.type;		}		var nativeEvent = Element.$nativeEvents.contains(realType);		var defn = fn;		if (nativeEvent){			if (this !== window) defn = function(event){				event = new Event(event);				if (fn.call(self, event) === false) event.stop();			};			this.addListener(realType, defn);		}		this.$events[type].values.push(defn);		return this;	},
meta: 6317	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/6317/35008aa382ae0a2dfe84c8e1edf4ef28e7655d13/Element.Event.js/buggy/Element/Element.Event.js