/* [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','4554',jdecode('Startseite'),jdecode(''),'/4554/index.html','true',[ 
		['PAGE','70463',jdecode('Wir+%FCber+uns'),jdecode(''),'/4554/70463.html','true',[],''],
		['PAGE','4773',jdecode('Kontakt%2FAnfrage'),jdecode(''),'/4554/4773/index.html','true',[ 
			['PAGE','89116',jdecode('Kontakt%2FAnfrage+%28Folgeseite%29'),jdecode(''),'/4554/4773/89116.html','false',[],'']
		],''],
		['PAGE','16503',jdecode('L%E4nderinfo%2FPartnerlinks'),jdecode(''),'/4554/16503.html','true',[],''],
		['PAGE','70649',jdecode('News+%26+Specials'),jdecode(''),'/4554/70649.html','true',[],''],
		['PAGE','4800',jdecode('AGB%B4s'),jdecode(''),'/4554/4800.html','true',[],'']
	],''],
	['PAGE','4692',jdecode('Reiseideen'),jdecode(''),'/4692/index.html','true',[ 
		['PAGE','70556',jdecode('A+Kapstadt+-+Kr%FCger+Park'),jdecode(''),'/4692/70556.html','true',[],''],
		['PAGE','70587',jdecode('B+Garden+Route%2FWestcoast'),jdecode(''),'/4692/70587.html','true',[],''],
		['PAGE','81392',jdecode('C+Honeymoon'),jdecode(''),'/4692/81392.html','true',[],''],
		['PAGE','81423',jdecode('D+Joburg-Kapstadt+%26+Rovos'),jdecode(''),'/4692/81423.html','true',[],''],
		['PAGE','81454',jdecode('E+Safaris+in+S%FCdafrika'),jdecode(''),'/4692/81454.html','true',[],''],
		['PAGE','90700',jdecode('F+Kwazulu+Natal'),jdecode(''),'/4692/90700.html','true',[],''],
		['PAGE','90731',jdecode('G+Limpopo+Safari'),jdecode(''),'/4692/90731.html','true',[],''],
		['PAGE','90762',jdecode('H+Durban-Kapstadt'),jdecode(''),'/4692/90762.html','true',[],'']
	],''],
	['PAGE','70618',jdecode('Reisebausteine'),jdecode(''),'/70618/index.html','true',[ 
		['PAGE','50836',jdecode('Garden+Route+Explorer'),jdecode(''),'/70618/50836.html','true',[],''],
		['PAGE','50867',jdecode('Whale+and+Wine'),jdecode(''),'/70618/50867.html','true',[],''],
		['PAGE','76004',jdecode('Trans+Karoo+Safari'),jdecode(''),'/70618/76004.html','true',[],''],
		['PAGE','76279',jdecode('Cape+Town+Explorer'),jdecode(''),'/70618/76279.html','true',[],''],
		['PAGE','78493',jdecode('Wild+Flower+Explorer'),jdecode(''),'/70618/78493.html','true',[],''],
		['PAGE','78432',jdecode('West+Coast+Wild+Flower'),jdecode(''),'/70618/78432.html','true',[],'']
	],''],
	['PAGE','91900',jdecode('S%FCdafrika+exklusiv'),jdecode(''),'/91900.html','true',[],''],
	['PAGE','49889',jdecode('Gruppenreisen'),jdecode(''),'/49889/index.html','true',[ 
		['PAGE','41601',jdecode('H%F6hepunkte+des+S%FCdens'),jdecode(''),'/49889/41601.html','true',[],''],
		['PAGE','95653',jdecode('Kapstadt+Kalahari'),jdecode(''),'/49889/95653.html','true',[],''],
		['PAGE','80200',jdecode('Kulturelle+Begegnungen'),jdecode(''),'/49889/80200.html','true',[],''],
		['PAGE','97544',jdecode('Namibia+Explorer'),jdecode(''),'/49889/97544.html','true',[],'']
	],''],
	['PAGE','80155',jdecode('Motorradreisen'),jdecode(''),'/80155/index.html','true',[ 
		['PAGE','79065',jdecode('Best+of+South+Africa'),jdecode(''),'/80155/79065.html','true',[],''],
		['PAGE','81703',jdecode('African+Experience'),jdecode(''),'/80155/81703.html','true',[],''],
		['PAGE','92238',jdecode('Sun%2C+Sea+%26+Wildlife'),jdecode(''),'/80155/92238.html','true',[],''],
		['PAGE','92269',jdecode('Backpacking'),jdecode(''),'/80155/92269.html','true',[],''],
		['PAGE','90138',jdecode('Whale+Watching'),jdecode(''),'/80155/90138.html','true',[],''],
		['PAGE','90169',jdecode('Spa+%26+Safari'),jdecode(''),'/80155/90169.html','true',[],'']
	],''],
	['PAGE','79871',jdecode('Overland'),jdecode(''),'/79871.html','true',[],''],
	['PAGE','71007',jdecode('Service'),jdecode(''),'/71007.html','true',[],''],
	['PAGE','74610',jdecode('G%E4stebuch'),jdecode(''),'/74610/index.html','true',[ 
		['PAGE','74611',jdecode('Eintr%E4ge'),jdecode(''),'/74610/74611.html','true',[],'']
	],''],
	['PAGE','70494',jdecode('Impressum'),jdecode(''),'/70494.html','true',[],'']];
var siteelementCount=41;
theSitetree.topTemplateName='Startup';
					                                                                    
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 */					                                                            
