/* [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','1111',jdecode('Urlaubspage+ab+2007'),jdecode(''),'/index2.html','false',[],''],
	['PAGE','1164',jdecode('1.+Kochen'),jdecode(''),'/1164.html','false',[],''],
	['PAGE','1187',jdecode('5.+Politik+%28aktiv%2Fpassiv%29'),jdecode(''),'/1187.html','false',[],''],
	['PAGE','1210',jdecode('6.+Feuerwehr+%28mit+wehmut...%29'),jdecode(''),'/1210.html','false',[],''],
	['PAGE','1233',jdecode('2.+Fremde+Kulturen%2C+Expo2000'),jdecode(''),'/1233.html','false',[],''],
	['PAGE','1256',jdecode('3.+Medien+%28Musik%2C+TV%2C+PC%2C+..%29'),jdecode(''),'/1256.html','false',[],''],
	['PAGE','1407',jdecode('G%E4stebuch'),jdecode(''),'/1407.html','false',[],''],
	['PAGE','1408',jdecode('Eintr%E4ge'),jdecode(''),'/1408.html','false',[],''],
	['PAGE','1794',jdecode('4.+Sport+%28ist+Mord%3F%29'),jdecode(''),'/1794.html','false',[],''],
	['PAGE','1817',jdecode('7.+Meine+dunkle+Seite...'),jdecode(''),'/1817.html','false',[],''],
	['PAGE','1840',jdecode('Kontakt+'),jdecode(''),'/1840.html','false',[],''],
	['PAGE','2205',jdecode('Rezepte'),jdecode(''),'/2205.html','false',[],''],
	['PAGE','2228',jdecode('Di%E4t'),jdecode(''),'/2228.html','false',[],''],
	['PAGE','38155',jdecode('Kenia+2007'),jdecode(''),'/38155/index.html','true',[ 
		['PAGE','22514',jdecode('Die+sch%F6nsten+Fotos'),jdecode(''),'/38155/22514.html','true',[],''],
		['PAGE','33006',jdecode('Fotos+chronologisch'),jdecode(''),'/38155/33006.html','true',[],''],
		['PAGE','34472',jdecode('Teil+2'),jdecode(''),'/38155/34472.html','true',[],''],
		['PAGE','35551',jdecode('Teil+3'),jdecode(''),'/38155/35551.html','true',[],''],
		['PAGE','36818',jdecode('Teil+4'),jdecode(''),'/38155/36818.html','true',[],''],
		['PAGE','37387',jdecode('Bericht'),jdecode(''),'/38155/37387.html','true',[],'']
	],''],
	['PAGE','37855',jdecode('%C4gypten+2008'),jdecode(''),'/37855/index.html','true',[ 
		['PAGE','37886',jdecode('50+Sch%F6nste+Fotos'),jdecode(''),'/37855/37886.html','true',[],''],
		['PAGE','37917',jdecode('Nil-Impressionen'),jdecode(''),'/37855/37917.html','true',[],''],
		['PAGE','40461',jdecode('Kamel-Ritt'),jdecode(''),'/37855/40461.html','true',[],''],
		['PAGE','38655',jdecode('Das+Schiff'),jdecode(''),'/37855/38655.html','true',[],''],
		['PAGE','38686',jdecode('Luxor+und+Karnak'),jdecode(''),'/37855/38686.html','true',[],''],
		['PAGE','38717',jdecode('Tal+der+K%F6nige'),jdecode(''),'/37855/38717.html','true',[],''],
		['PAGE','38748',jdecode('Horus+Tempel+'),jdecode(''),'/37855/38748.html','true',[],''],
		['PAGE','38779',jdecode('Kom+Ombo'),jdecode(''),'/37855/38779.html','true',[],''],
		['PAGE','38810',jdecode('Assuan+u.+Staudamm'),jdecode(''),'/37855/38810.html','true',[],''],
		['PAGE','38841',jdecode('Philae+Tempel'),jdecode(''),'/37855/38841.html','true',[],''],
		['PAGE','38872',jdecode('unvoll.+Obelisk'),jdecode(''),'/37855/38872.html','true',[],''],
		['PAGE','38903',jdecode('Kalabscha+Tempel'),jdecode(''),'/37855/38903.html','true',[],''],
		['PAGE','38934',jdecode('Abu+Simbel'),jdecode(''),'/37855/38934.html','true',[],''],
		['PAGE','38965',jdecode('St.+Simeonskloster'),jdecode(''),'/37855/38965.html','true',[],''],
		['PAGE','38996',jdecode('Chnum+Tempel'),jdecode(''),'/37855/38996.html','true',[],''],
		['PAGE','39027',jdecode('Tempel+der+Hathor'),jdecode(''),'/37855/39027.html','true',[],''],
		['PAGE','39058',jdecode('Abydos'),jdecode(''),'/37855/39058.html','true',[],''],
		['PAGE','39089',jdecode('Kairo+und+Gizeh'),jdecode(''),'/37855/39089.html','true',[],''],
		['PAGE','39120',jdecode('Sakkara+u.+Memphis'),jdecode(''),'/37855/39120.html','true',[],''],
		['PAGE','39151',jdecode('Hurghada'),jdecode(''),'/37855/39151.html','true',[],'']
	],''],
	['PAGE','57855',jdecode('Italien+2009'),jdecode(''),'/57855/index.html','true',[ 
		['PAGE','57895',jdecode('Calcata'),jdecode(''),'/57855/57895.html','true',[],''],
		['PAGE','57926',jdecode('See'),jdecode(''),'/57855/57926.html','true',[],''],
		['PAGE','57957',jdecode('Einladungen'),jdecode(''),'/57855/57957.html','true',[],'']
	],''],
	['PAGE','34586',jdecode('Feedback'),jdecode(''),'/34586/index.html','true',[ 
		['PAGE','44259',jdecode('Feedback+%28Folgeseite%29'),jdecode(''),'/34586/44259.html','false',[],'']
	],''],
	['PAGE','57158',jdecode('Link-Liste'),jdecode(''),'/57158.html','true',[],'']];
var siteelementCount=48;
theSitetree.topTemplateName='Enjoy';
					                                                                    
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 */					                                                            

