' + "\n";
vbscript += '' + "\n";
}
else
{
var FlashMode = 0;
var pluginVersion = 0;
if (navigator.plugins && navigator.plugins.length > 0)
{
if (navigator.plugins ["Shockwave Flash"])
{
var words = navigator.plugins["Shockwave Flash"].description.split(" ");
for (var i = 0; i < words.length; ++i)
{
if (isNaN(parseInt(words[i])))
continue;
pluginVersion = words[i];
}
if (pluginVersion >= flashVersion)
{
var plugin = navigator.plugins["Shockwave Flash"];
var numTypes = plugin.length;
for (j = 0; j < numTypes; j++)
{
mimetype = plugin[j];
if (mimetype)
{
if (mimetype.enabledPlugin && (mimetype.suffixes.indexOf("swf") != -1))
FlashMode = 1;
// Mac wierdness
if (navigator.mimeTypes["application/x-shockwave-flash"] == null)
FlashMode = 0;
}
}
}
}
}
if (FlashMode == 1)
{
document.write ('
Plug-In SWF detected...
');
MM_goToURL ('parent', withFlash);
}
else
{
document.write ('
Plug-In SWF missing...
');
setTimeout ("pluginRedirect ('" + pluginUrl + "')", timeOut);
}
}
document.write (vbscript);
// end JS u?detection -->