/* [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','1152',jdecode('Home'),jdecode(''),'/1152.html','true',[],''],
	['PAGE','1731',jdecode('Wir+%FCber+uns+allgemein'),jdecode(''),'/1731/index.html','true',[ 
		['PAGE','1754',jdecode('So+finden+Sie+uns'),jdecode(''),'/1731/1754.html','true',[],''],
		['PAGE','1777',jdecode('Unser+Team'),jdecode(''),'/1731/1777.html','true',[],''],
		['PAGE','1800',jdecode('Praxisr%E4ume'),jdecode(''),'/1731/1800.html','true',[],''],
		['PAGE','1251',jdecode('Adresse%2C+Telefon'),jdecode(''),'/1731/1251.html','true',[],''],
		['PAGE','1274',jdecode('Rundgang'),jdecode(''),'/1731/1274.html','true',[],''],
		['PAGE','27301',jdecode('Praxisfleyer'),jdecode(''),'/1731/27301.html','true',[],''],
		['PAGE','28406',jdecode('Patienten'),jdecode(''),'/1731/28406.html','true',[],''],
		['PAGE','16214',jdecode('Physiotherapie+'),jdecode(''),'/1731/16214.html','true',[],'']
	],''],
	['PAGE','1846',jdecode('Praxisspektrum'),jdecode(''),'/1846/index.html','true',[ 
		['PAGE','1869',jdecode('Kursangebote'),jdecode(''),'/1846/1869.html','true',[],''],
		['PAGE','1892',jdecode('Osteoporose'),jdecode(''),'/1846/1892.html','true',[],''],
		['PAGE','1915',jdecode('Knochendichtemessung'),jdecode(''),'/1846/1915.html','true',[],'']
	],''],
	['PAGE','39638',jdecode('Das+Schmerzzentrum'),jdecode(''),'/39638/index.html','true',[ 
		['PAGE','21813',jdecode('IV+Vertrag+Kopfschmerz'),jdecode(''),'/39638/21813.html','true',[],''],
		['PAGE','10963',jdecode('Schmerzkonferenzen'),jdecode(''),'/39638/10963.html','true',[],'']
	],''],
	['PAGE','10990',jdecode('Hospiz'),jdecode(''),'/10990.html','true',[],''],
	['PAGE','39816',jdecode('Palliativmedizin'),jdecode(''),'/39816.html','true',[],''],
	['PAGE','1823',jdecode('Glossar'),jdecode(''),'/1823/index.html','true',[ 
		['PAGE','18106',jdecode('A'),jdecode(''),'/1823/18106.html','true',[],''],
		['PAGE','18356',jdecode('R'),jdecode(''),'/1823/18356.html','true',[],'']
	],''],
	['PAGE','1205',jdecode('Schmerzen+%DCbersicht'),jdecode(''),'/1205/index.html','true',[ 
		['PAGE','19619',jdecode('Arthroseschmerzen'),jdecode(''),'/1205/19619.html','true',[],''],
		['PAGE','1228',jdecode('Gesichtsschmerzen'),jdecode(''),'/1205/1228.html','true',[],''],
		['PAGE','19646',jdecode('Kopfschmerzen'),jdecode(''),'/1205/19646.html','true',[],''],
		['PAGE','19673',jdecode('Migr%E4ne'),jdecode(''),'/1205/19673.html','true',[],''],
		['PAGE','19700',jdecode('R%FCckenschmerzen'),jdecode(''),'/1205/19700.html','true',[],''],
		['PAGE','19727',jdecode('Tumorschmerzen'),jdecode(''),'/1205/19727.html','true',[],''],
		['PAGE','19754',jdecode('Zahnschmerzen'),jdecode(''),'/1205/19754.html','true',[],''],
		['PAGE','19781',jdecode('Zosterschmerzen'),jdecode(''),'/1205/19781.html','true',[],'']
	],''],
	['PAGE','1297',jdecode('Therapie+-+%DCbersicht'),jdecode(''),'/1297/index.html','true',[ 
		['PAGE','1320',jdecode('Medikamente'),jdecode(''),'/1297/1320.html','true',[],''],
		['PAGE','1343',jdecode('TENS'),jdecode(''),'/1297/1343.html','true',[],''],
		['PAGE','1366',jdecode('Physikalische+Therapie'),jdecode(''),'/1297/1366.html','true',[],''],
		['PAGE','20254',jdecode('Krankengymnastik'),jdecode(''),'/1297/20254.html','true',[],'']
	],''],
	['PAGE','1938',jdecode('Firmen'),jdecode(''),'/1938.html','true',[],''],
	['PAGE','2502',jdecode('Neues+-+Webloger+ansehen'),jdecode(''),'/2502.html','true',[],''],
	['PAGE','20281',jdecode('Analgetika'),jdecode(''),'/20281/index.html','true',[ 
		['PAGE','19808',jdecode('Opioide'),jdecode(''),'/20281/19808.html','true',[],''],
		['PAGE','20957',jdecode('Analgetika%2F+Myotonolytika'),jdecode(''),'/20281/20957.html','true',[],'']
	],''],
	['PAGE','1389',jdecode('Interessante+Links'),jdecode(''),'/1389/index.html','true',[ 
		['PAGE','2525',jdecode('Weiterf%FChrende+Literatur'),jdecode(''),'/1389/2525.html','true',[],''],
		['PAGE','2548',jdecode('Veranstaltungskalender'),jdecode(''),'/1389/2548.html','true',[],'']
	],''],
	['PAGE','39389',jdecode('Gesundheit+allgemein'),jdecode(''),'/39389.html','true',[],''],
	['PAGE','39669',jdecode('Impressum'),jdecode(''),'/39669/index.html','true',[ 
		['PAGE','39601',jdecode('Datenschutzerkl%E4rung'),jdecode(''),'/39669/39601.html','true',[],'']
	],''],
	['PAGE','17702',jdecode('G%E4stebuch'),jdecode(''),'/17702/index.html','true',[ 
		['PAGE','17703',jdecode('Eintr%E4ge'),jdecode(''),'/17702/17703.html','true',[],'']
	],''],
	['PAGE','40802',jdecode('Veranstaltungstermine'),jdecode(''),'/40802.html','true',[],'']];
var siteelementCount=50;
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 */					                                                            
