Flash detection

Hi Guys,

Does anyone know about a javascript which can detect if the user has Flash and if the user decides not to download flash, display a regular image.

I have seen different methods of detecting flash, but none of them do anything if the user decides not to download the flash plugin. Eg, Linux users.

-Shawn