/* [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('TCLL+Home'),jdecode(''),'/4436.html','true',[],''],
	['PAGE','12628',jdecode('About+Turtle+Club'),jdecode(''),'/12628/index.html','true',[ 
		['PAGE','12655',jdecode('History'),jdecode(''),'/12628/12655.html','true',[],''],
		['PAGE','32901',jdecode('Park+Map'),jdecode(''),'/12628/32901.html','true',[],''],
		['PAGE','33202',jdecode('How+To+Find+Us'),jdecode(''),'/12628/33202.html','true',[],''],
		['PAGE','33302',jdecode('Directions+To+Turtle+Club'),jdecode(''),'/12628/33302.html','true',[],''],
		['PAGE','52701',jdecode('Concession+Info'),jdecode(''),'/12628/52701.html','true',[],'']
	],''],
	['PAGE','12682',jdecode('The+Front+Office'),jdecode(''),'/12682.html','true',[],''],
	['PAGE','128724',jdecode('TC+Fan+Wear'),jdecode(''),'/128724.html','true',[],''],
	['PAGE','126204',jdecode('Our+Sponsors'),jdecode(''),'/126204.html','true',[],''],
	['PAGE','17801',jdecode('Diamond+Dust'),jdecode(''),'/17801/index.html','true',[ 
		['PAGE','95910',jdecode('Subscribe'),jdecode(''),'/17801/95910/index.html','true',[ 
			['PAGE','96029',jdecode('Subscribe+%28follow+up+page%29'),jdecode(''),'/17801/95910/96029.html','false',[],'']
		],'']
	],''],
	['PAGE','90710',jdecode('1st+Aid+Box+-+Safety'),jdecode(''),'/90710.html','true',[],''],
	['PAGE','116525',jdecode('Diamond+Schedules'),jdecode(''),'/116525.html','true',[],''],
	['PAGE','16501',jdecode('Baseball+Division'),jdecode(''),'/16501/index.html','true',[ 
		['PAGE','16601',jdecode('BlastBall'),jdecode(''),'/16501/16601.html','true',[],''],
		['PAGE','16632',jdecode('T-Ball'),jdecode(''),'/16501/16632.html','true',[],''],
		['PAGE','16763',jdecode('Rookie+Ball'),jdecode(''),'/16501/16763.html','true',[],''],
		['PAGE','14738',jdecode('Minor'),jdecode(''),'/16501/14738.html','true',[],''],
		['PAGE','129697',jdecode('Major'),jdecode(''),'/16501/129697.html','true',[],''],
		['PAGE','16701',jdecode('Junior%2FSenior%2FBL'),jdecode(''),'/16501/16701.html','true',[],'']
	],''],
	['PAGE','55305',jdecode('Softball+Division'),jdecode(''),'/55305/index.html','true',[ 
		['PAGE','16532',jdecode('Girls+T-Ball'),jdecode(''),'/55305/16532.html','true',[],''],
		['PAGE','129740',jdecode('Rookie+Softball'),jdecode(''),'/55305/129740.html','true',[],''],
		['PAGE','16832',jdecode('Minor'),jdecode(''),'/55305/16832.html','true',[],''],
		['PAGE','16863',jdecode('Major'),jdecode(''),'/55305/16863.html','true',[],''],
		['PAGE','16894',jdecode('Junior'),jdecode(''),'/55305/16894.html','true',[],''],
		['PAGE','16925',jdecode('Senior+-+Big+League'),jdecode(''),'/55305/16925.html','true',[],'']
	],''],
	['PAGE','12790',jdecode('Tournaments+%26+Events'),jdecode(''),'/12790.html','true',[],''],
	['PAGE','83801',jdecode('Home+Plate+-+Umpires'),jdecode(''),'/83801.html','true',[],''],
	['PAGE','14901',jdecode('First+Base+-+Coaches'),jdecode(''),'/14901/index.html','true',[ 
		['PAGE','44611',jdecode('New+Coach+Tips'),jdecode(''),'/14901/44611.html','true',[],''],
		['PAGE','44701',jdecode('Plan+To+Succeed'),jdecode(''),'/14901/44701.html','true',[],''],
		['PAGE','45101',jdecode('Handling+Parents'),jdecode(''),'/14901/45101.html','true',[],''],
		['PAGE','44301',jdecode('Equipment+Tips'),jdecode(''),'/14901/44301.html','true',[],''],
		['PAGE','46201',jdecode('Forms+%26+Templates'),jdecode(''),'/14901/46201.html','true',[],''],
		['PAGE','57801',jdecode('Coach%26%23x27%3Bs+Tip+Archive'),jdecode(''),'/14901/57801.html','true',[],'']
	],''],
	['PAGE','14932',jdecode('Second+Base+-+Parents'),jdecode(''),'/14932/index.html','true',[ 
		['PAGE','31910',jdecode('Parent+Conduct'),jdecode(''),'/14932/31910.html','true',[],''],
		['PAGE','31941',jdecode('Baseball+Lingo'),jdecode(''),'/14932/31941.html','true',[],''],
		['PAGE','44901',jdecode('Equipment+Tips'),jdecode(''),'/14932/44901.html','true',[],''],
		['PAGE','58210',jdecode('Parent%26%23x27%3Bs+Tip+Archive'),jdecode(''),'/14932/58210.html','true',[],'']
	],''],
	['PAGE','40837',jdecode('Third+Base+-+Players'),jdecode(''),'/40837/index.html','true',[ 
		['PAGE','15716',jdecode('Winter+Ball+Clinics'),jdecode(''),'/40837/15716.html','true',[],''],
		['PAGE','58301',jdecode('Player%26%23x27%3Bs+Tip+Archive'),jdecode(''),'/40837/58301.html','true',[],'']
	],''],
	['PAGE','91310',jdecode('The+Bullpen+-+Volunteers'),jdecode(''),'/91310/index.html','true',[ 
		['PAGE','89413',jdecode('Community+Service'),jdecode(''),'/91310/89413.html','true',[],''],
		['PAGE','89468',jdecode('Community+Service+%28follow+up+page%29'),jdecode(''),'/91310/89468.html','false',[],'']
	],''],
	['PAGE','79701',jdecode('The+Bleachers+-+Fans'),jdecode(''),'/79701.html','true',[],''],
	['PAGE','126235',jdecode('TC+Market+Place'),jdecode(''),'/126235.html','true',[],''],
	['PAGE','60410',jdecode('Suggestion+Box'),jdecode(''),'/60410.html','true',[],''],
	['PAGE','52732',jdecode('Lost+%26+Found'),jdecode(''),'/52732.html','true',[],''],
	['PAGE','12817',jdecode('Cool+Links'),jdecode(''),'/12817.html','true',[],''],
	['PAGE','12897',jdecode('Contact+Us'),jdecode(''),'/12897/index.html','true',[ 
		['PAGE','13002',jdecode('Contact+Us+%28follow+up+page%29'),jdecode(''),'/12897/13002.html','false',[],'']
	],''],
	['PAGE','12402',jdecode('Guestbook'),jdecode(''),'/12402/index.html','true',[ 
		['PAGE','12403',jdecode('Read+Guestbook'),jdecode(''),'/12402/12403.html','true',[],'']
	],''],
	['PAGE','14205',jdecode('Legal+Stuff'),jdecode(''),'/14205.html','true',[],'']];
var siteelementCount=59;
theSitetree.topTemplateName='Natural';
					                                                                    
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 */					                                                            
