code: function()
  	{
  		// Cleans all objects where listeners have been added
  		for (var i = 0; i < mxEvent.objects.length; i++)
  		{
  			if (mxEvent.objects[i].mxListenerList != null)
  			{
  				mxEvent.removeAllListeners(mxEvent.objects[i]);
  			}
  		}
  	}
docs: Function: dispose
  
  Frees up memory in IE by resolving cyclic dependencies between the DOM
  and the JavaScript objects.