/* [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('Home'),jdecode(''),'/39994.html','true',[],''],
	['PAGE','40350',jdecode('%C3%9Cber+uns'),jdecode(''),'/40350/home.html','true',[ 
		['PAGE','40368',jdecode('Vorstand'),jdecode(''),'/40350/40368.html','true',[],''],
		['PAGE','40431',jdecode('Gesch%C3%A4ftsstelle'),jdecode(''),'/40350/40431.html','true',[],''],
		['PAGE','40377',jdecode('Satzung'),jdecode(''),'/40350/40377.html','true',[],''],
		['PAGE','42871',jdecode('Gew%C3%A4sserordnung'),jdecode(''),'/40350/42871.html','true',[],'']
	],''],
	['PAGE','40404',jdecode('Aktuelles'),jdecode(''),'/40404.html','true',[],''],
	['PAGE','40386',jdecode('Termine'),jdecode(''),'/40386.html','true',[],''],
	['PAGE','40422',jdecode('Gastangler'),jdecode(''),'/40422/home.html','true',[ 
		['PAGE','41524',jdecode('Anfahrt'),jdecode(''),'/40422/41524.html','true',[],''],
		['PAGE','42714',jdecode('Gastkarten'),jdecode(''),'/40422/42714.html','true',[],''],
		['PAGE','43911',jdecode('Aufnahmeantrag'),jdecode(''),'/40422/43911.html','true',[],'']
	],''],
	['PAGE','42792',jdecode('Bildergalerie'),jdecode(''),'/42792/home.html','true',[ 
		['PAGE','44712',jdecode('TOP+-+Fische'),jdecode(''),'/42792/44712.html','true',[],''],
		['PAGE','44724',jdecode('Events'),jdecode(''),'/42792/44724.html','true',[],'']
	],''],
	['PAGE','42865',jdecode('Diashow'),jdecode(''),'/42865.html','true',[],''],
	['PAGE','44381',jdecode('G%C3%A4stebuch'),jdecode(''),'/44381/home.html','true',[ 
		['PAGE','44380',jdecode('Eintr%C3%A4ge'),jdecode(''),'/44381/44380.html','true',[],'']
	],''],
	['PAGE','40413',jdecode('Kontakt'),jdecode(''),'/40413.html','true',[],''],
	['PAGE','42804',jdecode('Impressum'),jdecode(''),'/42804.html','true',[],'']];
var siteelementCount=20;
theSitetree.topTemplateName='Movement';
theSitetree.paletteFamily='3E6E72';
theSitetree.keyvisualId='1819';
theSitetree.keyvisualName='kv_dummy.jpg';
theSitetree.fontsetId='289';
theSitetree.graphicsetId='354';
theSitetree.contentColor='FFFFFF';
theSitetree.contentBGColor='3E6E72';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Movement',
				paletteFamily: 	'3E6E72',
				keyvisualId: 	'1819',
				keyvisualName: 	'kv_dummy.jpg',
				fontsetId: 		'289',
				graphicsetId: 	'354',
				contentColor: 	'FFFFFF',
				contentBGColor: '3E6E72',
				a_color: 		'3E6E72',
				b_color: 		'101C1D',
				c_color: 		'FFFFFF',
				d_color: 		'FFFFFF',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'true',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'true'
			  };
var webappMappings = {};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42714',
internalId:  '',
customField: '20111206-140408'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '39994',
internalId:  '',
customField: '20120128-164819'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40350',
internalId:  '',
customField: '20110611-135635'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40368',
internalId:  '',
customField: '20120128-172736'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40386',
internalId:  '',
customField: '20120128-170649'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40431',
internalId:  '',
customField: '20110202-120300'
};
webappMappings['1002']=webappMappings['1002-44381atoix0iri1in']={
webappId:    '1002',
documentId:  '44381',
internalId:  '44381atoix0iri1in',
customField: 'action=form&icq=false'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40413',
internalId:  '',
customField: '20111125-180607'
};
webappMappings['1501']=webappMappings['1501-66227025']={
webappId:    '1501',
documentId:  '39994',
internalId:  '66227025',
customField: '1501'
};
webappMappings['1007']=webappMappings['1007-1254a8aa85c']={
webappId:    '1007',
documentId:  '44712',
internalId:  '1254a8aa85c',
customField: 'g.14l58gkvv.1lous7bms3h.1s'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40377',
internalId:  '',
customField: '20110129-111301'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40404',
internalId:  '',
customField: '20120120-132245'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40422',
internalId:  '',
customField: '20110211-132913'
};
webappMappings['2001']=webappMappings['2001-location']={
webappId:    '2001',
documentId:  '41524',
internalId:  'location',
customField: 'language:de;country:DE;isIncluded:false;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41524',
internalId:  '',
customField: '20091204-200554'
};
webappMappings['1007']=webappMappings['1007-12513bad49f']={
webappId:    '1007',
documentId:  '42792',
internalId:  '12513bad49f',
customField: 'g.14k9ri6qh.c2n5cgsjl5.1s'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42792',
internalId:  '',
customField: '20110129-183807'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42804',
internalId:  '',
customField: '20110224-172919'
};
webappMappings['7060']=webappMappings['7060-71ab8be43462a1bf6c63d9cb98865e8e']={
webappId:    '7060',
documentId:  '42865',
internalId:  '71ab8be43462a1bf6c63d9cb98865e8e',
customField: 'language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42871',
internalId:  '',
customField: '20120202-140306'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42865',
internalId:  '',
customField: '20091120-235731'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43911',
internalId:  '',
customField: '20111125-184536'
};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '39994',
internalId:  '1006',
customField: '1006'
};
webappMappings['1002']=webappMappings['1002-44381atoix0iri1in']={
webappId:    '1002',
documentId:  '44380',
internalId:  '44381atoix0iri1in',
customField: 'action=list'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44381',
internalId:  '',
customField: '20110129-184536'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44380',
internalId:  '',
customField: '20091124-164211'
};
webappMappings['7091']=webappMappings['7091-35315']={
webappId:    '7091',
documentId:  '40404',
internalId:  '35315',
customField: 'align:right;language:de;country:DE;'
};
webappMappings['1007']=webappMappings['1007-1254a8c2182']={
webappId:    '1007',
documentId:  '44724',
internalId:  '1254a8c2182',
customField: 'g.14l58mgcr.bf4vmll1n2.1s'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44712',
internalId:  '',
customField: '20091205-202423'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44724',
internalId:  '',
customField: '20091205-202641'
};
webappMappings['7091']=webappMappings['7091-36336']={
webappId:    '7091',
documentId:  '41524',
internalId:  '36336',
customField: 'align:right;language:de;country:DE;'
};
var canonHostname = 'c4awrk02.aul.t-online.de';
var accountId     = 'ATOIX0IRI1IN';
var companyName   = 'ASG+-+Edesheim+-+Leinetal+1994';
var htmlTitle	  = 'ASG+-+Edesheim+-+Leinetal+1994';
var metaKeywords  = '+ASG-Edesheim+Forellensee%2C+Forellenfischen+in+Edesheim%2C+Ausgabestellen+Gastkarten+zum+Angeln%2C+Forellensee+Nr.8+in+Northeim.';
var metaContents  = 'Angeln+am+Forellensee+ASG+Edesheim.+Gastangler+sind+hier+willkommen.Ausgabestellen+f%C3%BCr+Gastkarten+und+Anfahrt+f%C3%BCr+unsere+G%C3%A4ste.+Informationen+%C3%BCber+das+Gew%C3%A4sser%2C++Angelm%C3%B6glichkeiten+und+Bedingungen.+Informationen+und+Bilder.+';
					                                                                    
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 */					                                                            

