/* [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','8982',jdecode('Home'),jdecode(''),'/8982.html','true',[],''],
	['PAGE','190190',jdecode('Regalpr%FCfung'),jdecode(''),'/190190.html','true',[],''],
	['PAGE','25843',jdecode('Betriebseinrichtungen'),jdecode(''),'/25843/index.html','true',[ 
		['PAGE','124277',jdecode('Schr%E4nke'),jdecode(''),'/25843/124277.html','true',[],''],
		['PAGE','124339',jdecode('Arbeitsplatzsysteme'),jdecode(''),'/25843/124339.html','true',[],''],
		['PAGE','124308',jdecode('Schubladenschr%E4nke'),jdecode(''),'/25843/124308.html','true',[],''],
		['PAGE','125290',jdecode('Beispiele'),jdecode(''),'/25843/125290.html','true',[],''],
		['PAGE','124370',jdecode('Lochw%E4nde'),jdecode(''),'/25843/124370.html','true',[],''],
		['PAGE','124890',jdecode('Rohrsystem+BITO+ERGO'),jdecode(''),'/25843/124890.html','true',[],''],
		['PAGE','125090',jdecode('Koffer'),jdecode(''),'/25843/125090.html','true',[],'']
	],''],
	['PAGE','14602',jdecode('statisches+Lagern'),jdecode(''),'/14602/index.html','true',[ 
		['PAGE','15025',jdecode('Fachbodenregale'),jdecode(''),'/14602/15025.html','true',[],''],
		['PAGE','15052',jdecode('Gro%DFfachregale'),jdecode(''),'/14602/15052.html','true',[],''],
		['PAGE','15079',jdecode('Weitspannregale'),jdecode(''),'/14602/15079.html','true',[],''],
		['PAGE','15106',jdecode('Palettenregale'),jdecode(''),'/14602/15106.html','true',[],''],
		['PAGE','15133',jdecode('Kragarmregale'),jdecode(''),'/14602/15133.html','true',[],''],
		['PAGE','15160',jdecode('Edestahlregale'),jdecode(''),'/14602/15160.html','true',[],'']
	],''],
	['PAGE','27351',jdecode('Lagerb%FChnen'),jdecode(''),'/27351/index.html','true',[ 
		['PAGE','27382',jdecode('Stahlbau-B%FChnen'),jdecode(''),'/27351/27382.html','true',[],''],
		['PAGE','27413',jdecode('Regale'),jdecode(''),'/27351/27413.html','true',[],'']
	],''],
	['PAGE','15187',jdecode('Dynamisches+Lagern'),jdecode(''),'/15187/index.html','true',[ 
		['PAGE','15214',jdecode('St%FCckgutregale'),jdecode(''),'/15187/15214.html','true',[],''],
		['PAGE','15241',jdecode('Palettenregale'),jdecode(''),'/15187/15241.html','true',[],'']
	],''],
	['PAGE','14629',jdecode('Beh%E4lter+%2B+K%E4sten'),jdecode(''),'/14629/index.html','true',[ 
		['PAGE','24363',jdecode('Kunststoff-Beh%E4lter'),jdecode(''),'/14629/24363.html','true',[],''],
		['PAGE','24394',jdecode('Stahlbeh%E4lter'),jdecode(''),'/14629/24394.html','true',[],'']
	],''],
	['PAGE','14656',jdecode('Umwelttechnik'),jdecode(''),'/14656.html','true',[],''],
	['PAGE','14683',jdecode('W%E4nde+und+R%E4ume'),jdecode(''),'/14683/index.html','true',[ 
		['PAGE','24301',jdecode('Vollwand-Elemente'),jdecode(''),'/14683/24301.html','true',[],''],
		['PAGE','24332',jdecode('Gitter-Trennw%E4nde'),jdecode(''),'/14683/24332.html','true',[],''],
		['PAGE','189690',jdecode('Mobile+Raumsysteme'),jdecode(''),'/14683/189690.html','true',[],'']
	],''],
	['PAGE','14710',jdecode('Transportger%E4te'),jdecode(''),'/14710/index.html','true',[ 
		['PAGE','18202',jdecode('Palettenhandling'),jdecode(''),'/14710/18202.html','true',[],''],
		['PAGE','18229',jdecode('St%FCckgut-Transport'),jdecode(''),'/14710/18229.html','true',[],'']
	],''],
	['PAGE','189990',jdecode('Absperrpfosten'),jdecode(''),'/189990.html','true',[],''],
	['PAGE','24933',jdecode('Sonstiges'),jdecode(''),'/24933.html','true',[],''],
	['PAGE','27599',jdecode('Sonderbau'),jdecode(''),'/27599.html','true',[],''],
	['PAGE','183494',jdecode('Download'),jdecode(''),'/183494.html','true',[],''],
	['PAGE','77990',jdecode('Wir+%FCber+uns'),jdecode(''),'/77990.html','true',[],''],
	['PAGE','13420',jdecode('Kontakt'),jdecode(''),'/13420/index.html','true',[ 
		['PAGE','17292',jdecode('Kontakt+%28Folgeseite%29'),jdecode(''),'/13420/17292.html','false',[],'']
	],''],
	['PAGE','14034',jdecode('Anfahrt'),jdecode(''),'/14034.html','true',[],''],
	['PAGE','24689',jdecode('Ihr+Weg+zu+uns'),jdecode(''),'/24689.html','true',[],''],
	['PAGE','61306',jdecode('Wetter'),jdecode(''),'/61306.html','true',[],''],
	['PAGE','62310',jdecode('Impressum'),jdecode(''),'/62310.html','true',[],'']];
var siteelementCount=45;
theSitetree.topTemplateName='Success';
					                                                                    
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 */					                                                            

