var axiscamcontrolplugin = false;
var winandmsie = false;
if ((navigator.userAgent.indexOf('Win') != -1) && (navigator.userAgent.indexOf('MSIE') != -1)) {
winandmsie = true;
document.writeln('');
document.writeln(' If ScriptEngineMajorVersion >= 2 Then ');
document.writeln(' If IsObject(CreateObject("CamImage.CamImage.1")) Then ');
document.writeln(' Document.Write("") ');
document.writeln(' Document.Write("axiscamcontrolplugin = true;") ');
document.writeln(' Document.Write("") ');
document.writeln(' End If ');
document.writeln(' End If ');
document.writeln('');
}
if (axiscamcontrolplugin == true) {
//Win + MSIE + plugin
document.write('');
}
else if (winandmsie == true) {
//Win + MSIE but no plugin
document.write('
');
document.write(' ');
document.write('Om du använder Microsoft Internet Explorer och Windows tillsammans med en plugin från AXIS (AXIS ActiveX Camera Control) får du den bästa upplevelsen genom en live-video-ström. ');
document.write('I annat fall uppdateras bilden ungefär var femte sekund. ');
document.write('Du har inte AXIS ActiveX Camera Control installerad. ');
document.write('Installera plugin... ');
}
else {
document.write(' ');
document.write('Om du använder Microsoft Internet Explorer och Windows tillsammans med en plugin från AXIS (AXIS ActiveX Camera Control) får du den bästa upplevelsen genom en live-video-ström. ');
document.write('I annat fall uppdateras bilden ungefär var femte sekund. ');
}
var to;
function getfdstatic() {
var d = new Date();
var t = d.getTime();
if (document.getElementById('corefdstatic')) {
document.getElementById('corefdstatic').src='http://91.189.44.100:81/parken('+t+').jpg';
to = setTimeout('getfdstatic();', 5555);
}
}
if (document.getElementById('corefdstatic')) {
to = setTimeout('getfdstatic();', 5555);
}