Changing Flash Object with an image at Runtime

I have a css menu and when someone hovers it it appears behind the flash. And its a table based design so I can’t use position:absolute z-index trick.

I need to change the flash object to a jpeg at run time. Buw how?