var remoteWin = null; var showWin = null; function picview(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+''); } 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();