var isNav4 = false;
var isIE4 = false; 

       thebrowser = navigator.appName;
       theversion = navigator.appVersion; 

       if (thebrowser == "Netscape" && (theversion.lastIndexOf("4.") >= -1 || theversion.lastIndexOf("5.") >= -1 )){

       isNav4 = true; 
       }
       else if(thebrowser == "Microsoft Internet Explorer" && (theversion.lastIndexOf("4.") >= -1 || theversion.lastIndexOf("5.") >= -1)){ 

       isIE4 = true; 

       }
       if(isNav4){
            function allobj(ID){ 

            this.style = document.layers[ID]; 
            

            }

                 document.all = new Array(); 
       }



       function init(){ 
            if(isNav4){ 
                 end = document.layers.length;
            for(i=0; i < end; i++){
            id = document.layers[i].name;
            document.all[id] = new allobj(id);

            }
            }
       } 

