// detect plugin for NS flash 3 version if (bName==„Netscape“) { if (navigator.plugins[„Shockwave Flash 2.0“]) {flashver = „2.0“} else if(navigator.plugins[„Shockwave Flash“]) {flashver = „3.0“} if (flashver == „3.0“) {flash = „yes“;} // activate if other release comes out // flashver = navigator.plugins[„Shockwave Flash“].description.substring(16,19); } else if (bName ==„Microsoft Internet Explorer“) { action = „ie_exec“ } //–>
<!-- on error resume next If action = „ie_exec“ then FlashInstalled =(IsObject(CreateObject(„ShockwaveFlash.ShockwaveFlash.3“))) End If If FlashInstalled = „True“ then flash = „yes“ End If //–>
<!-- Actions if (flash == „yes“) {window.location=flashpage} else if (flash == „no“) { if (navigator.appVersion.indexOf(„4.0“)!=-1) {window.location=autodetectpage} // Flash can be installed automatic