Flash detection script

Does anyone have a script that detects the Flash Player version on the client side? I have already visited the Adobe site
http://www.adobe.com/products/flashplayer/download/detection_kit/#fixes15

However this is confusing and I don’t know how to incorporate it into my own site.