On the main page of one of my sites, I am reserving a space, which will randomly publish 468x60 banner ads. (There will be about 15 ads to choose from.)

Normally, this could be done with a regular .js script for random pics.

However, the ads are not just .jpg or .gif files. Also among them are flash files which, I believe, require some <object>, <param> and <embed> tags.

How can I get this done?

Thanks.