// IE does not support node-type constants.
if( !window.Node ){
	var Node = {			// If there is no Node object, define one
		ELEMENT_NODE: 1,	// with the following properties and values.
		ATTRIBUTE_NODE: 2,	// Note that these are HTML node types only.
		TEXT_NODE: 3,		// For XML-specific nodes, you need to add
		COMMENT_NODE: 8,	// other constants here.
		DOCUMENT_NODE: 9,
		DOCUMENT_FRAMENT_NODE: 11
	}
}