  var flashinstalled = 0;
  var flashversion = 0;
  MSDetect = "false";

  if (navigator.plugins && navigator.plugins.length)
  {
     x = navigator.plugins["Shockwave Flash"];
     if (x)
     {
        flashinstalled = 2;
     }
     if (navigator.plugins["Shockwave Flash 2.0"])
     {
        flashinstalled = 2;
     }
  }
  else if (navigator.mimeTypes && navigator.mimeTypes.length)
  {
     x = navigator.mimeTypes['application/x-shockwave-flash'];
     if (x && x.enabledPlugin)
     {   flashinstalled = 2;	}
  } else {    MSDetect = "true";   }


