function isFlashAvailable() { var obj; var flashFound = false; // Flash browser plugin string var flashPlug = 'application/x-shockwave-flash'; // Flash ActiveX plugin string var flashActiveX = 'ShockwaveFlash.ShockwaveFlash'; // Check for browser plugin if (navigator && navigator.plugins && navigator.plugins.length) { if (navigator.mimeTypes && navigator.mimeTypes[flashPlug]) { if(navigator.mimeTypes[flashPlug].enabledPlugin!=null) { flashFound = true; } } } // Check for ActiveX plugin if browser plugin not found if (!flashFound) { try{ obj = new ActiveXObject(flashActiveX); flashFound = true; } catch(err) {} } return flashFound; //detectPlugin('application/x-shockwave-flash'); } if (isFlashAvailable()) { document.write('\t\n\t\n\t\n\t\n\t\n\t\n\t\n'); } else { document.write(''); }