/* [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','3937',jdecode('Catering'),jdecode(''),'/3937.html','true',[],''],
	['PAGE','21312',jdecode('Fingerfood'),jdecode(''),'/21312/index.html','true',[ 
		['PAGE','4006',jdecode('Fingerfood+-+Canap%E9'),jdecode(''),'/21312/4006.html','true',[],''],
		['PAGE','4630',jdecode('Fingerfood+-+Selection+I'),jdecode(''),'/21312/4630.html','true',[],''],
		['PAGE','19179',jdecode('Fingerfood+-+Selection+II'),jdecode(''),'/21312/19179.html','true',[],''],
		['PAGE','53507',jdecode('Fingerfood+-+Kombinationen'),jdecode(''),'/21312/53507.html','true',[],''],
		['PAGE','48087',jdecode('Fingerfood+-+Dessert'),jdecode(''),'/21312/48087.html','true',[],'']
	],''],
	['PAGE','19506',jdecode('Buffet'),jdecode(''),'/19506/index.html','true',[ 
		['PAGE','20430',jdecode('Brunch'),jdecode(''),'/19506/20430.html','true',[],''],
		['PAGE','20322',jdecode('Bayerische+Brotzeit'),jdecode(''),'/19506/20322.html','true',[],''],
		['PAGE','20349',jdecode('Bayerisches+Buffet'),jdecode(''),'/19506/20349.html','true',[],''],
		['PAGE','53538',jdecode('Landhaus'),jdecode(''),'/19506/53538.html','true',[],''],
		['PAGE','20268',jdecode('Around+the+world'),jdecode(''),'/19506/20268.html','true',[],''],
		['PAGE','20295',jdecode('Classic+Buffet'),jdecode(''),'/19506/20295.html','true',[],''],
		['PAGE','19533',jdecode('Mediterranes'),jdecode(''),'/19506/19533.html','true',[],''],
		['PAGE','29687',jdecode('Florenz'),jdecode(''),'/19506/29687.html','true',[],''],
		['PAGE','30092',jdecode('Venedig'),jdecode(''),'/19506/30092.html','true',[],''],
		['PAGE','20457',jdecode('Amerikanisch'),jdecode(''),'/19506/20457.html','true',[],''],
		['PAGE','20376',jdecode('Asiatisch'),jdecode(''),'/19506/20376.html','true',[],''],
		['PAGE','20403',jdecode('Vegetarisch'),jdecode(''),'/19506/20403.html','true',[],''],
		['PAGE','20511',jdecode('Galabuffet+%22Odeon+Royal%22'),jdecode(''),'/19506/20511.html','true',[],''],
		['PAGE','20484',jdecode('Grillbuffet+%22Odeon%22'),jdecode(''),'/19506/20484.html','true',[],''],
		['PAGE','51785',jdecode('S%FCdamerikanisch'),jdecode(''),'/19506/51785.html','true',[],'']
	],''],
	['PAGE','56723',jdecode('Saisonbuffet'),jdecode(''),'/56723/index.html','true',[ 
		['PAGE','19479',jdecode('Buffet+%22Fr%FChjahr%2FSommer%22'),jdecode(''),'/56723/19479.html','true',[],''],
		['PAGE','56641',jdecode('Buffet+%22Herbst%2FWinter%22'),jdecode(''),'/56723/56641.html','true',[],'']
	],''],
	['PAGE','31087',jdecode('Weihnachtsbuffet'),jdecode(''),'/31087/index.html','true',[ 
		['PAGE','51985',jdecode('Christkind%26%23x27%3Bl'),jdecode(''),'/31087/51985.html','true',[],''],
		['PAGE','53476',jdecode('Heilige+Nacht'),jdecode(''),'/31087/53476.html','true',[],''],
		['PAGE','53445',jdecode('Knecht+Ruprecht'),jdecode(''),'/31087/53445.html','true',[],''],
		['PAGE','52016',jdecode('Santa+Claus'),jdecode(''),'/31087/52016.html','true',[],''],
		['PAGE','31195',jdecode('Buffeterg%E4nzung+%2F+Warm'),jdecode(''),'/31087/31195.html','true',[],'']
	],''],
	['PAGE','55407',jdecode('Sylvesterbuffet'),jdecode(''),'/55407.html','true',[],''],
	['PAGE','19560',jdecode('Hochzeitsgala'),jdecode(''),'/19560.html','true',[],''],
	['PAGE','53110',jdecode('Hauptspeisen'),jdecode(''),'/53110.html','true',[],''],
	['PAGE','53241',jdecode('Schmankerl'),jdecode(''),'/53241.html','true',[],''],
	['PAGE','17233',jdecode('Menue'),jdecode(''),'/17233.html','true',[],''],
	['PAGE','17179',jdecode('Suppen+%2F+Eint%F6pfe'),jdecode(''),'/17179.html','true',[],''],
	['PAGE','19587',jdecode('Dessert'),jdecode(''),'/19587.html','true',[],''],
	['PAGE','5949',jdecode('Getr%E4nke'),jdecode(''),'/5949.html','true',[],''],
	['PAGE','8879',jdecode('Verleihliste'),jdecode(''),'/8879.html','true',[],''],
	['PAGE','4029',jdecode('Messe+Catering'),jdecode(''),'/4029.html','true',[],''],
	['PAGE','54129',jdecode('Referenzen'),jdecode(''),'/54129.html','true',[],''],
	['PAGE','4052',jdecode('Kontakt+%2F+Katalog'),jdecode(''),'/4052/index.html','true',[ 
		['PAGE','51286',jdecode('Kontakt+%2F+Katalog+%28Folgeseite%29'),jdecode(''),'/4052/51286.html','false',[],'']
	],''],
	['PAGE','54941',jdecode('Links'),jdecode(''),'/54941.html','true',[],''],
	['PAGE','8312',jdecode('Impressum'),jdecode(''),'/8312.html','true',[],''],
	['PAGE','46287',jdecode('AGB'),jdecode(''),'/46287.html','true',[],'']];
var siteelementCount=49;
theSitetree.topTemplateName='Movement';
					                                                                    
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 */					                                                            
