Flash detection script help

Hi guys…
Found this script on one of my index.htmls but i’m not too sure about something…

does it check if the user has the Flash Plug-in at all?.. or just checks for version…

here is the code

:EDIT
the code tag didnt work so i uploaded the .txt file on my server

http://www.likov.com/script.txt
please look at it and let me know
:EDIT

and if doesnt… what do i add so that it checks if there’s a flash plug-in before I check for version

thank you kindly in advance

yup thats what its doin its checkin if the person has the flash plugin if he does he proceeds to view the website otherwise if the plugin is not detected the user will be redirected to the page specified in this case it would be this page

http://www.gcmservices.ca/noflash.html

Grim

lets say the user doesnt have any plug-in whatsoever…

he will be redirected to that same page right?

yup thats correct what the script does is check if the user has the flash 6 plugin if he does it proceeds to the website if the plugin isnt detected he will be redirected to the page which i put on my previous post wich has a link so the user can download the latest plugin

Grim

can you confirm that there are no flaws in the above script?

im asking because one person with a brand new laptop that apparently didnt have any plug-in installed tried to view the page and he wasn’t directed to the noflash.html site but to the main one… and could only see content on the site that was exported as Flash 4…

perhaps the problem is something else?.. beats me :frowning:

a brand new laptop that apparently didnt have any plug-in installed

IE has the Flash plug installed by default, even if its just v4!

Try this:
http://www.jtedley.com/jtflashmanager/index.php