// 3
if (!parsedByIE)
{
  //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 less than Flash Player 6 is detected, run this code.
       if(pluginIdent[0] == "Shockwave" && pluginIdent[1] == "Flash")
       {
          //an array of the Flash version number (major.minor)
          var versionArray = pluginIdent[2].split(".");

          (versionArray[0] > 6) ? checkForFlash7 = true : checkForFlash7 = false;

       //need to break this loop as some browsers may have two versions installed
       break;
       }//end if pluginIdent
  }//end for
 }