Sjekk av nettleser:
\n');
if (tVersionString != "") {
tVersionIndex = tVersionString.indexOf(".")
var tMajorVersionString = tVersionString.substring(tVersionIndex-2, tVersionIndex);
var tMinorVersionString = tVersionString.substring(tVersionIndex+1, tVersionIndex+2);
if (parseInt(tMajorVersionString) >= tMajorVersion) {tShockwaveFound = 1;}
}
}
//alert("
Shockwave player must be installed, to install click
here. Browser will close and open on Adobe homepage. When Shockwave is installed return to Keytos");
if (!tShockwaveFound&&!bWrongBrowser)
{
document.write("
- ");
document.write("Shockwave player must be installed, to install click here. Browser will close and open on Adobe homepage. When Shockwave is installed return to Keytos");
//document.write("Shockwave player må være installert, installer denne ved å trykke her. Nettleseren vil stenges og åpnes på ny på Macromedia sin hjemmeside. Når Shockwave er installert må du gå til MoTranS sin side");
//alert("Shockwave player must be installed");
document.write("
");
bWarning=true;
}
var flashinstalled = 0;
var flashversion = 0;
MSDetect = "false";
if (navigator.plugins && navigator.plugins.length)
{
x = navigator.plugins["Shockwave Flash"];
if (x)
{
flashinstalled = 2;
if (x.description)
{
y = x.description;
flashversion = y.charAt(y.indexOf('.')-1);
}
}
else
flashinstalled = 1;
if (navigator.plugins["Shockwave Flash 2.0"])
{
flashinstalled = 2;
flashversion = 2;
}
}
else if (navigator.mimeTypes && navigator.mimeTypes.length)
{
x = navigator.mimeTypes['application/x-shockwave-flash'];
if (x && x.enabledPlugin)
flashinstalled = 2;
else
flashinstalled = 1;
}
else
MSDetect = "true";
// ]]>