/* [nodename, id, name, navigationtext, href, isnavigation, childs[], templatename] */

if (typeof(decodeURIComponent) == 'undefined') {
  decodeURIComponent = function(s) {
    return unescape(s);
  }
}

function jdecode(s) {
    s = s.replace(/\+/g, "%20")
    return decodeURIComponent(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','39994',jdecode('Startseite'),jdecode(''),'/39994.html','true',[],''],
	['PAGE','40863',jdecode('Bowling'),jdecode(''),'/40863/home.html','true',[ 
		['PAGE','40881',jdecode('Aktionen'),jdecode(''),'/40863/40881.html','true',[],'']
	],''],
	['PAGE','40625',jdecode('Restaurant'),jdecode(''),'/40625/home.html','true',[ 
		['PAGE','40845',jdecode('Speisekarte'),jdecode(''),'/40625/40845.html','true',[],''],
		['PAGE','40854',jdecode('Getr%C3%A4nkekarte'),jdecode(''),'/40625/40854.html','true',[],'']
	],''],
	['PAGE','40716',jdecode('SKY-Sportsbar'),jdecode(''),'/40716.html','true',[],''],
	['PAGE','40679',jdecode('Fahrrad-+und+Bootsverleih'),jdecode(''),'/40679.html','true',[],''],
	['PAGE','40903',jdecode('Impressum+und+Kontakt'),jdecode(''),'/40903.html','true',[],''],
	['PAGE','41015',jdecode('Anfahrt'),jdecode(''),'/41015.html','true',[],''],
	['PAGE','41552',jdecode('G%C3%A4stebuch'),jdecode(''),'/41552/home.html','true',[ 
		['PAGE','41551',jdecode('Eintr%C3%A4ge'),jdecode(''),'/41552/41551.html','true',[],'']
	],'']];
var siteelementCount=12;
theSitetree.topTemplateName='MultiSports';
theSitetree.paletteFamily='FEFEFF';
theSitetree.keyvisualId='11191';
theSitetree.keyvisualName='kv_11191.jpg';
theSitetree.fontsetId='32095';
theSitetree.graphicsetId='13898';
theSitetree.contentColor='05290F';
theSitetree.contentBGColor='FEFEFE';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'MultiSports',
				paletteFamily: 	'FEFEFF',
				keyvisualId: 	'11191',
				keyvisualName: 	'kv_11191.jpg',
				fontsetId: 		'32095',
				graphicsetId: 	'13898',
				contentColor: 	'05290F',
				contentBGColor: 'FEFEFE',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'000000',
				f_color: 		'000000',
				hasCustomLogo: 	'false',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '39994',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '39994',
internalId:  '',
customField: '20110801-230350'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40679',
internalId:  '',
customField: '20110205-134811'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40716',
internalId:  '',
customField: '20110207-164814'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40881',
internalId:  '',
customField: '20110204-123706'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40845',
internalId:  '',
customField: '20110205-164040'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40625',
internalId:  '',
customField: '20110205-174148'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40863',
internalId:  '',
customField: '20090318-171141'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40903',
internalId:  '',
customField: '20110205-134725'
};
webappMappings['2001']=webappMappings['2001-location']={
webappId:    '2001',
documentId:  '41015',
internalId:  'location',
customField: 'language:de;country:DE;isIncluded:false;'
};
webappMappings['1501']=webappMappings['1501-57339209']={
webappId:    '1501',
documentId:  '39994',
internalId:  '57339209',
customField: '1501'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40854',
internalId:  '',
customField: '20090310-192522'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41015',
internalId:  '',
customField: '20090317-232807'
};
webappMappings['1002']=webappMappings['1002-41552atoix0irjmlk']={
webappId:    '1002',
documentId:  '41552',
internalId:  '41552atoix0irjmlk',
customField: 'action=form&icq=false'
};
webappMappings['1002']=webappMappings['1002-41552atoix0irjmlk']={
webappId:    '1002',
documentId:  '41551',
internalId:  '41552atoix0irjmlk',
customField: 'action=list'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41552',
internalId:  '',
customField: '20110206-170002'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41551',
internalId:  '',
customField: '20110206-170002'
};
webappMappings['7091']=webappMappings['7091-61711']={
webappId:    '7091',
documentId:  '39994',
internalId:  '61711',
customField: 'align:left;language:de;country:DE;'
};
webappMappings['7091']=webappMappings['7091-61714']={
webappId:    '7091',
documentId:  '39994',
internalId:  '61714',
customField: 'align:left;language:de;country:DE;'
};
var canonHostname = 'c4awrk04.aul.t-online.de';
var accountId     = 'ATOIX0IRJMLK';
var companyName   = 'TREFF+-+Erlebnisgastronomie+f%C3%BCr+Jung+%26+Alt';
var htmlTitle	  = 'TREFF+-+Erlebnisgastronomie+f%C3%BCr+Jung+%26+Alt';
var metaKeywords  = 'TREFF+-+Erlebnisgastronomie%2C+Restaurant%2C+Bowling%2C+Billard%2C+SportsBar+international%2C+See-Terrasse%2C+Biergarten%2C+Fahrradvermietung%2C+Kanuvermietung%2C+Bootsvermietung%2C+Beachvolleyball%2C+Beachsoccer%2C+food+to+go%2C+food+take+away%2C+Partyservice%2C+Catering%2C+Krakow+am+See%2C+outdooractiv';
var metaContents  = 'Willkommen+im+TREFF+-+Erlebnisgastronomie+f%C3%BCr+Jung++Alt';
					                                                                    
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;                                                                     
	};                                                                               
theSitetree.getByXx = function(lookup, xx, ar) {									 
    if (typeof(ar) == 'undefined')												 
    	ar = this;																	 
    for (var i=0; i < ar.length; i++) {										     
        if (ar[i][xx] == lookup)													 
        	return ar[i];															 
        if (ar[i][POS_CHILDS].length > 0) {										 
        	var result=this.getByXx(lookup, xx, ar[i][POS_CHILDS]);					 
            if (result != null)													 
                return result;													 
        }																			 
    }																				 
    return null;																	 
};																				 
function gotoPage(lookup) {														 
    var page = theSitetree.getHREF(lookup);										 
    if (!page) {																	 
  		var testFor = [ POS_NAME, POS_NAVIGATIONTEXT ];							 
            for (var i=0 ; i < testFor.length ; i++) {							 
                    var p = theSitetree.getByXx(lookup, testFor[i]);				 
                    if (p != null) {												 
                            page = p[POS_HREF];									 
                            break;												 
                    }																 
            }																		 
    }																				 
 document.location.href = (new URL(__path_prefix__ + page, true, true)).toString();
}
/* EOF */					                                                            

