docs: function(element)
  	{
  		try
  		{
  			if (element != null)
  			{
  				mxEvent.removeAllListeners(element);
  				
  				var children = element.childNodes;
  				
  				if (children != null)
  				{
  			        var childCount = children.length;
  			        
  			        for (var i = 0; i < childCount; i += 1)
  			        {
  			        	mxEvent.release(children[i]);
  			        }
  			    }
  			}
  		}
  		catch (e)
  		{
  			// ignores errors as this is typically called in cleanup code
  		}
  	}