My idea was to use the URL to determine which XML file would be loaded into the page.I was looking at THIS as an example for how to change the page based on the URL, but instead of using it to write content to the document I was going to use it to change the value of the Javascript variable that held the location of the XML file.