if (!element.events) element.events = {}; 
if (!element.$events) element.$events = {}; 
	add: function(element, type, handler, data) {		// For whatever reason, IE has trouble passing the window object		// around, causing it to be cloned in the process		if ( jQuery.browser.msie && element.setInterval != undefined )			element = window;		// if data is passed, bind to handler		if( data ) 			handler.data = data;		// Make sure that the function being executed has a unique ID		if ( !handler.guid )			handler.guid = this.guid++;		// Init the element's event structure		if (!element.events)			element.events = {};		// Get the current list of functions bound to this event		var handlers = element.events[type];		// If it hasn't been initialized yet		if (!handlers) {			// Init the event handler queue			handlers = element.events[type] = {};			// Remember an existing handler, if it's already there			if (element["on" + type])				handlers[0] = element["on" + type];		}		// Add the function to the element's handler list		handlers[handler.guid] = handler;		// And bind the global event handler to the element		element["on" + type] = this.handle;		// Remember the function in a global list (for triggering)		if (!this.global[type])			this.global[type] = [];		this.global[type].push( element );	},
6056	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/6056/3eaebf45a21f3eceb0144769713353bebb9d44a7/event.js/buggy/src/event/event.js