/* [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','4607',jdecode('Home'),jdecode(''),'/4607.html','true',[],''],
	['PAGE','14390',jdecode('Matthew+B.Corner'),jdecode(''),'/14390/index.html','true',[ 
		['PAGE','155691',jdecode('......Altengronau'),jdecode(''),'/14390/155691.html','true',[],''],
		['PAGE','92325',jdecode('......7th+Regt.Penn.Cav.'),jdecode(''),'/14390/92325.html','true',[],'']
	],''],
	['PAGE','159091',jdecode('George+Huse'),jdecode(''),'/159091/index.html','true',[ 
		['PAGE','159246',jdecode('......2nd+Regt.Mass.Cav.'),jdecode(''),'/159091/159246.html','true',[],'']
	],''],
	['PAGE','161086',jdecode('Markus'),jdecode(''),'/161086.html','true',[],''],
	['PAGE','159153',jdecode('Alois+Schindler'),jdecode(''),'/159153/index.html','true',[ 
		['PAGE','159215',jdecode('......3rd+Regt.NJ+Cav.'),jdecode(''),'/159153/159215.html','true',[],'']
	],''],
	['PAGE','14363',jdecode('Tanya+Mariah+Corner'),jdecode(''),'/14363.html','true',[],''],
	['PAGE','159122',jdecode('Angela+Huse'),jdecode(''),'/159122.html','true',[],''],
	['PAGE','161055',jdecode('Caro'),jdecode(''),'/161055.html','true',[],''],
	['PAGE','159184',jdecode('Hanna+L%FChrs'),jdecode(''),'/159184.html','true',[],''],
	['PAGE','155029',jdecode('Verein'),jdecode(''),'/155029/index.html','true',[ 
		['PAGE','14471',jdecode('Mitglieder'),jdecode(''),'/155029/14471.html','true',[],''],
		['PAGE','93425',jdecode('......Clyde-Elisabeth'),jdecode(''),'/155029/93425.html','true',[],''],
		['PAGE','93457',jdecode('......Matthias-Tanja'),jdecode(''),'/155029/93457.html','true',[],''],
		['PAGE','93488',jdecode('......George-Angelika'),jdecode(''),'/155029/93488.html','true',[],''],
		['PAGE','93519',jdecode('......Sarah-Tatjana'),jdecode(''),'/155029/93519.html','true',[],''],
		['PAGE','93550',jdecode('......Caro-Markus'),jdecode(''),'/155029/93550.html','true',[],''],
		['PAGE','152032',jdecode('......Daniela-Diana'),jdecode(''),'/155029/152032.html','true',[],''],
		['PAGE','93581',jdecode('......Johanna-Alois'),jdecode(''),'/155029/93581.html','true',[],''],
		['PAGE','155060',jdecode('Aktivit%E4ten'),jdecode(''),'/155029/155060.html','true',[],'']
	],''],
	['PAGE','14444',jdecode('Aktuell'),jdecode(''),'/14444/index.html','true',[ 
		['PAGE','152729',jdecode('Ball+2007'),jdecode(''),'/14444/152729.html','true',[],'']
	],''],
	['PAGE','96887',jdecode('Die+Civil-War-%C4ra'),jdecode(''),'/96887/index.html','true',[ 
		['PAGE','129329',jdecode('The+Life'),jdecode(''),'/96887/129329.html','true',[],''],
		['PAGE','109299',jdecode('......Etikette'),jdecode(''),'/96887/109299.html','true',[],''],
		['PAGE','106222',jdecode('......Musik'),jdecode(''),'/96887/106222.html','true',[],''],
		['PAGE','129360',jdecode('......Kleidung'),jdecode(''),'/96887/129360.html','true',[],''],
		['PAGE','125625',jdecode('The+Civil-War'),jdecode(''),'/96887/125625.html','true',[],''],
		['PAGE','95843',jdecode('......Zeittafel'),jdecode(''),'/96887/95843.html','true',[],''],
		['PAGE','97287',jdecode('......Schaupl%E4tze'),jdecode(''),'/96887/97287.html','true',[],''],
		['PAGE','97225',jdecode('......US+Offiziere'),jdecode(''),'/96887/97225.html','true',[],''],
		['PAGE','97256',jdecode('......CSA+Offiziere'),jdecode(''),'/96887/97256.html','true',[],''],
		['PAGE','99546',jdecode('......Wissenswertes%3F'),jdecode(''),'/96887/99546.html','true',[],''],
		['PAGE','97318',jdecode('The+States'),jdecode(''),'/96887/97318.html','true',[],''],
		['PAGE','131991',jdecode('......United+States'),jdecode(''),'/96887/131991.html','true',[],''],
		['PAGE','132022',jdecode('......Border+States'),jdecode(''),'/96887/132022.html','true',[],''],
		['PAGE','132053',jdecode('......Confederate+States'),jdecode(''),'/96887/132053.html','true',[],'']
	],''],
	['PAGE','14417',jdecode('Photo-Galerie'),jdecode(''),'/14417/index.html','true',[ 
		['PAGE','154901',jdecode('Ball+2007'),jdecode(''),'/14417/154901.html','true',[],''],
		['PAGE','150130',jdecode('Ball+2006'),jdecode(''),'/14417/150130.html','true',[],''],
		['PAGE','99361',jdecode('Ball+2005'),jdecode(''),'/14417/99361.html','true',[],''],
		['PAGE','92388',jdecode('Ball+2004'),jdecode(''),'/14417/92388.html','true',[],'']
	],''],
	['PAGE','161117',jdecode('Termine'),jdecode(''),'/161117.html','true',[],''],
	['PAGE','93225',jdecode('Links'),jdecode(''),'/93225.html','true',[],''],
	['PAGE','15002',jdecode('G%E4stebuch'),jdecode(''),'/15002/index.html','true',[ 
		['PAGE','15003',jdecode('Eintr%E4ge'),jdecode(''),'/15002/15003.html','true',[],'']
	],''],
	['PAGE','99601',jdecode('Kontakt'),jdecode(''),'/99601/index.html','true',[ 
		['PAGE','124155',jdecode(''),jdecode(''),'/99601/124155.html','true',[],''],
		['PAGE','129891',jdecode('......F%E4chersprache'),jdecode(''),'/99601/129891.html','true',[],''],
		['PAGE','131960',jdecode('......T%E4nze'),jdecode(''),'/99601/131960.html','true',[],''],
		['PAGE','131929',jdecode('......Komponisten'),jdecode(''),'/99601/131929.html','true',[],''],
		['PAGE','129860',jdecode('......Die+Damen'),jdecode(''),'/99601/129860.html','true',[],''],
		['PAGE','129829',jdecode('......Die+Herren'),jdecode(''),'/99601/129829.html','true',[],'']
	],''],
	['PAGE','149129',jdecode('Impressum'),jdecode(''),'/149129/index.html','true',[ 
		['PAGE','144637',jdecode(''),jdecode(''),'/149129/144637.html','true',[],''],
		['PAGE','136495',jdecode('......California'),jdecode(''),'/149129/136495.html','true',[],''],
		['PAGE','136526',jdecode('......Conneciticut'),jdecode(''),'/149129/136526.html','true',[],''],
		['PAGE','136557',jdecode('......Delaware'),jdecode(''),'/149129/136557.html','true',[],''],
		['PAGE','136588',jdecode('......Illinois'),jdecode(''),'/149129/136588.html','true',[],''],
		['PAGE','136619',jdecode('......Indiana'),jdecode(''),'/149129/136619.html','true',[],''],
		['PAGE','136650',jdecode('......Iowa'),jdecode(''),'/149129/136650.html','true',[],''],
		['PAGE','136681',jdecode('......Kansas'),jdecode(''),'/149129/136681.html','true',[],''],
		['PAGE','136712',jdecode('......Maine'),jdecode(''),'/149129/136712.html','true',[],''],
		['PAGE','136743',jdecode('......Massachusetts'),jdecode(''),'/149129/136743.html','true',[],''],
		['PAGE','136774',jdecode('......Michigan'),jdecode(''),'/149129/136774.html','true',[],''],
		['PAGE','136805',jdecode('......Minnesota'),jdecode(''),'/149129/136805.html','true',[],''],
		['PAGE','136929',jdecode('......Ohio'),jdecode(''),'/149129/136929.html','true',[],''],
		['PAGE','136836',jdecode('......New+Hampshire'),jdecode(''),'/149129/136836.html','true',[],''],
		['PAGE','136867',jdecode('......New+Jersey'),jdecode(''),'/149129/136867.html','true',[],''],
		['PAGE','136898',jdecode('......New+York'),jdecode(''),'/149129/136898.html','true',[],''],
		['PAGE','136960',jdecode('......Oregon'),jdecode(''),'/149129/136960.html','true',[],''],
		['PAGE','136991',jdecode('......Pennsylvania'),jdecode(''),'/149129/136991.html','true',[],''],
		['PAGE','137022',jdecode('......Rhode+Island'),jdecode(''),'/149129/137022.html','true',[],''],
		['PAGE','137053',jdecode('......Vermont'),jdecode(''),'/149129/137053.html','true',[],''],
		['PAGE','137084',jdecode('......Wisconsin'),jdecode(''),'/149129/137084.html','true',[],''],
		['PAGE','137115',jdecode('......Maryland'),jdecode(''),'/149129/137115.html','true',[],''],
		['PAGE','137146',jdecode('......Missouri'),jdecode(''),'/149129/137146.html','true',[],''],
		['PAGE','137177',jdecode('......Kentucky'),jdecode(''),'/149129/137177.html','true',[],''],
		['PAGE','137208',jdecode('......West+Virginia'),jdecode(''),'/149129/137208.html','true',[],''],
		['PAGE','137239',jdecode('......Alabama'),jdecode(''),'/149129/137239.html','true',[],''],
		['PAGE','137270',jdecode('......Arkansas'),jdecode(''),'/149129/137270.html','true',[],''],
		['PAGE','137301',jdecode('......Florida'),jdecode(''),'/149129/137301.html','true',[],''],
		['PAGE','137332',jdecode('......Georgia'),jdecode(''),'/149129/137332.html','true',[],''],
		['PAGE','137363',jdecode('......Lusiana'),jdecode(''),'/149129/137363.html','true',[],''],
		['PAGE','137394',jdecode('......Mississippi'),jdecode(''),'/149129/137394.html','true',[],''],
		['PAGE','137425',jdecode('......North+Carolina'),jdecode(''),'/149129/137425.html','true',[],''],
		['PAGE','137456',jdecode('......South+Carolina'),jdecode(''),'/149129/137456.html','true',[],''],
		['PAGE','137487',jdecode('......Tennessee'),jdecode(''),'/149129/137487.html','true',[],''],
		['PAGE','137518',jdecode('......Texas'),jdecode(''),'/149129/137518.html','true',[],''],
		['PAGE','137549',jdecode('......Virginia'),jdecode(''),'/149129/137549.html','true',[],'']
	],''],
	['PAGE','149160',jdecode('Auf+Wiedersehen'),jdecode(''),'/149160/index.html','true',[ 
		['PAGE','144575',jdecode(''),jdecode(''),'/149160/144575.html','true',[],''],
		['PAGE','124613',jdecode('......Antietam'),jdecode(''),'/149160/124613.html','true',[],''],
		['PAGE','124675',jdecode('......Appomattox'),jdecode(''),'/149160/124675.html','true',[],''],
		['PAGE','124843',jdecode('......Atlanta+Campain'),jdecode(''),'/149160/124843.html','true',[],''],
		['PAGE','125180',jdecode('......Brandy+Station'),jdecode(''),'/149160/125180.html','true',[],''],
		['PAGE','127825',jdecode('......Cedar+Mountain'),jdecode(''),'/149160/127825.html','true',[],''],
		['PAGE','125118',jdecode('......Chancellorsville'),jdecode(''),'/149160/125118.html','true',[],''],
		['PAGE','125087',jdecode('......Chattanooga'),jdecode(''),'/149160/125087.html','true',[],''],
		['PAGE','125056',jdecode('......Chickamauga'),jdecode(''),'/149160/125056.html','true',[],''],
		['PAGE','125149',jdecode('......Cold+Habour'),jdecode(''),'/149160/125149.html','true',[],''],
		['PAGE','124644',jdecode('......Corinth'),jdecode(''),'/149160/124644.html','true',[],''],
		['PAGE','124395',jdecode('......Fort+Sumter'),jdecode(''),'/149160/124395.html','true',[],''],
		['PAGE','124812',jdecode('......Fredericksburg'),jdecode(''),'/149160/124812.html','true',[],''],
		['PAGE','124426',jdecode('......Gettysburg'),jdecode(''),'/149160/124426.html','true',[],''],
		['PAGE','124186',jdecode('......Manassas+1'),jdecode(''),'/149160/124186.html','true',[],''],
		['PAGE','124781',jdecode('......Manassas+2'),jdecode(''),'/149160/124781.html','true',[],''],
		['PAGE','125025',jdecode('......Murfreesboro'),jdecode(''),'/149160/125025.html','true',[],''],
		['PAGE','124364',jdecode('......Shiloh'),jdecode(''),'/149160/124364.html','true',[],''],
		['PAGE','125211',jdecode('......Spotsylvania'),jdecode(''),'/149160/125211.html','true',[],''],
		['PAGE','124994',jdecode('......Vicksburg'),jdecode(''),'/149160/124994.html','true',[],''],
		['PAGE','125497',jdecode('......Wilderness'),jdecode(''),'/149160/125497.html','true',[],''],
		['PAGE','144017',jdecode('......Anderson%2C+Robert'),jdecode(''),'/149160/144017.html','true',[],''],
		['PAGE','144079',jdecode('......Buell%2C+Don+Carlos'),jdecode(''),'/149160/144079.html','true',[],''],
		['PAGE','144172',jdecode('......Buford%2C+John'),jdecode(''),'/149160/144172.html','true',[],''],
		['PAGE','143924',jdecode('......Burnside%2C+Ambrose+E.'),jdecode(''),'/149160/143924.html','true',[],''],
		['PAGE','144296',jdecode('......Chamberlain%2C+Joshua+L.'),jdecode(''),'/149160/144296.html','true',[],''],
		['PAGE','144265',jdecode('......Custer%2C+George+A.'),jdecode(''),'/149160/144265.html','true',[],''],
		['PAGE','143862',jdecode('......Grant%2C+Ulysses+S.'),jdecode(''),'/149160/143862.html','true',[],''],
		['PAGE','143831',jdecode('......Halleck%2C+Henry+W.'),jdecode(''),'/149160/143831.html','true',[],''],
		['PAGE','144358',jdecode('......Hancock%2C+Winfield+S.'),jdecode(''),'/149160/144358.html','true',[],''],
		['PAGE','143955',jdecode('......Hooker%2C+Joseph'),jdecode(''),'/149160/143955.html','true',[],''],
		['PAGE','143800',jdecode('......McCellan%2C+George+B.'),jdecode(''),'/149160/143800.html','true',[],''],
		['PAGE','143893',jdecode('......McDowell%2C+Irvin'),jdecode(''),'/149160/143893.html','true',[],''],
		['PAGE','143986',jdecode('......Meade%2C+George+G.'),jdecode(''),'/149160/143986.html','true',[],''],
		['PAGE','144203',jdecode('......Pleasonton%2C+Alfred'),jdecode(''),'/149160/144203.html','true',[],''],
		['PAGE','144110',jdecode('......Rosecrans%2C+William+S.'),jdecode(''),'/149160/144110.html','true',[],''],
		['PAGE','144327',jdecode('......Reynolds%2C+John+F.'),jdecode(''),'/149160/144327.html','true',[],''],
		['PAGE','143769',jdecode('......Scott%2C+Winfield'),jdecode(''),'/149160/143769.html','true',[],''],
		['PAGE','144234',jdecode('......Sheridan%2C+Philip+H.'),jdecode(''),'/149160/144234.html','true',[],''],
		['PAGE','144048',jdecode('......Sherman%2C+William+T.'),jdecode(''),'/149160/144048.html','true',[],''],
		['PAGE','144141',jdecode('......Thomas%2C+George+H.'),jdecode(''),'/149160/144141.html','true',[],''],
		['PAGE','144420',jdecode('......Beauregard%2C+Pierre+G.+T.'),jdecode(''),'/149160/144420.html','true',[],''],
		['PAGE','146891',jdecode('......Bragg+Braxton+'),jdecode(''),'/149160/146891.html','true',[],''],
		['PAGE','146697',jdecode('......Forrest+Nathan+B.+'),jdecode(''),'/149160/146697.html','true',[],''],
		['PAGE','146922',jdecode('......Hood+John+B.+'),jdecode(''),'/149160/146922.html','true',[],''],
		['PAGE','144451',jdecode('......Jackson%2C+Thomas+J.'),jdecode(''),'/149160/144451.html','true',[],''],
		['PAGE','146953',jdecode('......Johnston+Joseph+E.+'),jdecode(''),'/149160/146953.html','true',[],''],
		['PAGE','144513',jdecode('......Lee%2C+Robert+E.'),jdecode(''),'/149160/144513.html','true',[],''],
		['PAGE','144482',jdecode('......Longstreet%2C+James'),jdecode(''),'/149160/144482.html','true',[],''],
		['PAGE','144544',jdecode('......Pickett%2C+George+E.'),jdecode(''),'/149160/144544.html','true',[],''],
		['PAGE','146829',jdecode('......Smith+E.+Kirby+'),jdecode(''),'/149160/146829.html','true',[],''],
		['PAGE','144389',jdecode('......Stuart%2C+James+E.+B.'),jdecode(''),'/149160/144389.html','true',[],'']
	],'']];
var siteelementCount=146;
theSitetree.topTemplateName='Profile';
					                                                                    
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 */					                                                            
