docs: function(doc, node, allChildren)
  	{
  		if (mxClient.IS_IE && (document.documentMode == null || document.documentMode < 10))
  		{
  			switch (node.nodeType)
  			{
  				case 1: /* element */
  				{
  					var newNode = doc.createElement(node.nodeName);
  					
  					if (node.attributes && node.attributes.length > 0)
  					{
  						for (var i = 0; i < node.attributes.length; i++)
  						{
  							newNode.setAttribute(node.attributes[i].nodeName,
  								node.getAttribute(node.attributes[i].nodeName));
  						}
  						
  						if (allChildren && node.childNodes && node.childNodes.length > 0)
  						{
  							for (var i = 0; i < node.childNodes.length; i++)
  							{
  								newNode.appendChild(mxUtils.importNode(doc, node.childNodes[i], allChildren));
  							}
  						}
  					}
  					
  					return newNode;
  					break;
  				}
  				case 3: /* text */
  			    case 4: /* cdata-section */
  			    case 8: /* comment */
  			    {
  			      return doc.createTextNode(node.value);
  			      break;
  			    }
  			};
  		}
  		else
  		{
  			return doc.importNode(node, allChildren);
  		}
  	}