Thank you for the quick respons!
What I didn't mention is that I use multiple galleries. I have embedded them in the following way:
<SCRIPT type=text/javascript src="http://ajax.googleapis.com/ajax/libs/swfobject/2.2/swfobject.js"></SCRIPT>
<SCRIPT type=text/javascript>
var flashvars = {};
flashvars.galleryURL = "gallery1.xml";
var params = {};
params.allowfullscreen = true;
params.allowscriptaccess = "always";
params.bgcolor = "606060";
swfobject.embedSWF("simpleviewer.swf", "flashContent1", "100%", "600", "9.0.124", false, flashvars, params);
</SCRIPT>
<SCRIPT type=text/javascript>
var flashvars = {};
flashvars.galleryURL = "gallery2.xml";
var params = {};
params.allowfullscreen = true;
params.allowscriptaccess = "always";
params.bgcolor = "606060";
swfobject.embedSWF("simpleviewer.swf", "flashContent2", "100%", "600", "9.0.124", false, flashvars, params);
</SCRIPT>
I understand how to point out the source of the swfobject.js-file but not how to do the rest of the embedding in version 2.1
Jacquez