/* [nodename, id, name, navigationtext, href, isnavigation, childs[], templatename] */

function jdecode(s) {
    s = s.replace(/\+/g, "%20")
    return unescape(s);
}

var POS_NODENAME=0;
var POS_ID=1;
var POS_NAME=2;
var POS_NAVIGATIONTEXT=3;
var POS_HREF=4;
var POS_ISNAVIGATION=5;
var POS_CHILDS=6;
var POS_TEMPLATENAME=7;
var theSitetree=[ 
	['PAGE','4466',jdecode('Home'),jdecode(''),'/4466/index.html','true',[ 
		['PAGE','49202',jdecode('Home+%28follow+up+page%29'),jdecode(''),'/4466/49202.html','false',[],'']
	],''],
	['PAGE','89970',jdecode('Recent+Sightings+Log'),jdecode(''),'/89970.html','true',[],''],
	['PAGE','46905',jdecode('LBO+Archive'),jdecode(''),'/46905/index.html','true',[ 
		['PAGE','64177',jdecode('20th+Century+Archive'),jdecode(''),'/46905/64177.html','true',[],''],
		['PAGE','64208',jdecode('Archive+2000'),jdecode(''),'/46905/64208.html','true',[],''],
		['PAGE','51401',jdecode('Archive+2001'),jdecode(''),'/46905/51401.html','true',[],''],
		['PAGE','51539',jdecode('Archive+2002'),jdecode(''),'/46905/51539.html','true',[],''],
		['PAGE','51570',jdecode('Archive+2003'),jdecode(''),'/46905/51570.html','true',[],''],
		['PAGE','51601',jdecode('Archive+2004'),jdecode(''),'/46905/51601.html','true',[],''],
		['PAGE','53001',jdecode('Archive+2005'),jdecode(''),'/46905/53001.html','true',[],''],
		['PAGE','85772',jdecode('Archive+2006'),jdecode(''),'/46905/85772.html','true',[],''],
		['PAGE','89814',jdecode('Archive+2007'),jdecode(''),'/46905/89814.html','true',[],''],
		['PAGE','147266',jdecode('Archive+2008'),jdecode(''),'/46905/147266.html','true',[],''],
		['PAGE','176566',jdecode('Archive+2009'),jdecode(''),'/46905/176566.html','true',[],'']
	],''],
	['PAGE','63812',jdecode('Articles'),jdecode(''),'/63812.html','true',[],''],
	['PAGE','63746',jdecode('Systematic+Lists'),jdecode(''),'/63746.html','true',[],''],
	['PAGE','53103',jdecode('Finder%26%23x27%3Bs+Notes'),jdecode(''),'/53103/index.html','true',[ 
		['PAGE','53134',jdecode('Trumpeter+Finch+-+May+2005'),jdecode(''),'/53103/53134.html','true',[],'']
	],''],
	['PAGE','64646',jdecode('Ringing+Totals'),jdecode(''),'/64646.html','true',[],''],
	['PAGE','64446',jdecode('Events'),jdecode(''),'/64446.html','true',[],''],
	['PAGE','47504',jdecode('Membership'),jdecode(''),'/47504.html','true',[],''],
	['PAGE','47801',jdecode('Contacts'),jdecode(''),'/47801.html','true',[],''],
	['PAGE','47102',jdecode('Guestbook'),jdecode(''),'/47102/index.html','true',[ 
		['PAGE','47103',jdecode('Read+Guestbook'),jdecode(''),'/47102/47103.html','true',[],'']
	],''],
	['PAGE','54202',jdecode('Birds+Photos+2005'),jdecode(''),'/54202.html','true',[],''],
	['PAGE','132767',jdecode('Birds+Photos+2008'),jdecode(''),'/132767.html','true',[],''],
	['PAGE','158467',jdecode('Birds+Photos+2009'),jdecode(''),'/158467.html','true',[],''],
	['PAGE','132967',jdecode('Moths+Photos'),jdecode(''),'/132967.html','true',[],''],
	['PAGE','60628',jdecode('Historic+Bird+Photos'),jdecode(''),'/60628.html','true',[],''],
	['PAGE','58201',jdecode('News+Letters'),jdecode(''),'/58201.html','true',[],''],
	['PAGE','88567',jdecode('Direction'),jdecode(''),'/88567.html','true',[],'']];
var siteelementCount=32;
theSitetree.topTemplateName='Aeskulap';
					                                                                    
theSitetree.getById = function(id, ar) {												
							if (typeof(ar) == 'undefined')                              
								ar = this;                                              
							for (var i=0; i < ar.length; i++) {                         
								if (ar[i][POS_ID] == id)                                
									return ar[i];                                       
								if (ar[i][POS_CHILDS].length > 0) {                     
									var result=this.getById(id, ar[i][POS_CHILDS]);     
									if (result != null)                                 
										return result;                                  
								}									                    
							}                                                           
							return null;                                                
					  };                                                                
					                                                                    
theSitetree.getParentById = function(id, ar) {											
						if (typeof(ar) == 'undefined')                              	
							ar = this;                                             		
						for (var i=0; i < ar.length; i++) {                        		
							for (var j = 0; j < ar[i][POS_CHILDS].length; j++) {   		
								if (ar[i][POS_CHILDS][j][POS_ID] == id) {          		
									// child found                                 		
									return ar[i];                                  		
								}                                                  		
								var result=this.getParentById(id, ar[i][POS_CHILDS]);   
								if (result != null)                                 	
									return result;                                  	
							}                                                       	
						}                                                           	
						return null;                                                	
					 }								                                    
					                                                                    
theSitetree.getName = function(id) {                                                    
						var elem = this.getById(id);                                    
						if (elem != null)                                               
							return elem[POS_NAME];                                      
						return null;	                                                
					  };			                                                    
theSitetree.getNavigationText = function(id) {                                          
						var elem = this.getById(id);                                    
						if (elem != null)                                               
							return elem[POS_NAVIGATIONTEXT];                            
						return null;	                                                
					  };			                                                    
					                                                                    
theSitetree.getHREF = function(id) {                                                    
						var elem = this.getById(id);                                    
						if (elem != null)                                               
							return elem[POS_HREF];                                      
						return null;	                                                
					  };			                                                    
					                                                                    
theSitetree.getIsNavigation = function(id) {                                            
						var elem = this.getById(id);                                    
						if (elem != null)                                               
							return elem[POS_ISNAVIGATION];                              
						return null;	                                                
					  };			                                                    
					                                                                    
theSitetree.getTemplateName = function(id, lastTemplateName, ar) {             		 
	                                                                                 
	if (typeof(lastTemplateName) == 'undefined')                                     
		lastTemplateName = this.topTemplateName;	                                 
	if (typeof(ar) == 'undefined')                                                   
		ar = this;                                                                   
		                                                                             
	for (var i=0; i < ar.length; i++) {                                              
		var actTemplateName = ar[i][POS_TEMPLATENAME];                               
		                                                                             
		if (actTemplateName == '')                                                   
			actTemplateName = lastTemplateName;		                                 
		                                                                             
		if (ar[i][POS_ID] == id) {                                			         
			return actTemplateName;                                                  
		}	                                                                         
		                                                                             
		if (ar[i][POS_CHILDS].length > 0) {                                          
			var result=this.getTemplateName(id, actTemplateName, ar[i][POS_CHILDS]); 
			if (result != null)                                                      
				return result;                                                       
		}									                                         
	}                                                                                
	return null;                                                                     
	};                                                                               
/* EOF */					                                                            
