// find the swf object. for some weird reason Firefox 2 returns an array!@!#!
function getSWF(movieName) {
	if (navigator.appName.indexOf("Microsoft") != -1) {
		return window[movieName];
	} else {
		if (document[movieName].length != undefined){
		return document[movieName][1];
		}
	return document[movieName];
	}
}


// loads the XML
function loadXML(path) {
  if (typeof path == "undefined") {
    path = "http://www.fennopress.fi/fileadmin/flash/edustukset/xml/default.xml"; 
  }
getSWF('themovie').initData(path);
}