/* [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','4436',jdecode('Home'),jdecode(''),'/4436/index.html','true',[ 
		['PAGE','17802',jdecode('2010+Board+of+Directors'),jdecode(''),'/4436/17802.html','true',[],''],
		['PAGE','27139',jdecode('From+The+President'),jdecode(''),'/4436/27139.html','true',[],''],
		['PAGE','35454',jdecode('Club+By-laws'),jdecode(''),'/4436/35454.html','true',[],''],
		['PAGE','63787',jdecode('County+Laws+and+Permits'),jdecode(''),'/4436/63787.html','true',[],'']
	],''],
	['PAGE','7801',jdecode('HOT+NEWS'),jdecode(''),'/7801/index.html','true',[ 
		['PAGE','79962',jdecode('Milestones+for+Construction'),jdecode(''),'/7801/79962.html','true',[],'']
	],''],
	['PAGE','45386',jdecode('Membership+Info'),jdecode(''),'/45386/index.html','true',[ 
		['PAGE','45417',jdecode('Our+Services+%26+Costs'),jdecode(''),'/45386/45417.html','true',[],''],
		['PAGE','45448',jdecode('Application+Form'),jdecode(''),'/45386/45448.html','true',[],''],
		['PAGE','57879',jdecode('Guests+%26+Fees'),jdecode(''),'/45386/57879.html','true',[],'']
	],''],
	['PAGE','6928',jdecode('Swim+Team+News'),jdecode(''),'/6928/index.html','true',[ 
		['PAGE','22801',jdecode('Practice+Schedule'),jdecode(''),'/6928/22801.html','true',[],''],
		['PAGE','20602',jdecode('Meet+Schedule'),jdecode(''),'/6928/20602.html','true',[],''],
		['PAGE','25701',jdecode('Social+Events'),jdecode(''),'/6928/25701.html','true',[],''],
		['PAGE','81366',jdecode('2010+Results'),jdecode(''),'/6928/81366.html','true',[],''],
		['PAGE','71413',jdecode('Archives+2009+Results'),jdecode(''),'/6928/71413.html','true',[],''],
		['PAGE','64513',jdecode('Archives%3A+2008+Results'),jdecode(''),'/6928/64513.html','true',[],''],
		['PAGE','50480',jdecode('2006+Swim+Team+Photos'),jdecode(''),'/6928/50480.html','true',[],''],
		['PAGE','29240',jdecode('2005+Swim+Team+Photos'),jdecode(''),'/6928/29240.html','true',[],''],
		['PAGE','17501',jdecode('Swim+Team+History'),jdecode(''),'/6928/17501.html','true',[],''],
		['PAGE','22901',jdecode('Coaches%2FTeam+Reps'),jdecode(''),'/6928/22901.html','true',[],'']
	],''],
	['PAGE','6955',jdecode('Dive+Team+News'),jdecode(''),'/6955/index.html','true',[ 
		['PAGE','59687',jdecode('Dive+Meet+Results'),jdecode(''),'/6955/59687.html','true',[],''],
		['PAGE','64801',jdecode('FAQ%26%23x27%3Bs+About+The+Dive+Team'),jdecode(''),'/6955/64801.html','true',[],''],
		['PAGE','29039',jdecode('Practice+Schedule'),jdecode(''),'/6955/29039.html','true',[],''],
		['PAGE','25003',jdecode('Dive+Meet+Schedule'),jdecode(''),'/6955/25003.html','true',[],''],
		['PAGE','62287',jdecode('Awards+%26+Records'),jdecode(''),'/6955/62287.html','true',[],'']
	],''],
	['PAGE','6901',jdecode('Tennis+News'),jdecode(''),'/6901/index.html','true',[ 
		['PAGE','43397',jdecode('Lessons'),jdecode(''),'/6901/43397.html','true',[],''],
		['PAGE','45786',jdecode('Adult+Information'),jdecode(''),'/6901/45786.html','true',[],''],
		['PAGE','46379',jdecode('Junior+Tennis'),jdecode(''),'/6901/46379.html','true',[],''],
		['PAGE','66201',jdecode('Junior+Match+Schedule'),jdecode(''),'/6901/66201.html','true',[],''],
		['PAGE','69817',jdecode('Tennis+Social+Events'),jdecode(''),'/6901/69817.html','true',[],'']
	],''],
	['PAGE','6982',jdecode('Social+Schedule'),jdecode(''),'/6982.html','true',[],''],
	['PAGE','18201',jdecode('Pool+Rules'),jdecode(''),'/18201.html','true',[],''],
	['PAGE','18601',jdecode('Private+Party+Rules'),jdecode(''),'/18601.html','true',[],''],
	['PAGE','7009',jdecode('Contact+Information'),jdecode(''),'/7009.html','true',[],''],
	['PAGE','28439',jdecode('Directions'),jdecode(''),'/28439.html','true',[],''],
	['PAGE','44197',jdecode('Newsletter+Archive'),jdecode(''),'/44197.html','true',[],''],
	['PAGE','44228',jdecode('Contact+us'),jdecode(''),'/44228/index.html','true',[ 
		['PAGE','44265',jdecode('Contact+us+%28follow+up+page%29'),jdecode(''),'/44228/44265.html','false',[],'']
	],''],
	['PAGE','45200',jdecode('Community+Links'),jdecode(''),'/45200.html','true',[],''],
	['PAGE','54279',jdecode('Renovation+Plans'),jdecode(''),'/54279/index.html','true',[ 
		['PAGE','54343',jdecode('Front+View'),jdecode(''),'/54279/54343.html','true',[],''],
		['PAGE','54374',jdecode('Rear+View'),jdecode(''),'/54279/54374.html','true',[],''],
		['PAGE','54405',jdecode('Plan+View'),jdecode(''),'/54279/54405.html','true',[],'']
	],''],
	['PAGE','63288',jdecode('How+to+find+us'),jdecode(''),'/63288.html','true',[],'']];
var siteelementCount=48;
theSitetree.topTemplateName='Match';
					                                                                    
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 */					                                                            
