/* [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','138401',jdecode('Aktuelles'),jdecode(''),'/138401.html','true',[],''],
	['PAGE','4559',jdecode('Legasthenie%2C+ADS...'),jdecode(''),'/4559/index.html','true',[ 
		['PAGE','7103',jdecode('Die+B%FCcher'),jdecode(''),'/4559/7103.html','true',[],''],
		['PAGE','7130',jdecode('Die+DVD'),jdecode(''),'/4559/7130.html','true',[],''],
		['PAGE','7157',jdecode('Der+Workshop'),jdecode(''),'/4559/7157.html','true',[],''],
		['PAGE','97501',jdecode('Die+Werkzeuge'),jdecode(''),'/4559/97501.html','true',[],''],
		['PAGE','137301',jdecode('%DCbersicht'),jdecode(''),'/4559/137301.html','true',[],'']
	],''],
	['PAGE','4805',jdecode('Ursache+%26+L%F6sung'),jdecode(''),'/4805.html','true',[],''],
	['PAGE','4859',jdecode('Die+Korrektur'),jdecode(''),'/4859/index.html','true',[ 
		['PAGE','4616',jdecode('LRS-ADS-Dyskalkulie'),jdecode(''),'/4859/4616.html','true',[],''],
		['PAGE','4886',jdecode('Das+Programm'),jdecode(''),'/4859/4886.html','true',[],''],
		['PAGE','9318',jdecode('Ergebnisse'),jdecode(''),'/4859/9318.html','true',[],'']
	],''],
	['PAGE','8503',jdecode('Davis%AE-Berater+D%2FA'),jdecode(''),'/8503/index.html','true',[ 
		['PAGE','126001',jdecode('PLZ+-+0%2F1'),jdecode(''),'/8503/126001.html','true',[],''],
		['PAGE','126101',jdecode('PLZ+-+2%2F3'),jdecode(''),'/8503/126101.html','true',[],''],
		['PAGE','126201',jdecode('PLZ+-+4%2F5'),jdecode(''),'/8503/126201.html','true',[],''],
		['PAGE','126232',jdecode('PLZ+-+6%2F7'),jdecode(''),'/8503/126232.html','true',[],''],
		['PAGE','126263',jdecode('PLZ+-+8%2F9'),jdecode(''),'/8503/126263.html','true',[],''],
		['PAGE','126294',jdecode('%D6sterreich%2FItalien'),jdecode(''),'/8503/126294.html','true',[],'']
	],''],
	['PAGE','144723',jdecode('Davis%AE-Berater+CH'),jdecode(''),'/144723/index.html','true',[ 
		['PAGE','144762',jdecode('PLZ+-+1%2F2'),jdecode(''),'/144723/144762.html','true',[],''],
		['PAGE','144793',jdecode('PLZ+-+3%2F4'),jdecode(''),'/144723/144793.html','true',[],''],
		['PAGE','144824',jdecode('PLZ++-+5%2F6'),jdecode(''),'/144723/144824.html','true',[],''],
		['PAGE','144855',jdecode('PLZ++-+7%2F8'),jdecode(''),'/144723/144855.html','true',[],''],
		['PAGE','144886',jdecode('PLZ++9'),jdecode(''),'/144723/144886.html','true',[],'']
	],''],
	['PAGE','154532',jdecode('Davis%AE-Berater+I%2FL%2FB'),jdecode(''),'/154532/index.html','true',[ 
		['PAGE','154563',jdecode('Italien%2FLuxemburg'),jdecode(''),'/154532/154563.html','true',[],'']
	],''],
	['PAGE','4940',jdecode('Ausbildung%2FTraining'),jdecode(''),'/4940/index.html','true',[ 
		['PAGE','4994',jdecode('%DCbersicht'),jdecode(''),'/4940/4994.html','true',[],''],
		['PAGE','121601',jdecode('Phase+1'),jdecode(''),'/4940/121601.html','true',[],''],
		['PAGE','121632',jdecode('Phase+2'),jdecode(''),'/4940/121632.html','true',[],''],
		['PAGE','121663',jdecode('Phase+3'),jdecode(''),'/4940/121663.html','true',[],''],
		['PAGE','121694',jdecode('Phase+4'),jdecode(''),'/4940/121694.html','true',[],''],
		['PAGE','5021',jdecode('Termine'),jdecode(''),'/4940/5021.html','true',[],''],
		['PAGE','138432',jdecode('International+Training'),jdecode(''),'/4940/138432.html','true',[],'']
	],''],
	['PAGE','4778',jdecode('Bibliothek'),jdecode(''),'/4778/index.html','true',[ 
		['PAGE','141590',jdecode('Wie+ist+Legasthenie+korrigierbar%3F'),jdecode(''),'/4778/141590.html','true',[],''],
		['PAGE','4832',jdecode('Kennen+Sie++einen...'),jdecode(''),'/4778/4832.html','true',[],''],
		['PAGE','133332',jdecode('Eine+andere+Perspektive'),jdecode(''),'/4778/133332.html','true',[],''],
		['PAGE','133301',jdecode('Bildhaftes+Denken'),jdecode(''),'/4778/133301.html','true',[],''],
		['PAGE','133363',jdecode('Rote+Erde+und+Wasser'),jdecode(''),'/4778/133363.html','true',[],''],
		['PAGE','133394',jdecode('Der+Energieknopf'),jdecode(''),'/4778/133394.html','true',[],''],
		['PAGE','134101',jdecode('Lernen+%26+Motivation'),jdecode(''),'/4778/134101.html','true',[],''],
		['PAGE','158405',jdecode('DYSLEXIC+TALENT'),jdecode(''),'/4778/158405.html','true',[],'']
	],''],
	['PAGE','148412',jdecode('Shop'),jdecode(''),'/148412.html','true',[],''],
	['PAGE','5156',jdecode('Kontakt'),jdecode(''),'/5156/index.html','true',[ 
		['PAGE','119514',jdecode('Kontakt+%28Folgeseite%29'),jdecode(''),'/5156/119514.html','false',[],'']
	],''],
	['PAGE','26301',jdecode('Impressum'),jdecode(''),'/26301.html','true',[],'']];
var siteelementCount=48;
theSitetree.topTemplateName='Time';
					                                                                    
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 */					                                                            
