/* [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','4476',jdecode('Wir+%FCber+uns'),jdecode(''),'/4476.html','true',[],''],
	['PAGE','4533',jdecode('About+us'),jdecode(''),'/4533.html','true',[],''],
	['PAGE','4560',jdecode('Stellen-Angebote'),jdecode(''),'/4560/index.html','true',[ 
		['PAGE','4641',jdecode('Marketing'),jdecode(''),'/4560/4641.html','true',[],''],
		['PAGE','31769',jdecode('Beratung+'),jdecode(''),'/4560/31769.html','true',[],''],
		['PAGE','4614',jdecode('Vertrieb'),jdecode(''),'/4560/4614.html','true',[],''],
		['PAGE','55354',jdecode('VK+Innendienst'),jdecode(''),'/4560/55354.html','true',[],''],
		['PAGE','20969',jdecode('Einkauf+und+Logistik'),jdecode(''),'/4560/20969.html','true',[],''],
		['PAGE','4668',jdecode('Personal'),jdecode(''),'/4560/4668.html','true',[],''],
		['PAGE','4695',jdecode('Finanz+-+und+Rewe'),jdecode(''),'/4560/4695.html','true',[],''],
		['PAGE','5723',jdecode('Assistenz+%26+Sekretariat'),jdecode(''),'/4560/5723.html','true',[],''],
		['PAGE','43877',jdecode('Ingenieure+'),jdecode(''),'/4560/43877.html','true',[],''],
		['PAGE','5777',jdecode('Technische+Berufe'),jdecode(''),'/4560/5777.html','true',[],''],
		['PAGE','62754',jdecode('Personaldienstleistung'),jdecode(''),'/4560/62754.html','true',[],'']
	],''],
	['PAGE','5966',jdecode('Stellenanzeigen'),jdecode(''),'/5966.html','true',[],''],
	['PAGE','64354',jdecode('Coaching'),jdecode(''),'/64354.html','true',[],''],
	['PAGE','19216',jdecode('Ihre+Ansprechpartner'),jdecode(''),'/19216.html','true',[],''],
	['PAGE','4803',jdecode('Kontakt'),jdecode(''),'/4803.html','true',[],''],
	['PAGE','67987',jdecode('Aktuelle+Presse'),jdecode(''),'/67987.html','true',[],''],
	['PAGE','4749',jdecode('AGB%B4s'),jdecode(''),'/4749.html','true',[],''],
	['PAGE','8623',jdecode('Impressum'),jdecode(''),'/8623.html','true',[],''],
	['PAGE','48470',jdecode('Das+Wetter+in+Hamburg'),jdecode(''),'/48470/index.html','true',[ 
		['PAGE','16314',jdecode('Expos%E9+anfordern+%28Folgeseite%29'),jdecode(''),'/48470/16314.html','false',[],'']
	],'']];
var siteelementCount=23;
theSitetree.topTemplateName='Aeskulap';
					                                                                    
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 */					                                                            

