<!--
   function detectFlash(swfName,swfID,flashVer,swfWidth,swfHeight,showErrMsg,paramList) {
      //detect Flash Player X - check the navigator.plugins array exists, IE for Windows will fail on this.

      var paramItms = embedItms = '';
         
      for (var a=0; a<paramList.length; a++) {
         paramItms += '<param name="' + paramList[a][0] + '" value="' + paramList[a][1] + '" />';
         embedItms += paramList[a][0] + '="' + paramList[a][1]+ '" ';
      }

      if(navigator.plugins.length) {
         //variable declarations
         var i;

         var xhtmlContent = '<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=' + flashVer + ',0,0,0" width="' + swfWidth + '" height="' + swfHeight + '" id="' + swfID + '" align="middle">' +
                            '<param name="movie" value="' + swfName + '" />' +
                            '<param name="allowScriptAccess" value="always" />' +
                            '<param name="quality" value="high" />' +
                            paramItms +
                            '<embed src="' + swfName + '" swLiveConnect="true" allowScriptAccess="always"' + embedItms + ' quality="high" width="' + swfWidth + '" height="' + swfHeight + '" name="' + swfID + '" align="middle" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />' +
                            '</object>';

         var alternateContent = '<p>This page requires Macromedia Flash Player ' + flashVer + ' or later.<br>Please visit <a href="http://www.macromedia.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" target="_blank">macromedia.com</a> to download the latest plugin.</p>';

         //loop through all the plugins installed
         for (i=0; i < navigator.plugins.length; i++) {
            //put the plugin string in a variable
            var pluginIdent = navigator.plugins[i].description.split(" ");

            //The Flash Player identification string is ([] = the array index) [0]Shockwave [1]Flash [2]6.0 [3]r21
            //if Flash Player is detected, run this code.
            if(pluginIdent[0] == "Shockwave" && pluginIdent[1] == "Flash") {
               //set a toggle to show that some sort of Flash Player was found
               var isSwfEnabled = true;

               //an array of the Flash version number (major.minor)
               var versionArray = pluginIdent[2].split(".");

               if(versionArray[0] >= flashVer) {
                  //Write latest version
                  document.write(xhtmlContent);

               } else if (showErrMsg) {
                  //Generate error message
                  document.write(alternateContent);
               }

               //need to break this loop as some browsers may have two versions installed
               //eg my Firebird release has r65 and r79 installed!
               break;
            }
         }

         //check if no Flash player was detected in the array (no Flash Player installed)
         if(!isSwfEnabled && showErrMsg) {document.write(alternateContent);}
      } else {
         //call vbscript for IE Win
         detectFlashIE(swfName,swfID,flashVer,swfWidth,swfHeight,showErrMsg,paramItms);
      }
   }
-->