Using flashobject.js rather than html embed, help setting Flash to tranparent

I am using javascript to put a flash file on my html page rather than using the embed tags (a work around for the “gray box” problem in IE)
I have a drop down menu that is going behind my flash piece and I want it to go over the top. Now I normally know how to fix this by changing the wmode in the html, but I do not know how to set this property in the javascript.

Here is my code:

<script type="text/javascript">
 var fo = new FlashObject("staff.swf", "firstflash", "530", "500", "8", "#afb0ac");
   fo.addParam("quality", "best");
   fo.write("firstflash");
      </script>