/* [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','4520',jdecode('Startseite'),jdecode(''),'/4520.html','true',[],''],
	['PAGE','9556',jdecode('Unsere+Philosophie'),jdecode(''),'/9556.html','true',[],''],
	['PAGE','5495',jdecode('Wie+Sie+uns+erreichen'),jdecode(''),'/5495/index.html','true',[ 
		['PAGE','17708',jdecode('Unsere+R%E4ume'),jdecode(''),'/5495/17708.html','true',[],''],
		['PAGE','38455',jdecode('Ihr+Weg+zu+uns'),jdecode(''),'/5495/38455.html','true',[],'']
	],''],
	['PAGE','7053',jdecode('Was+wir+machen'),jdecode(''),'/7053/index.html','true',[ 
		['PAGE','40354',jdecode('Vollkeramik+'),jdecode(''),'/7053/40354.html','true',[],''],
		['PAGE','22754',jdecode('Bleichen'),jdecode(''),'/7053/22754.html','true',[],''],
		['PAGE','7080',jdecode('Goldrestauration'),jdecode(''),'/7053/7080.html','true',[],''],
		['PAGE','8402',jdecode('Sanierung'),jdecode(''),'/7053/8402.html','true',[],''],
		['PAGE','26254',jdecode('Frontzahntrauma'),jdecode(''),'/7053/26254.html','true',[],''],
		['PAGE','14054',jdecode('Veneers'),jdecode(''),'/7053/14054.html','true',[],''],
		['PAGE','15671',jdecode('Kronen+'),jdecode(''),'/7053/15671.html','true',[],''],
		['PAGE','24054',jdecode('+Frontzahnkrone'),jdecode(''),'/7053/24054.html','true',[],''],
		['PAGE','28155',jdecode('Implantate+'),jdecode(''),'/7053/28155.html','true',[],''],
		['PAGE','45215',jdecode('Vollkeramikkronen'),jdecode(''),'/7053/45215.html','true',[],''],
		['PAGE','45277',jdecode('Kunststofff%FCllungen'),jdecode(''),'/7053/45277.html','true',[],''],
		['PAGE','45246',jdecode('Keramikf%FCllungen'),jdecode(''),'/7053/45246.html','true',[],'']
	],''],
	['PAGE','17681',jdecode('Wer+wir+sind'),jdecode(''),'/17681.html','true',[],''],
	['PAGE','11040',jdecode('Was+wir+bieten'),jdecode(''),'/11040/index.html','true',[ 
		['PAGE','17735',jdecode('Qualit%E4t'),jdecode(''),'/11040/17735.html','true',[],''],
		['PAGE','17762',jdecode('Service'),jdecode(''),'/11040/17762.html','true',[],''],
		['PAGE','17789',jdecode('Zahntechnik'),jdecode(''),'/11040/17789.html','true',[],''],
		['PAGE','17843',jdecode('Prophylaxe'),jdecode(''),'/11040/17843.html','true',[],'']
	],''],
	['PAGE','9529',jdecode('Sprechzeiten'),jdecode(''),'/9529.html','true',[],''],
	['PAGE','39154',jdecode('*+Aktuelles+*'),jdecode(''),'/39154/index.html','true',[ 
		['PAGE','9156',jdecode('Umfrage'),jdecode(''),'/39154/9156.html','true',[],''],
		['PAGE','9929',jdecode('Stellenangebote'),jdecode(''),'/39154/9929.html','true',[],''],
		['PAGE','38766',jdecode('Zahnersatz+in+der+EU'),jdecode(''),'/39154/38766.html','true',[],'']
	],''],
	['PAGE','11067',jdecode('Zahn%E4rztliche++Links'),jdecode(''),'/11067.html','true',[],''],
	['PAGE','12854',jdecode('F%FCr+Kollegen'),jdecode(''),'/12854/index.html','true',[ 
		['PAGE','13359',jdecode('Rechtliches'),jdecode(''),'/12854/13359.html','true',[],''],
		['PAGE','13386',jdecode('Fortbildung'),jdecode(''),'/12854/13386.html','true',[],'']
	],''],
	['PAGE','6791',jdecode('Impressum+%2F+Kontakt'),jdecode(''),'/6791.html','true',[],''],
	['PAGE','40055',jdecode('Gesundheit'),jdecode(''),'/40055.html','true',[],''],
	['PAGE','43658',jdecode('Verwaltung'),jdecode(''),'/43658.html','true',[],'']];
var siteelementCount=36;
theSitetree.topTemplateName='Shadows';
					                                                                    
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 */					                                                            
