        //**************************************
        // NAV SCRIPTS
        //**************************************
        
        var visShow, visHide;
        
        function showLayer(layerID) {	
        	var selectBox = document.getElementById('selectBox');
        	var hideObject = document.getElementById('hideObject');
        	var hideObject2 = document.getElementById('hideObject2');
        	var hideObject3 = document.getElementById('hideObject3');
        
        	for (i=0; i<menuArray.length; i++) {			
        		if (document.getElementById) {			
        			document.getElementById(menuArray[i]).style.visibility = "hidden";
        			
        			if(selectBox != null)
        				selectBox.style.visibility = 'visible';
        			if(hideObject != null)
        				hideObject.style.visibility = 'visible';
        			if(hideObject2 != null)
        				hideObject2.style.visibility = 'visible';
        			if(hideObject3 != null)
        				hideObject3.style.visibility = 'visible';
        		}
        		else if (document.layers) {			
        			document.layers[menuArray[i]].visibility = "hide";			
        		}
        		else {
        			document.all(menuArray[i]).style.visibility = "hidden";
        		}			
        	}
        	
        	if (layerID != "") {
        	
        		if (document.getElementById || document.all) {
        			if (document.getElementById) 
        			{
        				layerVis = document.getElementById(layerID).style;
        				if ((layerID == "things" || layerID == "places") && selectBox != null) 
        					document.getElementById('selectBox').style.visibility = 'hidden';
        				if (hideObject != null) 
        					document.getElementById('hideObject').style.visibility = 'hidden';
        				if (hideObject2 != null) 
        					document.getElementById('hideObject2').style.visibility = 'hidden';
        				if (hideObject3 != null) 
        					document.getElementById('hideObject3').style.visibility = 'hidden';
        				//if (layerID == "things") document.getElementById('selectBox').style.visibility = 'hidden';
        			}
        			else
        			{
        				if ((layerID == "things" || layerID == "places") && selectBox != null) 
        					document.all('selectBox').style.visibility = 'hidden';
        				if (hideObject != null) 
        					document.all('hideObject').style.visibility = 'hidden';
        				if (hideObject2 != null) 
        					document.all('hideObject2').style.visibility = 'hidden';
        				if (hideObject3 != null) 
        					document.all('hideObject3').style.visibility = 'hidden';
        				
        					
        				layerVis = document.all(layerID).style;
        			}
        			visShow = "visible";
        			visHide = "hidden";
        		}	
        		else if (document.layers) {
        			layerVis = document.layers[layerID];	
        			visShow = "show";
        			visHide = "hide";	
        		}
            
        		if (layerVis == visShow) {
        			layerVis.visibility = visHide;		
        		}
        		else {
        			layerVis.visibility = visShow;
        		}
        	}	
        }
        
        function reloadPage(init) {
          if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
            document.pgW=innerWidth; document.pgH=innerHeight; onresize=reloadPage; }}
          else if (innerWidth!=document.pgW || innerHeight!=document.pgH) location.reload();
        }
        reloadPage(true);
        
        //script for sub nav
        var ns6=document.getElementById&&!document.all
        var ie=document.all
        
        function over(e,highlightcolor){
        source=ie? event.srcElement : e.target
        if (source.tagName=="TR"||source.tagName=="TABLE")
        return
        while(source.tagName!="TD"&&source.tagName!="HTML")
        source=ns6? source.parentNode : source.parentElement
        if (source.style.backgroundColor!=highlightcolor&&source.id!="ignore"){
        source.style.backgroundColor=highlightcolor;
        source.style.coursor='hand';
        source.style.borderBottom = '1px solid #1CAA51';
        }
        }
        
        function contains_ns6(master, child) {
        while (child.parentNode)
        if ((child = child.parentNode) == master)
        return true;
        return false;
        }
        
        function out(e,originalcolor){
        if
        (ie&&(event.fromElement.contains(event.toElement)||source.contains(event.toElement)||source.id=="ignore")||source.tagName=="TR"||source.tagName=="TABLE")
        return
        else if (ns6&&(contains_ns6(source, e.relatedTarget)||source.id=="ignore"))
        return
        if (ie&&event.toElement!=source||ns6&&e.relatedTarget!=source)
        source.style.backgroundColor=originalcolor;
        source.style.coursor='hand';
        source.style.borderBottom = '1px solid #43427D';
        }

		
		function img_win(img)
		{
			window.open("/_gallery.asp?img=" + img, "image_win", "width=420,height=450,resizable=yes");
		}
		
		function dog_win(img)
		{
			window.open("/_gallery.asp?img=" + img, "image_win", "width=600,height=400,resizable=yes");
		}