docs: function(node, attr, value)
  	{
  		if (node.nodeType == mxConstants.NODETYPE_ELEMENT)
  		{
  			var tmp = node.getAttribute(attr);
  	
  			if (tmp != null && tmp == value)
  			{
  				return node;
  			}
  		}
  		
  		node = node.firstChild;
  		
  		while (node != null)
  		{
  			var result = mxUtils.findNode(node, attr, value);
  			
  			if (result != null)
  			{
  				return result;
  			}
  			
  			node = node.nextSibling;
  		}
  		
  		return null;
  	}