// check for Flash on IE on error resume next //set a variable to hold the detection result Dim checkForFlash6 Dim text text = "
In order to view this page properly you are required to have the latest version of ©Macromedia Flash.
" text = text & "Please click here to download the latest version. Thank you.
" //assign a boolean value checkForFlash6 = (IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.6"))) if checkForFlash6 = true then document.write("") else document.write(text) end If