Load jpg or other image file if flash player is not present

Is there a script that would load a image file if flash is not detected in the browser? I would like to build a site for a law firm but want to make sure an image will be displayed if flash player is not installed.

Thanks