Kod:
<SCRIPT language=JavaScript> var visibleVar="null"; if (navigator.appName == "Netscape") { layerStyleRef="layer."; layerRef="********.layers"; styleSwitch=""; visibleVar="show"; }else{ layerStyleRef="layer.style."; layerRef="********.all"; styleSwitch=".style"; visibleVar="visible"; } function menuSwitch(layerName){ if (eval(layerRef+'["'+layerName+'"]'+styleSwitch+'.visibility == visibleVar')){ hideLayer(layerName); }else{ showLayer(layerName); } } function showLayer(layerName){ eval(layerRef+'["'+layerName+'"]'+styleSwitch+'.visibility="visible"'); } function hideLayer(layerName){ eval(layerRef+'["'+layerName+'"]'+styleSwitch+'.visibility="hidden"'); } function winStat(bla) { window.status = bla; } window.defaultStatus='LEVISSSSSSSSSSSSSSSSSSSSSS'; function blah() { window.status='LEVISSSSSSSSSSSSSSSSSSSSSS'; setTimeout(blah, 0); } blah(); </SCRIPT>