if (element.$events) if ( type && type.type ) delete element.$events[ type.type ][ type.handler.guid ]; else if (type && element.$events[type]) 
if (element.$events) { var i,j,k; if ( type && type.type ) { handler = type.handler; type    = type.type; }  if (type && element.$events[type])  
	remove: function(element, type, handler) {		if (element.$events)			if ( type && type.type )				delete element.$events[ type.type ][ type.handler.guid ];			else if (type && element.$events[type])				if ( handler )					delete element.$events[type][handler.guid];				else					for ( var i in element.$events[type] )						delete element.$events[type][i];			else				for ( var j in element.$events )					this.remove( element, j );	},
6056	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/6056/34cb5b5812db50d921f7c7a0c398eb68167b3da3/event.js/buggy/src/event/event.js