/* [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','4520',jdecode('Home'),jdecode(''),'/4520.html','true',[],''],
	['PAGE','9473',jdecode('Impressum'),jdecode(''),'/9473/index.html','true',[ 
		['PAGE','11517',jdecode('Impressum+%28Folgeseite%29'),jdecode(''),'/9473/11517.html','false',[],''],
		['PAGE','132818',jdecode('AGBs'),jdecode(''),'/9473/132818.html','true',[],'']
	],''],
	['PAGE','65892',jdecode('Reiseziele+Campingreisen'),jdecode(''),'/65892/index.html','true',[ 
		['PAGE','111510',jdecode('Fotoalbum+Jubil%E4umsreise+Gambia'),jdecode(''),'/65892/111510.html','true',[],'']
	],''],
	['PAGE','96392',jdecode('Freighter+Travel+%2F+Ferrys'),jdecode(''),'/96392/index.html','true',[ 
		['PAGE','98192',jdecode('Grimaldi+%2F+Westafrika'),jdecode(''),'/96392/98192.html','true',[],''],
		['PAGE','126355',jdecode('Grimaldi+%2F+Westafrika+-+USA'),jdecode(''),'/96392/126355.html','true',[],''],
		['PAGE','101092',jdecode('Grimaldi+%2F+S%FCdamerika'),jdecode(''),'/96392/101092.html','true',[],''],
		['PAGE','118109',jdecode('Grimaldi+%2F+Israel'),jdecode(''),'/96392/118109.html','true',[],''],
		['PAGE','118219',jdecode('Grimaldi+%2F+T%FCrkei'),jdecode(''),'/96392/118219.html','true',[],''],
		['PAGE','109410',jdecode('Fahrpl%E4ne+GrimaldiLines'),jdecode(''),'/96392/109410.html','true',[],''],
		['PAGE','127755',jdecode('Reisebericht++%22Grande+Africa%22'),jdecode(''),'/96392/127755.html','true',[],''],
		['PAGE','122555',jdecode('Lokale+Zeiten+S%FCdamerika'),jdecode(''),'/96392/122555.html','true',[],''],
		['PAGE','123655',jdecode('AGB+f%FCr+Frachtschiffreisen'),jdecode(''),'/96392/123655.html','true',[],''],
		['PAGE','121709',jdecode('Unsere+Empfehlungen'),jdecode(''),'/96392/121709.html','true',[],'']
	],''],
	['PAGE','119521',jdecode('Container+worldwide'),jdecode(''),'/119521/index.html','true',[ 
		['PAGE','132418',jdecode('Directline+Brazil'),jdecode(''),'/119521/132418.html','true',[],''],
		['PAGE','131918',jdecode('Agents+Buenos+Aires'),jdecode(''),'/119521/131918.html','true',[],'']
	],''],
	['PAGE','122355',jdecode('Ro%2FRo+Liner+Westafrika'),jdecode(''),'/122355.html','true',[],''],
	['PAGE','135118',jdecode('Fahrzeuge++nach+Island'),jdecode(''),'/135118.html','true',[],''],
	['PAGE','128555',jdecode('Fahrzeuge++nach+U.S.A'),jdecode(''),'/128555.html','true',[],''],
	['PAGE','131255',jdecode('Last+Minute+Sailings'),jdecode(''),'/131255.html','true',[],''],
	['PAGE','134018',jdecode('Hafenlinks+Westafrika'),jdecode(''),'/134018.html','true',[],''],
	['PAGE','134189',jdecode('Hafenlinks+S%FCdamerika'),jdecode(''),'/134189.html','true',[],''],
	['PAGE','124055',jdecode('Transportversicherung'),jdecode(''),'/124055.html','true',[],''],
	['PAGE','92992',jdecode('Reiseversicherungen'),jdecode(''),'/92992.html','true',[],''],
	['PAGE','83992',jdecode('Forum+f%FCr+Fernreisende'),jdecode(''),'/83992.html','true',[],''],
	['PAGE','90992',jdecode('Reiseb%FCcher++weltweit'),jdecode(''),'/90992/index.html','true',[ 
		['PAGE','96492',jdecode('Reiseb%FCcher+Afrika'),jdecode(''),'/90992/96492.html','true',[],''],
		['PAGE','104192',jdecode('Reisebuch+Mauretanien'),jdecode(''),'/90992/104192.html','true',[],'']
	],''],
	['PAGE','26923',jdecode('Interessante+Links'),jdecode(''),'/26923.html','true',[],''],
	['PAGE','100392',jdecode('Newsletter+bestellen'),jdecode(''),'/100392.html','true',[],''],
	['PAGE','4874',jdecode('Kontakt+zu+uns'),jdecode(''),'/4874/index.html','true',[ 
		['PAGE','11493',jdecode('Kontakt+zu+uns+%28Folgeseite%29'),jdecode(''),'/4874/11493.html','false',[],'']
	],'']];
var siteelementCount=36;
theSitetree.topTemplateName='Easy';
					                                                                    
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 */					                                                            
