// 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 && !(document.layers)) location.replace(hasFlashURL);
else if (flashVersion == 5) location.replace(upgradeFlash5URL);
else if (flashVersion == 4) location.replace(upgradeFlash4URL);
else if (flashVersion == 3) location.replace(upgradeFlash3URL);
else if (flashVersion == 2) location.replace(upgradeFlash2URL);
else if (flashVersion == 1) location.replace(upgradeFlash1URL);
else if (flashVersion == 0) location.replace(noFlashURL);
else if (flashVersion == flashVersion_DONTKNOW || flashVersion == null) location.replace(dontKnowFlashVersionURL);

