/* [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','1153',jdecode('HOME'),jdecode(''),'/1153.html','true',[],''],
	['PAGE','3999',jdecode('PROFIL'),jdecode(''),'/3999/index.html','true',[ 
		['PAGE','142939',jdecode('Arabisches+Recht'),jdecode(''),'/3999/142939.html','true',[],''],
		['PAGE','142970',jdecode('Gesch%E4ftskultur'),jdecode(''),'/3999/142970.html','true',[],'']
	],''],
	['PAGE','82406',jdecode('ANSPRECHPARTNER'),jdecode(''),'/82406/index.html','true',[ 
		['PAGE','15084',jdecode('Dr.+Christian+Ule'),jdecode(''),'/82406/15084.html','true',[],''],
		['PAGE','94112',jdecode('Prof.+Dr.+H.-C.+Salger'),jdecode(''),'/82406/94112.html','true',[],''],
		['PAGE','40249',jdecode('Dr.+Alexander+Brexendorff'),jdecode(''),'/82406/40249.html','true',[],''],
		['PAGE','122791',jdecode('Alexander+Eiben'),jdecode(''),'/82406/122791.html','true',[],''],
		['PAGE','142389',jdecode('Omar+Elgeddawy'),jdecode(''),'/82406/142389.html','true',[],''],
		['PAGE','66309',jdecode('Florian+Buchler%2C+LL.M'),jdecode(''),'/82406/66309.html','true',[],''],
		['PAGE','92722',jdecode('Alexander+von+Bila'),jdecode(''),'/82406/92722.html','true',[],'']
	],''],
	['PAGE','1206',jdecode('T%C4TIGKEITSBEREICHE'),jdecode(''),'/1206/index.html','true',[ 
		['PAGE','20807',jdecode('Mandate+und+Projekte'),jdecode(''),'/1206/20807.html','true',[],'']
	],''],
	['PAGE','82291',jdecode('RECHT+AKTUELL'),jdecode(''),'/82291/index.html','true',[ 
		['PAGE','82608',jdecode('%C4gypten'),jdecode(''),'/82291/82608.html','true',[],''],
		['PAGE','85491',jdecode('Algerien'),jdecode(''),'/82291/85491.html','true',[],''],
		['PAGE','84491',jdecode('Bahrain'),jdecode(''),'/82291/84491.html','true',[],''],
		['PAGE','142697',jdecode('Iraq'),jdecode(''),'/82291/142697.html','true',[],''],
		['PAGE','68509',jdecode('Iran'),jdecode(''),'/82291/68509.html','true',[],''],
		['PAGE','83091',jdecode('Jordanien'),jdecode(''),'/82291/83091.html','true',[],''],
		['PAGE','82991',jdecode('Kuwait'),jdecode(''),'/82291/82991.html','true',[],''],
		['PAGE','121891',jdecode('Libyen'),jdecode(''),'/82291/121891.html','true',[],''],
		['PAGE','93291',jdecode('Qatar'),jdecode(''),'/82291/93291.html','true',[],''],
		['PAGE','82891',jdecode('Saudi-Arabien'),jdecode(''),'/82291/82891.html','true',[],''],
		['PAGE','95194',jdecode('V.A.E.'),jdecode(''),'/82291/95194.html','true',[],'']
	],''],
	['PAGE','119394',jdecode('INVESTITIONSRECHT'),jdecode(''),'/119394/index.html','true',[ 
		['PAGE','142486',jdecode('Iraq'),jdecode(''),'/119394/142486.html','true',[],''],
		['PAGE','143898',jdecode('Kuwait'),jdecode(''),'/119394/143898.html','true',[],''],
		['PAGE','119991',jdecode('Libyen'),jdecode(''),'/119394/119991.html','true',[],'']
	],''],
	['PAGE','77756',jdecode('ARTIKEL'),jdecode(''),'/77756/index.html','true',[ 
		['PAGE','119807',jdecode('KSA%3A+Foreign+Investment'),jdecode(''),'/77756/119807.html','true',[],''],
		['PAGE','71655',jdecode('Iran%3A+US-Sanktionen'),jdecode(''),'/77756/71655.html','true',[],''],
		['PAGE','72655',jdecode('Iran%3A+Investitionsgesetz'),jdecode(''),'/77756/72655.html','true',[],''],
		['PAGE','84791',jdecode('Schiedsgerichtsbarkeit'),jdecode(''),'/77756/84791.html','true',[],''],
		['PAGE','93543',jdecode('Iran%3A+Eigentumvorbehalt'),jdecode(''),'/77756/93543.html','true',[],'']
	],''],
	['PAGE','36707',jdecode('PUBLIKATIONEN'),jdecode(''),'/36707/index.html','true',[ 
		['PAGE','1229',jdecode('Investitionsf%FChrer'),jdecode(''),'/36707/1229.html','true',[],''],
		['PAGE','76055',jdecode('Pressespiegel'),jdecode(''),'/36707/76055.html','true',[],'']
	],''],
	['PAGE','40222',jdecode('KONTAKT'),jdecode(''),'/40222/index.html','true',[ 
		['PAGE','49210',jdecode('KONTAKT+%28Folgeseite%29'),jdecode(''),'/40222/49210.html','false',[],''],
		['PAGE','72186',jdecode('Ihr+Weg+zu+uns'),jdecode(''),'/40222/72186.html','true',[],''],
		['PAGE','77877',jdecode('Netzwerk'),jdecode(''),'/40222/77877.html','true',[],''],
		['PAGE','94891',jdecode('Mitgliedschaften'),jdecode(''),'/40222/94891.html','true',[],''],
		['PAGE','123491',jdecode('Referendariat'),jdecode(''),'/40222/123491.html','true',[],'']
	],'']];
var siteelementCount=45;
theSitetree.topTemplateName='Medium';
					                                                                    
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 */					                                                            
