function flash()
{
  var requiredVersion = 5;
  var flashVersion = getFlashVersion();
            
  if (flashVersion >= requiredVersion) {
       //document.write('<p>You have Flash ' + flashVersion + ' installed on the current browser.</p>');
       return true;
  }
  else if (flashVersion > 0) {
       //document.write('<p>The version of Flash installed on the current browser is ' + flashVersion + '.</p>');
       return true;
  }
  else if (flashVersion == 0) {
       //document.write('<p>You don\'t have Flash installed on the current browser.</p>');
       return false;
  }
  else if (flashVersion == flashVersion_DONTKNOW || flashVersion == null) {
       //document.write('<p>This browser does not support Javascript-based Flash detection.</p>');
       return true;
  }
}