docs: function(node, nodeType)
  	{
  		nodeType = nodeType || mxConstants.NODETYPE_ELEMENT;
  		
  		var children = [];
  		var tmp = node.firstChild;
  		
  		while (tmp != null)
  		{
  			if (tmp.nodeType == nodeType)
  			{
  				children.push(tmp);
  			}
  			
  			tmp = tmp.nextSibling;
  		}
  		
  		return children;
  	}