http://www.levmuchnik.net/Content/ProgrammingTips/WEB/XMLDisplay/DisplayXMLFileWithJavascript.html

http://krpano.com/forum/wbb/index.php?page=Thread&threadID=998