You can point a gallery towards a specific XML file by using the galleryURL option.
For example:
<!--START SIMPLEVIEWER EMBED.-->
<script type="text/javascript" src="svcore/js/simpleviewer.js"></script>
<script type="text/javascript">
var flashvars={};
flashvars.galleryURL="gallery123.xml";
simpleviewer.ready(function () {
simpleviewer.load("sv-container", "100%", "100%", "222222", true, flashvars);
});
</script>
<div id="sv-container"></div>
<!-- END SIMPLEVIEWER EMBED -->
If you use similar code for each gallery on the same web page, make sure that each gallery's embedding code has a unique 'flashvars' variable name and that each gallery is embedded into a <div> with a unique id.
If you wish to embed multiple galleries on a single web page, please see the instructions (and downloadable example) here.
Steven Speirs
SimpleViewer Support Team.