/* [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','4556',jdecode('Start'),jdecode(''),'/4556.html','true',[],''],
	['PAGE','9701',jdecode('Preise'),jdecode(''),'/9701/index.html','true',[ 
		['PAGE','70164',jdecode('Hinweise'),jdecode(''),'/9701/70164.html','true',[],''],
		['PAGE','70294',jdecode('Reiser%FCcktritt'),jdecode(''),'/9701/70294.html','true',[],''],
		['PAGE','70263',jdecode('Zahlungsablauf'),jdecode(''),'/9701/70263.html','true',[],'']
	],''],
	['PAGE','18032',jdecode('Belegungsplan'),jdecode(''),'/18032/index.html','true',[ 
		['PAGE','101927',jdecode('Januar+2012'),jdecode(''),'/18032/101927.html','true',[],''],
		['PAGE','101958',jdecode('Februar+2012'),jdecode(''),'/18032/101958.html','true',[],''],
		['PAGE','101989',jdecode('M%E4rz+2012'),jdecode(''),'/18032/101989.html','true',[],''],
		['PAGE','102020',jdecode('April+2012'),jdecode(''),'/18032/102020.html','true',[],''],
		['PAGE','102051',jdecode('Mai+2012'),jdecode(''),'/18032/102051.html','true',[],''],
		['PAGE','102082',jdecode('Juni+2012'),jdecode(''),'/18032/102082.html','true',[],''],
		['PAGE','102113',jdecode('Juli+2012'),jdecode(''),'/18032/102113.html','true',[],''],
		['PAGE','103364',jdecode('August+2012'),jdecode(''),'/18032/103364.html','true',[],''],
		['PAGE','103395',jdecode('September+2012'),jdecode(''),'/18032/103395.html','true',[],''],
		['PAGE','103426',jdecode('Oktober+2012'),jdecode(''),'/18032/103426.html','true',[],''],
		['PAGE','103457',jdecode('November+2012'),jdecode(''),'/18032/103457.html','true',[],''],
		['PAGE','103488',jdecode('Dezember+2012'),jdecode(''),'/18032/103488.html','true',[],'']
	],''],
	['PAGE','9728',jdecode('Kontakt'),jdecode(''),'/9728/index.html','true',[ 
		['PAGE','18292',jdecode('Kontakt+%28Folgeseite%29'),jdecode(''),'/9728/18292.html','false',[],''],
		['PAGE','41918',jdecode('G%E4stebuch'),jdecode(''),'/9728/41918.html','true',[],''],
		['PAGE','41919',jdecode('Eintr%E4ge'),jdecode(''),'/9728/41919.html','true',[],'']
	],''],
	['PAGE','18063',jdecode('Infos'),jdecode(''),'/18063.html','true',[],''],
	['PAGE','4613',jdecode('Fotos'),jdecode(''),'/4613/index.html','true',[ 
		['PAGE','67920',jdecode('Aussen'),jdecode(''),'/4613/67920.html','true',[],''],
		['PAGE','67782',jdecode('Erdgescho%DF'),jdecode(''),'/4613/67782.html','true',[],''],
		['PAGE','67665',jdecode('Obergescho%DF'),jdecode(''),'/4613/67665.html','true',[],'']
	],''],
	['PAGE','18125',jdecode('Anfahrt'),jdecode(''),'/18125/index.html','true',[ 
		['PAGE','69631',jdecode('Auto'),jdecode(''),'/18125/69631.html','true',[],''],
		['PAGE','69662',jdecode('Bahn'),jdecode(''),'/18125/69662.html','true',[],''],
		['PAGE','69693',jdecode('Flugzeug'),jdecode(''),'/18125/69693.html','true',[],''],
		['PAGE','69724',jdecode('Schiff'),jdecode(''),'/18125/69724.html','true',[],''],
		['PAGE','69595',jdecode('Lageplan'),jdecode(''),'/18125/69595.html','true',[],''],
		['PAGE','69565',jdecode('Routenplaner'),jdecode(''),'/18125/69565.html','true',[],''],
		['PAGE','69755',jdecode('R%FCgendamm'),jdecode(''),'/18125/69755.html','true',[],'']
	],''],
	['PAGE','7901',jdecode('R%FCgen++++++++++++++'),jdecode(''),'/7901/index.html','true',[ 
		['PAGE','68533',jdecode('Tipps'),jdecode(''),'/7901/68533.html','true',[],''],
		['PAGE','71964',jdecode('Gastronomie'),jdecode(''),'/7901/71964.html','true',[],''],
		['PAGE','22969',jdecode('Wetter'),jdecode(''),'/7901/22969.html','true',[],''],
		['PAGE','18094',jdecode('Links'),jdecode(''),'/7901/18094.html','true',[],'']
	],''],
	['PAGE','56564',jdecode('Service'),jdecode(''),'/56564/index.html','true',[ 
		['PAGE','56677',jdecode('Auto+%26+KFZ'),jdecode(''),'/56564/56677.html','true',[],''],
		['PAGE','56713',jdecode('Entertainment'),jdecode(''),'/56564/56713.html','true',[],''],
		['PAGE','56421',jdecode('Essen+%26+Trinken'),jdecode(''),'/56564/56421.html','true',[],''],
		['PAGE','56749',jdecode('Familie'),jdecode(''),'/56564/56749.html','true',[],''],
		['PAGE','56529',jdecode('Gesundheit'),jdecode(''),'/56564/56529.html','true',[],''],
		['PAGE','56385',jdecode('K%FCchentipp'),jdecode(''),'/56564/56385.html','true',[],''],
		['PAGE','56865',jdecode('Siggi+das+Seepferdchen'),jdecode(''),'/56564/56865.html','true',[],''],
		['PAGE','56457',jdecode('Sport'),jdecode(''),'/56564/56457.html','true',[],''],
		['PAGE','56641',jdecode('Telekommunikation'),jdecode(''),'/56564/56641.html','true',[],''],
		['PAGE','56785',jdecode('Termine'),jdecode(''),'/56564/56785.html','true',[],''],
		['PAGE','56493',jdecode('Wirtschaft'),jdecode(''),'/56564/56493.html','true',[],'']
	],''],
	['PAGE','101668',jdecode('Impressum'),jdecode(''),'/101668.html','true',[],'']];
var siteelementCount=53;
theSitetree.topTemplateName='Enjoy';
					                                                                    
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 */					                                                            

