/* [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('Home'),jdecode(''),'/4520.html','true',[],''],
	['PAGE','4604',jdecode('Leistungen'),jdecode(''),'/4604/index.html','true',[ 
		['PAGE','18903',jdecode('Leistungsphase+1'),jdecode(''),'/4604/18903.html','true',[],''],
		['PAGE','18930',jdecode('Leistungsphase+2'),jdecode(''),'/4604/18930.html','true',[],''],
		['PAGE','18957',jdecode('Leistungsphase+3'),jdecode(''),'/4604/18957.html','true',[],''],
		['PAGE','18984',jdecode('Leistungsphase+4'),jdecode(''),'/4604/18984.html','true',[],'']
	],''],
	['PAGE','19616',jdecode('Unsere+Philosophie'),jdecode(''),'/19616.html','true',[],''],
	['PAGE','25987',jdecode('Wohnen+%26+Bauen'),jdecode(''),'/25987.html','true',[],''],
	['PAGE','26023',jdecode('Wissenschaft'),jdecode(''),'/26023.html','true',[],''],
	['PAGE','4631',jdecode('Referenzen'),jdecode(''),'/4631/index.html','true',[ 
		['PAGE','25842',jdecode('Benrather+Carre+D%FCsseldorf+'),jdecode(''),'/4631/25842.html','true',[],''],
		['PAGE','26209',jdecode('AMB+Generali+Essen'),jdecode(''),'/4631/26209.html','true',[],''],
		['PAGE','26393',jdecode('BMG+Sony+Music'),jdecode(''),'/4631/26393.html','true',[],''],
		['PAGE','27003',jdecode('M%FChlbach-Center+Radolfzell'),jdecode(''),'/4631/27003.html','true',[],'']
	],''],
	['PAGE','4793',jdecode('Kontakt'),jdecode(''),'/4793/index.html','true',[ 
		['PAGE','18607',jdecode('Kontakt+%28Folgeseite%29'),jdecode(''),'/4793/18607.html','false',[],'']
	],''],
	['PAGE','4820',jdecode('Wir+%FCber+uns'),jdecode(''),'/4820/index.html','true',[ 
		['PAGE','19643',jdecode('Das+Unternehmen'),jdecode(''),'/4820/19643.html','true',[],'']
	],''],
	['PAGE','21673',jdecode('Anfahrt'),jdecode(''),'/21673.html','true',[],''],
	['PAGE','24542',jdecode('News'),jdecode(''),'/24542/index.html','true',[ 
		['PAGE','27186',jdecode('M%E4rchenstunde'),jdecode(''),'/24542/27186.html','true',[],'']
	],''],
	['PAGE','24569',jdecode('Stellenangebote'),jdecode(''),'/24569.html','true',[],''],
	['PAGE','25186',jdecode('Impressum'),jdecode(''),'/25186.html','true',[],'']];
var siteelementCount=23;
theSitetree.topTemplateName='Collage';
					                                                                    
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 */					                                                            

