Detection player version from within flash

Hi,

How can I detect the version of the Flash Player from within your Flash movie?

I would like to export swf as flash 6, but would like to show alternative image for flash 5 user.

Thank you.