ns4 = (navigator.appName == "Netscape" && parseInt(navigator.appVersion) >= 3)? true:false; ie4 = (navigator.appName == "Microsoft Internet Explorer" && parseInt(navigator.appVersion) >= 4)? true:false; function picChange(bildNamn,bildSrc) { document.images[bildNamn].src = 'images/' + bildSrc + '.gif'; } var layerCB var hideCB var showCB var visibilityCB //ns4 = (navigator.appName == "Netscape" && parseInt(navigator.appVersion) >= 4 && parseInt(navigator.appVersion) < 5)? 1:0 //ie = (navigator.appName == "Microsoft Internet Explorer" && parseInt(navigator.appVersion) >= 4)? 1:0 //alert(ns4 + ' samt ' + ie4); // 'C' stands for 'Crossbrowser' if (ns4) { layerCB = 'document.' hideCB = '"hide"' showCB = '"show"' visibilityCB = '.visibility' } else if (ie4) { layerCB = 'document.all["' hideCB = '"hidden"' showCB = '"visible"' visibilityCB = '"].style.visibility' } var remoteWin = null; var showWin = null; function openPop(url,winName,width,height) { showWin = window.open(url,winName,'toolbar=0,location=0,top=0,left=0,directories=0,status=no,menubar=0,scrollbars=no,resizable=0,width='+width+',height='+height+''); } function openPrintPop(url,winName,width,height) { showWin = window.open(url,winName,'toolbar=0,location=0,top=0,left=0,directories=0,status=no,menubar=0,scrollbars=yes,resizable=0,width='+width+',height='+height+''); } var fc_2 = false; var fc_3 = false; var fc_4 = false; var fc_5 = false; var fc_6 = false; var fc_7 = false; var fc_highestVersion = 0; function detectFlash() { var isIE = (navigator.appVersion.indexOf("MSIE") != -1) ? true : false; var isWin = (navigator.appVersion.indexOf("Windows") != -1) ? true : false; if(isIE && isWin){ document.write(' \n'); document.write('on error resume next \n'); document.write('fc_2 = (IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.2"))) \n'); document.write('fc_3 = (IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.3"))) \n'); document.write('fc_4 = (IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.4"))) \n'); document.write('fc_5 = (IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.5"))) \n'); document.write('fc_6 = (IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.6"))) \n'); document.write('fc_7 = (IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.7"))) \n'); document.write(' \n'); } if (navigator.plugins) { if (navigator.plugins["Shockwave Flash 2.0"] || navigator.plugins["Shockwave Flash"]) { var isVersion2 = navigator.plugins["Shockwave Flash 2.0"] ? " 2.0" : ""; var flashDescription = navigator.plugins["Shockwave Flash" + isVersion2].description; var flashVersion = parseInt(flashDescription.charAt(flashDescription.indexOf(".") - 1)); fc_2 = flashVersion == 2; fc_3 = flashVersion == 3; fc_4 = flashVersion == 4; fc_5 = flashVersion == 5; fc_6 = flashVersion == 6; fc_7 = flashVersion >= 7; } } for (var i = 2; i <= 7; i++) { if (eval("fc_" + i) == true) fc_highestVersion = i; } } detectFlash();