Non flash content?

Not sure if this is the right forum. I have a flash banner for my site and I would like to include some non flash content such as a picture banner if someone doesn’t have flash installed.

So what I need is some code that detects if the user has flash enabled. if not, then display the picture.

I’m trying to cover all the major browsers.