// Check the browser...we're looking for ie/win, but not aol var isIE = (navigator.appVersion.indexOf("MSIE") != -1) ? true : false; // true if we're on ie var isWin = (navigator.appVersion.toLowerCase().indexOf("win") != -1) ? true : false; // true if we're on windows // This is a js1.1 code block, so make note that js1.1 is supported. jsVersion = 1.1; // Write vbscript detection on ie win. IE on Windows doesn't support regular // JavaScript plugins array detection. if(isIE && isWin){ document.write(' \n'); document.write('on error resume next \n'); document.write('flash2Installed = (IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.2"))) \n'); document.write('flash3Installed = (IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.3"))) \n'); document.write('flash4Installed = (IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.4"))) \n'); document.write('flash5Installed = (IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.5"))) \n'); document.write('flash6Installed = (IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.6"))) \n'); document.write('flash7Installed = (IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.7"))) \n'); document.write('flash8Installed = (IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.8"))) \n'); document.write('flash9Installed = (IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.9"))) \n'); document.write('<\/SCR' + 'IPT\> \n'); // break up end tag so it doesn't end our script }