/* [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','4597',jdecode('Home'),jdecode(''),'/4597.html','true',[],''],
	['PAGE','41310',jdecode('KAMAC'),jdecode(''),'/41310.html','true',[],''],
	['PAGE','5102',jdecode('Wir+%FCber+uns++about+us..'),jdecode(''),'/5102/index.html','true',[ 
		['PAGE','12002',jdecode('Die+Idee++++'),jdecode(''),'/5102/12002.html','true',[],''],
		['PAGE','12029',jdecode('Arbeit+ohne+Ende..'),jdecode(''),'/5102/12029.html','true',[],''],
		['PAGE','12056',jdecode('+Management'),jdecode(''),'/5102/12056.html','true',[],'']
	],''],
	['PAGE','5183',jdecode('wir+suchen....'),jdecode(''),'/5183.html','true',[],''],
	['PAGE','12137',jdecode('neu'),jdecode(''),'/12137/index.html','true',[ 
		['PAGE','33910',jdecode('neu+%28Folgeseite%29'),jdecode(''),'/12137/33910.html','false',[],'']
	],''],
	['PAGE','12191',jdecode('wir+bieten+an..'),jdecode(''),'/12191/index.html','true',[ 
		['PAGE','12218',jdecode('f%FCr+neugierige..'),jdecode(''),'/12191/12218.html','true',[],''],
		['PAGE','12245',jdecode('f%FCr+interessierte...'),jdecode(''),'/12191/12245.html','true',[],''],
		['PAGE','12272',jdecode('f%FCr+mutige....'),jdecode(''),'/12191/12272.html','true',[],'']
	],''],
	['PAGE','41510',jdecode('F%FCr+Einsteiger'),jdecode(''),'/41510.html','true',[],''],
	['PAGE','50510',jdecode('f%FCr+w%FCstenfahrer'),jdecode(''),'/50510.html','true',[],''],
	['PAGE','12299',jdecode('Angebote+offers'),jdecode(''),'/12299/index.html','true',[ 
		['PAGE','42910',jdecode('F%FCr+Camper+und+low+budget-traveller'),jdecode(''),'/12299/42910.html','true',[],'']
	],''],
	['PAGE','50010',jdecode('Camping'),jdecode(''),'/50010.html','true',[],''],
	['PAGE','43113',jdecode('For+backpackers%2C+volunteers'),jdecode(''),'/43113/index.html','true',[ 
		['PAGE','48211',jdecode('For+backpackers%2C+volunteers+%28Folgeseite%29'),jdecode(''),'/43113/48211.html','false',[],'']
	],''],
	['PAGE','48410',jdecode('Voluteers+page'),jdecode(''),'/48410.html','true',[],''],
	['PAGE','42410',jdecode('Motorradvermietung'),jdecode(''),'/42410.html','true',[],''],
	['PAGE','13156',jdecode('Links'),jdecode(''),'/13156.html','true',[],''],
	['PAGE','5156',jdecode('Ghana+Impressions'),jdecode(''),'/5156.html','true',[],''],
	['PAGE','33929',jdecode('Neues+Fotoalbum'),jdecode(''),'/33929.html','true',[],''],
	['PAGE','39210',jdecode('Reiseinformationen++'),jdecode(''),'/39210.html','true',[],''],
	['PAGE','42610',jdecode('Reiseservice'),jdecode(''),'/42610.html','true',[],''],
	['PAGE','5210',jdecode('Contact'),jdecode(''),'/5210/index.html','true',[ 
		['PAGE','12083',jdecode('Adresse%2C+Telefon'),jdecode(''),'/5210/12083.html','true',[],''],
		['PAGE','12110',jdecode('So+finden+Sie+uns+Where+we+are'),jdecode(''),'/5210/12110.html','true',[],''],
		['PAGE','10902',jdecode('G%E4ste++guests'),jdecode(''),'/5210/10902.html','true',[],''],
		['PAGE','10903',jdecode('Eintr%E4ge'),jdecode(''),'/5210/10903.html','true',[],'']
	],''],
	['PAGE','43347',jdecode('Weblog'),jdecode(''),'/43347.html','true',[],''],
	['PAGE','48332',jdecode('neu+photos'),jdecode(''),'/48332.html','true',[],''],
	['PAGE','49646',jdecode('Wissenschaft'),jdecode(''),'/49646.html','true',[],'']];
var siteelementCount=35;
theSitetree.topTemplateName='Steps';
					                                                                    
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 */					                                                            
