Random full-screen swf using swfobject.jx

I’m building a site where it loads a random background swf that fill the screen, using the great script provided at this link: Loading SWFs Randomly - Part 1: JavaScript

The issue is, I’m having trouble getting the swf to fill up the entire screen properly. How can I apply the correct parameters to the swf? I can get it to work if I just export on swf from flash, but can’t figure out how to add the parameters that make the swf fullscreen apply to this randomizer script.

Here is my script and markup:


<script type="text/javascript" src="swfobject.js"></script>
         <script language="javascript">
    var swfs = new Array();
    swfs[0] = "davis.swf";
    swfs[1] = "a.swf";
    swfs[2] = "b.swf";
    swfs[3] = "c.swf";
    swfs[4] = "d.swf";
    function getRandomSWF() {
      var rnd = Math.floor(Math.random() * swfs.length);
      return swfs[rnd];
    };
    swfobject.embedSWF(getRandomSWF(), "homeBackground", "100%", "100%", "8.0.0");	
  </script>
#homeBackground { height: 100%; width: 100%; position: absolute;}

Here is an example of the page layout. Notice the gaps on the top and bottom:

example