var FlashVersion = 5;
var RedirectTo = 'http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash';

var FlashPluginOK = true;
/*
var FlashPlugin = (navigator.mimeTypes && navigator.mimeTypes["application/x-shockwave-flash"]) ? navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin : 0;
if (FlashPlugin) {
    FlashCurrentVersion = parseInt(FlashPlugin.description.substring(FlashPlugin.description.indexOf(".")-1));
    FlashPluginOK = FlashCurrentVersion >= FlashVersion;
}

else if (navigator.userAgent && navigator.userAgent.indexOf("MSIE")>=0){
    document.write('<SCRIPT LANGUAGE="VBScript"> \n');
    document.write('on error resume next \n');

    document.write('Private i, x\n');

    document.write('FlashPlugin   = False\n');
    document.write('FlashPluginOK = False\n');

    document.write('For i = 10 To 1 Step -1\n');
    document.write('    Set x = CreateObject("ShockwaveFlash.ShockwaveFlash." & i)\n');

    document.write('    FlashPlugin = IsObject(x)\n');

    document.write('    If FlashPlugin Then\n');
    document.write('        FlashCurrentVersion = i\n');
    document.write('        Exit For\n');
    document.write('    End If\n');
    document.write('Next\n');

    document.write('If FlashCurrentVersion >= FlashVersion then \n');
    document.write('    FlashPluginOK = true\n');
    document.write('End If\n');

    document.write('</SCRI'+'PT>\n');

}


*/