- function loadXML(loaded)
{
- if (loaded)
{
- xmlNode =
this.firstChild;
- caption =
[];
- url =
[];
- total =
xmlNode.childNodes.length;
- for (i=0;
i<total;
i++)
{
- caption[i]
= xmlNode.childNodes[i].childNodes[0].firstChild.nodeValue;
- url[i]
= xmlNode.childNodes[i].childNodes[1].firstChild.nodeValue;
- }
- first_item();
- } else
{
- content =
"file not loaded!";
- }
- }