SWFobject photo gallery insertion

I’m trying to insert a Flash photo gallery into a page using SWFobject. Since I know next to nothing about Javascript, I’ve always used the static method, as apposed to the more popular, and more powerful dynamic method. http://code.google.com/p/swfobject/wiki/documentation

The Flash photo gallery I’m using is powered by an XML source, which it seems makes more variables in the Javascript. The sample gallery does not use SWFobject, but does have variables listed http://www.101mint.com/one0one/sample1/sample_1.html

Can some kind soul lay out exactly the Javascript I need to properly use SWFobject to insert this SWF? I get very confused with this part of the process

<script type="text/javascript">

var flashvars = {};
var params = {};
var attributes = {};

swfobject.embedSWF("myContent.swf", "myContent", "300", "120", "9.0.0","expressInstall.swf", flashvars, params, attributes);

</script>

Your help is greatly appreciated.