on error resume next GotFlash=False set swControl = CreateObject("ShockwaveFlash.ShockwaveFlash.6") if (IsObject(swControl)) then swVersion = mid(swControl.GetVariable("$version"),5,2) if right(swVersion,1) = "," then swVersion=left(swVersion,1) if swVersion >= 6 then GotFlash = True End if If GotFlash = True Then document.write "" End If