/* [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','89201',jdecode('Home'),jdecode(''),'/89201.html','true',[],''],
	['PAGE','58201',jdecode('AKTUELL%21'),jdecode(''),'/58201.html','false',[],''],
	['PAGE','73001',jdecode('Badewetter'),jdecode(''),'/73001.html','false',[],''],
	['PAGE','16255',jdecode('%C3%96ffnungszeiten'),jdecode(''),'/16255.html','true',[],''],
	['PAGE','82301',jdecode('Mitgliedskarten'),jdecode(''),'/82301.html','false',[],''],
	['PAGE','16228',jdecode('Veranstaltungen+2012'),jdecode(''),'/16228.html','true',[],''],
	['PAGE','74401',jdecode('Mitgliedsbeitr%C3%A4ge+2010'),jdecode(''),'/74401.html','false',[],''],
	['PAGE','14355',jdecode('Vorstand+u.+Regeln'),jdecode(''),'/14355.html','true',[],''],
	['PAGE','56401',jdecode('Unsere+Retter%21'),jdecode(''),'/56401.html','true',[],''],
	['PAGE','20909',jdecode('Gastst%C3%A4tte+am+Waldbad'),jdecode(''),'/20909.html','true',[],''],
	['PAGE','16309',jdecode('Fotos%2FMedien'),jdecode(''),'/16309.html','true',[],''],
	['PAGE','14463',jdecode('Impressum%2FKontakt'),jdecode(''),'/14463/home.html','true',[ 
		['PAGE','15229',jdecode('Kontakt+%28Folgeseite%29'),jdecode(''),'/14463/15229.html','false',[],'']
	],''],
	['PAGE','14490',jdecode('Mitglied+werden+%21'),jdecode(''),'/14490.html','true',[],''],
	['PAGE','17502',jdecode('G%C3%A4stebuch'),jdecode(''),'/17502/home.html','true',[ 
		['PAGE','17503',jdecode('Eintr%C3%A4ge'),jdecode(''),'/17502/17503.html','true',[],'']
	],''],
	['PAGE','30202',jdecode('Anfahrt'),jdecode(''),'/30202.html','true',[],''],
	['PAGE','30401',jdecode('Vorstand+%28GBG%29'),jdecode(''),'/30401.html','true',[],'']];
var siteelementCount=18;
theSitetree.topTemplateName='Stripes';
theSitetree.paletteFamily='009900';
theSitetree.keyvisualId='1628';
theSitetree.keyvisualName='delphinschwimmer.jpg';
theSitetree.fontsetId='247';
theSitetree.graphicsetId='319';
theSitetree.contentColor='006633';
theSitetree.contentBGColor='FCFCFB';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Stripes',
				paletteFamily: 	'009900',
				keyvisualId: 	'1628',
				keyvisualName: 	'delphinschwimmer.jpg',
				fontsetId: 		'247',
				graphicsetId: 	'319',
				contentColor: 	'006633',
				contentBGColor: 'FCFCFB',
				a_color: 		'009900',
				b_color: 		'DEDECA',
				c_color: 		'000000',
				d_color: 		'FFFFFF',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'true',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'true'
			  };
var webappMappings = {};
webappMappings['1001']=webappMappings['1001-atoix0inv1a2cfb44218d9bc5cb2']={
webappId:    '1001',
documentId:  '14463',
internalId:  'atoix0inv1a2cfb44218d9bc5cb2',
customField: ''
};
webappMappings['1001']=webappMappings['1001-atoix0inv1a2cfb44218d9bc5cb2']={
webappId:    '1001',
documentId:  '15229',
internalId:  'atoix0inv1a2cfb44218d9bc5cb2',
customField: 'followUp'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '73001',
internalId:  '',
customField: '20100214-113611'
};
webappMappings['1002']=webappMappings['1002-17502ATOIX0INV1A2']={
webappId:    '1002',
documentId:  '17502',
internalId:  '17502ATOIX0INV1A2',
customField: 'action=form&icq=false'
};
webappMappings['1002']=webappMappings['1002-17502ATOIX0INV1A2']={
webappId:    '1002',
documentId:  '17503',
internalId:  '17502ATOIX0INV1A2',
customField: 'action=list'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14463',
internalId:  '',
customField: '20090407-164450'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '16309',
internalId:  '',
customField: '20120102-191054'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '20909',
internalId:  '',
customField: '20101114-131929'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '16228',
internalId:  '',
customField: '20111228-210414'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '16255',
internalId:  '',
customField: '20110927-204516'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14355',
internalId:  '',
customField: '20100321-122153'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '15229',
internalId:  '',
customField: '20080205-165815'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14490',
internalId:  '',
customField: '20090220-163649'
};
webappMappings['2001']=webappMappings['2001-location']={
webappId:    '2001',
documentId:  '30202',
internalId:  'location',
customField: 'language:de;country:DE;isIncluded:false;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '17502',
internalId:  '',
customField: '20040508-180723'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '17503',
internalId:  '',
customField: '20040508-180723'
};
webappMappings['1011']=webappMappings['1011-ddp-wetter-bra']={
webappId:    '1011',
documentId:  '73001',
internalId:  'ddp-wetter-bra',
customField: 'language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '56401',
internalId:  '',
customField: '20090516-141808'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '30202',
internalId:  '',
customField: '20090407-165446'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '30401',
internalId:  '',
customField: '20111117-175538'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '82301',
internalId:  '',
customField: '20100728-174745'
};
webappMappings['3001']=webappMappings['3001-']={
webappId:    '3001',
documentId:  '30401',
internalId:  '',
customField: ''
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '74401',
internalId:  '',
customField: '20100228-162843'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '58201',
internalId:  '',
customField: '20111218-180634'
};
webappMappings['7091']=webappMappings['7091-55480']={
webappId:    '7091',
documentId:  '58201',
internalId:  '55480',
customField: 'align:left;language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '89201',
internalId:  '',
customField: '20111111-091103'
};
webappMappings['7091']=webappMappings['7091-55480']={
webappId:    '7091',
documentId:  '89201',
internalId:  '55480',
customField: 'align:left;language:de;country:DE;'
};
var canonHostname = 'c4awrk04.aul.t-online.de';
var accountId     = 'ATOIX0INV1A2';
var companyName   = 'Naturbad+Borkheide+e.V.';
var htmlTitle	  = 'Naturbad+Borkheide+e.V.';
var metaKeywords  = '%5BB%401fc0189';
var metaContents  = '%5BB%401c8e1fb';
					                                                                    
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 */					                                                            

