| 1 | <script type="text/javascript"> |
| 2 | <!-- |
| 3 | // PHP Layers Menu 3.1.1 (C) 2001-2003 Marco Pratesi (marco at telug dot it) |
| 4 | |
| 5 | DOM = (document.getElementById) ? 1 : 0; |
| 6 | NS4 = (document.layers) ? 1 : 0; |
| 7 | // We need to explicitly detect Konqueror |
| 8 | // because Konqueror 3 sets IE = 1 ... AAAAAAAAAARGHHH!!! |
| 9 | Konqueror = (navigator.userAgent.indexOf("Konqueror") > -1) ? 1 : 0; |
| 10 | // We need to detect Konqueror 2.2 as it does not handle the window.onresize event |
| 11 | Konqueror22 = (navigator.userAgent.indexOf("Konqueror 2.2") > -1 || navigator.userAgent.indexOf("Konqueror/2.2") > -1) ? 1 : 0; |
| 12 | Opera = (navigator.userAgent.indexOf("Opera") > -1) ? 1 : 0; |
| 13 | Opera5 = (navigator.userAgent.indexOf("Opera 5") > -1 || navigator.userAgent.indexOf("Opera/5") > -1) ? 1 : 0; |
| 14 | Opera6 = (navigator.userAgent.indexOf("Opera 6") > -1 || navigator.userAgent.indexOf("Opera/6") > -1) ? 1 : 0; |
| 15 | Opera56 = Opera5 || Opera6; |
| 16 | IE = (navigator.userAgent.indexOf("MSIE") > -1) ? 1 : 0; |
| 17 | IE = IE && !Opera; |
| 18 | IE5 = IE && DOM; |
| 19 | IE4 = (document.all) ? 1 : 0; |
| 20 | IE4 = IE4 && IE && !DOM; |
| 21 | // --> |
| 22 | </script> |
| 23 | |
| 24 | {if $menustyle==1} |
| 25 | <script type="text/javascript" src="{$phplayersmenu}/layerstreemenu-nocookies.js"></script> |
| 26 | {else} |
| 27 | <script type="text/javascript" src="{$phplayersmenu}/layerstreemenu-cookies.js"></script> |
| 28 | {/if} |