\n'); if (result) return name+','; else return ''; } function detectNS(ClassID,name) { n = ""; if (nse.indexOf(ClassID) != -1) if (navigator.mimeTypes[ClassID].enabledPlugin != null) n = name+","; return n; } if (pluginlist.length > 0) pluginlist = pluginlist.substring(0,pluginlist.length-1); //alert(pluginlist); if (pluginlist.indexOf("Shockwave Flash")!=-1) { //window.location.replace("program/mainsub.html"); openWindow("program/main.html","_self","width=788,height=580"); } else { window.location.replace("program/error.html"); //window.location.replace("http://www.macromedia.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash"); } // End -->