// Flash Detection / Redirect v1.1.1 // http://www.dithered.com/javascript/flash_redirect/index.html // code by Chris Nott (chris@NOSPAMdithered.com - remove NOSPAM) // use flash_detect.js to return the Flash version var flashVersion = getFlashVersion(); // Redirect to appropriate page if (flashVersion >= requiredFlashVersion) location.replace(hasFlashURL); else if (flashVersion > 0) location.replace(upgradeFlashURL); else if (flashVersion == 0) location.replace(noFlashURL); else if (flashVersion == flashVersion_DONTKNOW || flashVersion == null) location.replace(dontKnowFlashVersionURL);