on error resume next if (isObject(CreateObject("ShockwaveFlash.ShockwaveFlash.6")) = false) then window.location.replace(location.pathname + "?flash=no") end if