Content = new XML(); Content.load("text.xml"); Content.ignoreWhite = true; Content.onLoad = function() { var e = this.firstChild.firstChild.firstChild; while(e.hasChildNodes() != null) { Blurbs[Blurbs.length] = e.firstChild.nodeValue.toString(); e = e.nextSibling; } e = this.firstChild.firstChild.nextSibling.firstChild; while(e.hasChildNodes() != null) { Pages[Pages.length] = new Array(e.firstChild.firstChild.nodeValue.toString().toUpperCase(), e.firstChild.nextSibling.firstChild.nodeValue.toString()); e = e.nextSibling; } e = this.firstChild.firstChild.nextSibling.nextSibling.firstChild; while(e.hasChildNodes() != null) { KeyFacts[KeyFacts.length] = new Array(e.firstChild.firstChild.nodeValue.toString().toUpperCase(), e.firstChild.nextSibling.firstChild.nodeValue.toString()); e = e.nextSibling; } Content = null; }