with (classes) {

with (dom) {

dom.Node = function ()
{
 if (classes.Node) return this;

 if (! ("xml" in this)) with (this)
 {
  try {

//  if (! ("namespaceURI" in this)) this.namespaceURI = "http://www.w3.org/1999/xhtml";
  if (! ("ownerDocument" in this)) this.ownerDocument = document;
  if (! ("localName" in this)) localName = nodeName.substring(nodeName.lastIndexOf(':')).toLowerCase(); // baseName;

  }
  catch (e) {}
 }

 return this;
}

Node.ELEMENT_NODE = 1;
Node.ATTRIBUTE_NODE = 2;
Node.TEXT_NODE = 3;
Node.CDATA_SECTION_NODE = 4;
Node.ENTITY_REFERENCE_NODE = 5;
Node.ENTITY_NODE = 6;
Node.PROCESSING_INSTRUCTION_NODE = 7;
Node.COMMENT_NODE = 8;
Node.DOCUMENT_NODE = 9;
Node.DOCUMENT_TYPE_NODE = 10;
Node.DOCUMENT_FRAGMENT_NODE = 11;
Node.NOTATION_NODE = 12;

}

}
