\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; } pluginlist += navigator.javaEnabled() ? "Java," : ""; if (pluginlist.length > 0) pluginlist = pluginlist.substring(0,pluginlist.length-1); //SAMPLE USAGE- detect "Flash" //if (pluginlist.indexOf("Flash")!=-1) //document.write("You have flash installed") function WindowResizeToContent (finestra) { var isMSIE = (navigator.appName == "Microsoft Internet Explorer"); var isOpera = (navigator.userAgent.indexOf("Opera") != -1); if (isOpera) { return; } if (isMSIE) { finestra.resizeTo(document.body.clientWidth, document.body.clientHeight+30) } else { finestra.innerWidth=document.body.offsetWidth; finestra.innerHeight=document.body.offsetHeight } } function aprifoto(id) { var frm=document.forms[0] finestra=window.open('/'+frm.nomedb.value+'/(aprifoto)/'+id+'?Opendocument','Popup','width=200,height=200,resizable=no,scrollbars=no,toolbar=no,status=no,menubar=no') } // -->