' Daniel Ott ' FlashDetect.js ' 28 September, 2006 'This script in conjunction with FlashDetect.js determines whether the user has 'Flash installed in their browser, and what version. It is built from the code of 'the article found at [http:'www.quirksmode.org/js/flash.html]. 'After the detect, the variable FlashDetect.installed can have three values: ' 2: Flash installed ' 1: Flash not installed ' 0: Unknown if Flash is installed on error resume next If MSDetect = "true" Then For i = 2 to 9 If Not(IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash." & i))) Then Else FlashDetect.installed = 2 FlashDetect.version = i End If Next End If If FlashDetect.installed = 0 Then FlashDetect.installed = 1 End If