'check for Flash Player (script for IE on Win32 systems)
Sub checkFlashIEWin
on error resume next
Dim checkForFlash
'assign a boolean value
checkForFlash = (IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.6")))
'if the object is demoted to ShockwaveFlash.ShockwaveFlash.5 or less, checkForFlash will still return true
'this is ok as Flash Player 6 can run previous version content.
'True -- display Flash content False -- display alternate content
if checkForFlash = true then
document.write("")
else
document.write("")
end If
End Sub