// Acrobat Detection / Redirect  v1.0
// documentation: http://www.dithered.com/javascript/acrobat_redirect/index.html
// license: http://creativecommons.org/licenses/by/1.0/
// code by Chris Nott (chris[at]dithered[dot]com)
// requires: acrobat_detect.js (http://www.dithered.com/javascript/acrobat_detect/index.html)


// use acrobat_detect.js to return the Acrobat version
var acrobatVersion = getAcrobatVersion();

// Redirect to appropriate page
if (acrobatVersion >= requiredAcrobatVersion) location.replace(hasAcrobatURL);
else if (acrobatVersion > 0) location.replace(upgradeAcrobatURL);
else if (acrobatVersion == 0) location.replace(noAcrobatURL);
else if (acrobatVersion == acrobatVersion_DONTKNOW || acrobatVersion == null) location.replace(dontKnowAcrobatVersionURL);

