Plug in detector

I’m just wondering how you do make a plug in detector like this site? http://www.newcreativity.com/
I understand that it will automatically show if flash player is already installed. But how do you make it to show that they dont have it, when they dont have it?

heres a tutorial:

http://www.kirupa.com/developer/mx/detection.asp