<!-- Begin 
//This is the popup menu script
                var intnumofmenuitems=2;
                var visibleVar="null";  

        //if (navigator.appName == "Netscape") {
        //        layerStyleRef="layer.";
        //       layerRef="document.layers";
        //        styleSwitch="";
        //        visibleVar="show";
        //}

        //else{
                layerStyleRef="layer.style.";
                layerRef="document.all";
                styleSwitch=".style";
                visibleVar="visible";
               // }

        function menu(layerName){
        var vers = navigator.appVersion;
                if (vers >= '4'){
                        showLayer(layerName);
                }
                //else if (vers > '4'){
                //        showLayer(layerName);
                //}
                //else if (vers < '4'){
                //}

        }
        function hideLayer(layerName){
                eval(layerRef+'["'+layerName+'"]'+styleSwitch+'.visibility="hidden"');
                        removeothermenus(layerName);
        }       

        function showLayer(layerName){
                eval(layerRef+'["'+layerName+'"]'+styleSwitch+'.visibility="visible"');
                        removeothermenus(layerName);
        }
        function removeothermenus(layerName){

                intmenunumber=intnumofmenuitems;                
                while (intmenunumber>0){
                intcountdown="Submenu"+intmenunumber;
                        if (intcountdown!=layerName){
                                eval(layerRef+'["'+intcountdown+'"]'+styleSwitch+'.visibility="hidden"');
                        }
                intmenunumber-=1;
                intcountdown="Submenu"+intmenunumber;
                }
        }
//  End -->
