/* [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','4598',jdecode('Home'),jdecode(''),'/4598.html','true',[],''],
	['PAGE','4655',jdecode('%DCber+uns'),jdecode(''),'/4655/index.html','true',[ 
		['PAGE','5630',jdecode('Unser+Anspruch'),jdecode(''),'/4655/5630.html','true',[],''],
		['PAGE','5330',jdecode('Unsere+Erfolgsfaktoren'),jdecode(''),'/4655/5330.html','true',[],''],
		['PAGE','5603',jdecode('Unsere+Basis'),jdecode(''),'/4655/5603.html','true',[],'']
	],''],
	['PAGE','69706',jdecode('Leistungsprofil'),jdecode(''),'/69706/index.html','true',[ 
		['PAGE','30220',jdecode('Unternehmensentwicklung'),jdecode(''),'/69706/30220.html','true',[],''],
		['PAGE','30282',jdecode('Vertriebsmanagement'),jdecode(''),'/69706/30282.html','true',[],''],
		['PAGE','30313',jdecode('CRM%2FKundenmanagement'),jdecode(''),'/69706/30313.html','true',[],''],
		['PAGE','30251',jdecode('Marktkommunikation'),jdecode(''),'/69706/30251.html','true',[],''],
		['PAGE','30344',jdecode('Prozessmanagement'),jdecode(''),'/69706/30344.html','true',[],'']
	],''],
	['PAGE','70006',jdecode('Unsere+Methodik'),jdecode(''),'/70006.html','true',[],''],
	['PAGE','4736',jdecode('Specials'),jdecode(''),'/4736/index.html','true',[ 
		['PAGE','16845',jdecode('CRM-Qualit%E4tscheck'),jdecode(''),'/4736/16845.html','true',[],''],
		['PAGE','29315',jdecode('Management+auf+Zeit'),jdecode(''),'/4736/29315.html','true',[],''],
		['PAGE','5873',jdecode('Kundenbefragung'),jdecode(''),'/4736/5873.html','true',[],'']
	],''],
	['PAGE','4763',jdecode('Referenzen+%26+Netzwerke'),jdecode(''),'/4763/index.html','true',[ 
		['PAGE','5927',jdecode('KMU'),jdecode(''),'/4763/5927.html','true',[],''],
		['PAGE','5954',jdecode('Dienstleister%2FHandel'),jdecode(''),'/4763/5954.html','true',[],''],
		['PAGE','5981',jdecode('Gro%DFunternehmen'),jdecode(''),'/4763/5981.html','true',[],''],
		['PAGE','6035',jdecode('Hochschulen'),jdecode(''),'/4763/6035.html','true',[],''],
		['PAGE','27453',jdecode('Forschungsprojekte'),jdecode(''),'/4763/27453.html','true',[],'']
	],''],
	['PAGE','27416',jdecode('News+%26+Services'),jdecode(''),'/27416/index.html','true',[ 
		['PAGE','6062',jdecode('Veranstaltungen'),jdecode(''),'/27416/6062.html','true',[],''],
		['PAGE','6089',jdecode('Publikationen'),jdecode(''),'/27416/6089.html','true',[],''],
		['PAGE','67406',jdecode('Checklisten'),jdecode(''),'/27416/67406.html','true',[],''],
		['PAGE','6170',jdecode('Interessante+Links'),jdecode(''),'/27416/6170.html','true',[],''],
		['PAGE','16002',jdecode('Kunden-Login'),jdecode(''),'/27416/16002.html','true',[],'']
	],''],
	['PAGE','4817',jdecode('Jobs+%26+Karriere'),jdecode(''),'/4817/index.html','true',[ 
		['PAGE','6197',jdecode('Was+wir+bieten'),jdecode(''),'/4817/6197.html','true',[],''],
		['PAGE','6224',jdecode('Wen+wir+suchen'),jdecode(''),'/4817/6224.html','true',[],'']
	],''],
	['PAGE','6251',jdecode('Ihre+R%FCckmeldung'),jdecode(''),'/6251/index.html','true',[ 
		['PAGE','8581',jdecode('Online-Formular+%28Folgeseite%29'),jdecode(''),'/6251/8581.html','false',[],''],
		['PAGE','6278',jdecode('Unsere+Anschrift'),jdecode(''),'/6251/6278.html','true',[],''],
		['PAGE','19916',jdecode('Lageplan'),jdecode(''),'/6251/19916.html','true',[],''],
		['PAGE','19716',jdecode('Routenplaner'),jdecode(''),'/6251/19716.html','true',[],''],
		['PAGE','6305',jdecode('Impressum'),jdecode(''),'/6251/6305.html','true',[],'']
	],'']];
var siteelementCount=37;
theSitetree.topTemplateName='Movement';
					                                                                    
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 */					                                                            

