/* [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('Welcome%21'),jdecode(''),'/4436.html','true',[],''],
	['PAGE','66509',jdecode('Scheduled+Meetings'),jdecode(''),'/66509.html','true',[],''],
	['PAGE','102169',jdecode('Site+Map'),jdecode(''),'/102169.html','true',[],''],
	['PAGE','25597',jdecode('Board+of+Supervisors'),jdecode(''),'/25597.html','true',[],''],
	['PAGE','93065',jdecode('Agenda+%26+Minutes+'),jdecode(''),'/93065/index.html','true',[ 
		['PAGE','72551',jdecode('2008+Minutes'),jdecode(''),'/93065/72551.html','true',[],''],
		['PAGE','24150',jdecode('2007+Minutes'),jdecode(''),'/93065/24150.html','true',[],''],
		['PAGE','30003',jdecode('2006+Minutes+'),jdecode(''),'/93065/30003.html','true',[],'']
	],''],
	['PAGE','13501',jdecode('Subsidiary+Boards'),jdecode(''),'/13501/index.html','true',[ 
		['PAGE','17222',jdecode('Board+of+Auditors'),jdecode(''),'/13501/17222.html','true',[],''],
		['PAGE','17432',jdecode('Library+Board'),jdecode(''),'/13501/17432.html','true',[],''],
		['PAGE','17556',jdecode('Recreation+Board'),jdecode(''),'/13501/17556.html','true',[],''],
		['PAGE','17253',jdecode('Cable+Advisory+%26+Tech+Board'),jdecode(''),'/13501/17253.html','true',[],''],
		['PAGE','17587',jdecode('Senior+Citizens+Task+Force'),jdecode(''),'/13501/17587.html','true',[],''],
		['PAGE','17463',jdecode('Municipal+Advisory+Board'),jdecode(''),'/13501/17463.html','true',[],''],
		['PAGE','17618',jdecode('Zoning+Hearing+Board'),jdecode(''),'/13501/17618.html','true',[],''],
		['PAGE','17494',jdecode('Planning+Commission'),jdecode(''),'/13501/17494.html','true',[],''],
		['PAGE','17284',jdecode('Dolphin+Swim+Club'),jdecode(''),'/13501/17284.html','true',[],''],
		['PAGE','17525',jdecode('Playwicki+Farm+Foundation'),jdecode(''),'/13501/17525.html','true',[],''],
		['PAGE','19601',jdecode('Environmental+Advisory+Council'),jdecode(''),'/13501/19601.html','true',[],''],
		['PAGE','23601',jdecode('Shade+Tree+Commission'),jdecode(''),'/13501/23601.html','true',[],''],
		['PAGE','23632',jdecode('Fire+Appeals+Board'),jdecode(''),'/13501/23632.html','true',[],''],
		['PAGE','23663',jdecode('General+Appeals+Board'),jdecode(''),'/13501/23663.html','true',[],''],
		['PAGE','23879',jdecode('Animal+Control+Advisory+Board'),jdecode(''),'/13501/23879.html','true',[],''],
		['PAGE','21505',jdecode('Disabled+Persons+Advisory+Board'),jdecode(''),'/13501/21505.html','true',[],''],
		['PAGE','72251',jdecode('Task+Force+for+Youth+at+Risk'),jdecode(''),'/13501/72251.html','true',[],'']
	],''],
	['PAGE','6901',jdecode('Departments'),jdecode(''),'/6901.html','true',[],''],
	['PAGE','110886',jdecode('Public+Works+Projects'),jdecode(''),'/110886.html','true',[],''],
	['PAGE','84569',jdecode('Dolphin+Swim+Club'),jdecode(''),'/84569/index.html','true',[ 
		['PAGE','85463',jdecode('Membership'),jdecode(''),'/84569/85463.html','true',[],''],
		['PAGE','85494',jdecode('Facilities'),jdecode(''),'/84569/85494.html','true',[],'']
	],''],
	['PAGE','81669',jdecode('Our+Library'),jdecode(''),'/81669/index.html','true',[ 
		['PAGE','81700',jdecode('Library+Services'),jdecode(''),'/81669/81700.html','true',[],''],
		['PAGE','81731',jdecode('Children%26%23x27%3Bs+Activities'),jdecode(''),'/81669/81731.html','true',[],''],
		['PAGE','81762',jdecode('Adult+Activities'),jdecode(''),'/81669/81762.html','true',[],''],
		['PAGE','81793',jdecode('Friends+of+the+Library'),jdecode(''),'/81669/81793.html','true',[],'']
	],''],
	['PAGE','20401',jdecode('Parks+%26+Recreation'),jdecode(''),'/20401/index.html','true',[ 
		['PAGE','80091',jdecode('Classes+%26+Activities'),jdecode(''),'/20401/80091.html','true',[],''],
		['PAGE','92660',jdecode('Trips+and+Shows'),jdecode(''),'/20401/92660.html','true',[],''],
		['PAGE','105760',jdecode('Birthday+Parties'),jdecode(''),'/20401/105760.html','true',[],''],
		['PAGE','80122',jdecode('Facilities'),jdecode(''),'/20401/80122.html','true',[],''],
		['PAGE','80153',jdecode('Affiliated+Programs'),jdecode(''),'/20401/80153.html','true',[],''],
		['PAGE','109783',jdecode('GALS+Softball'),jdecode(''),'/20401/109783.html','true',[],''],
		['PAGE','80060',jdecode('Registration+%26+Permits'),jdecode(''),'/20401/80060.html','true',[],''],
		['PAGE','86660',jdecode('Playwicki+Farm'),jdecode(''),'/20401/86660.html','true',[],''],
		['PAGE','95860',jdecode('P%26R+Meeting+Minutes'),jdecode(''),'/20401/95860.html','true',[],''],
		['PAGE','106260',jdecode('Playwicki+Meeting+Minutes'),jdecode(''),'/20401/106260.html','true',[],''],
		['PAGE','113680',jdecode('Pictures+of+Events'),jdecode(''),'/20401/113680.html','true',[],''],
		['PAGE','115531',jdecode('Sweetwater+Farms'),jdecode(''),'/20401/115531.html','true',[],'']
	],''],
	['PAGE','94360',jdecode('Licenses+%26+Inspections'),jdecode(''),'/94360.html','true',[],''],
	['PAGE','63803',jdecode('Fire+Marshall%26%23x27%3Bs+Office'),jdecode(''),'/63803/index.html','true',[ 
		['PAGE','106960',jdecode('Q+%26+A+%2F+Other+Links'),jdecode(''),'/63803/106960.html','true',[],''],
		['PAGE','106991',jdecode('Forms+%26+Permits'),jdecode(''),'/63803/106991.html','true',[],''],
		['PAGE','63903',jdecode('Exit+Drills+in+the+Home'),jdecode(''),'/63803/63903.html','true',[],''],
		['PAGE','63965',jdecode('Summer+Fire+Safety'),jdecode(''),'/63803/63965.html','true',[],''],
		['PAGE','63996',jdecode('Business+Safety+Checklist'),jdecode(''),'/63803/63996.html','true',[],''],
		['PAGE','64027',jdecode('Electrical+Safety'),jdecode(''),'/63803/64027.html','true',[],''],
		['PAGE','64058',jdecode('Heating+Safety'),jdecode(''),'/63803/64058.html','true',[],''],
		['PAGE','64089',jdecode('Carbon+Monoxide'),jdecode(''),'/63803/64089.html','true',[],''],
		['PAGE','64120',jdecode('Cooking+Safety'),jdecode(''),'/63803/64120.html','true',[],''],
		['PAGE','64151',jdecode('Candle+Safety'),jdecode(''),'/63803/64151.html','true',[],'']
	],''],
	['PAGE','80772',jdecode('Police+Department'),jdecode(''),'/80772/index.html','true',[ 
		['PAGE','63712',jdecode('School+Bus+Safety+Law'),jdecode(''),'/80772/63712.html','true',[],'']
	],''],
	['PAGE','101360',jdecode('Right+to+Know'),jdecode(''),'/101360.html','true',[],''],
	['PAGE','21301',jdecode('Events+%26++Notices'),jdecode(''),'/21301.html','true',[],''],
	['PAGE','6932',jdecode('Area+Links%2FTaxes'),jdecode(''),'/6932.html','true',[],''],
	['PAGE','31103',jdecode('Feedback'),jdecode(''),'/31103/index.html','true',[ 
		['PAGE','31184',jdecode('Feedback+%28follow+up+page%29'),jdecode(''),'/31103/31184.html','false',[],'']
	],''],
	['PAGE','101924',jdecode('Our+Township'),jdecode(''),'/101924/index.html','true',[ 
		['PAGE','71851',jdecode('2009+Budget'),jdecode(''),'/101924/71851.html','true',[],''],
		['PAGE','78760',jdecode('Code+of+Ordinances'),jdecode(''),'/101924/78760.html','true',[],''],
		['PAGE','21740',jdecode('Photo+Album'),jdecode(''),'/101924/21740.html','true',[],''],
		['PAGE','61903',jdecode('Township+History'),jdecode(''),'/101924/61903.html','true',[],''],
		['PAGE','95160',jdecode('Facts+%26+Figures'),jdecode(''),'/101924/95160.html','true',[],''],
		['PAGE','84860',jdecode('Community+Center'),jdecode(''),'/101924/84860.html','true',[],''],
		['PAGE','22806',jdecode('Lower+South+TV-LSTV'),jdecode(''),'/101924/22806.html','true',[],''],
		['PAGE','12702',jdecode('Trash+Removal'),jdecode(''),'/101924/12702.html','true',[],''],
		['PAGE','96769',jdecode('Stormwater'),jdecode(''),'/101924/96769.html','true',[],''],
		['PAGE','20702',jdecode('Map+%26+Directions'),jdecode(''),'/101924/20702.html','true',[],''],
		['PAGE','22035',jdecode('Help+%2F+Job+Posting'),jdecode(''),'/101924/22035.html','true',[],''],
		['PAGE','30221',jdecode('Forms+%26+Fee+Schedule'),jdecode(''),'/101924/30221.html','true',[],'']
	],''],
	['PAGE','101761',jdecode('Weather'),jdecode(''),'/101761.html','true',[],''],
	['PAGE','101797',jdecode('Top+News'),jdecode(''),'/101797.html','true',[],''],
	['PAGE','101833',jdecode('Market+Reports'),jdecode(''),'/101833.html','true',[],'']];
var siteelementCount=84;
theSitetree.topTemplateName='Solid';
					                                                                    
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 */					                                                            
