/* [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','13701',jdecode('Home'),jdecode(''),'/13701.html','true',[],''],
	['PAGE','13707',jdecode('K%C3%B6nigsangeln+26.09.2009'),jdecode(''),'/13707.html','true',[],''],
	['PAGE','13737',jdecode('Mitglieder'),jdecode(''),'/13737/home.html','true',[ 
		['PAGE','13742',jdecode('Vorstand'),jdecode(''),'/13737/13742.html','true',[],'']
	],''],
	['PAGE','33946',jdecode('Termine+2010'),jdecode(''),'/33946/home.html','true',[ 
		['PAGE','33967',jdecode('Veranstaltungen'),jdecode(''),'/33946/33967.html','true',[],''],
		['PAGE','33988',jdecode('Arbeitseins%C3%A4tze'),jdecode(''),'/33946/33988.html','true',[],'']
	],''],
	['PAGE','19716',jdecode('Gew%C3%A4sser+'),jdecode(''),'/19716.html','true',[],''],
	['PAGE','13747',jdecode('Kontakt'),jdecode(''),'/13747/home.html','true',[ 
		['PAGE','20420',jdecode('Kontakt+%28Folgeseite%29'),jdecode(''),'/13747/20420.html','false',[],'']
	],''],
	['PAGE','19901',jdecode('Sponsoren'),jdecode(''),'/19901.html','true',[],''],
	['PAGE','19833',jdecode('Mitglied+werden'),jdecode(''),'/19833/home.html','true',[ 
		['PAGE','23738',jdecode('Mitglied+werden+%28Folgeseite%29'),jdecode(''),'/19833/23738.html','false',[],'']
	],''],
	['PAGE','20001',jdecode('Vorstandsinfo'),jdecode(''),'/20001.html','true',[],''],
	['PAGE','19602',jdecode('G%C3%A4stebuch'),jdecode(''),'/19602/home.html','true',[ 
		['PAGE','19603',jdecode('Eintr%C3%A4ge'),jdecode(''),'/19602/19603.html','true',[],'']
	],''],
	['PAGE','39914',jdecode('Presse'),jdecode(''),'/39914.html','true',[],''],
	['PAGE','42514',jdecode('Rechtlicher+Hinweis'),jdecode(''),'/42514.html','true',[],''],
	['PAGE','52914',jdecode('Familienangeln2009'),jdecode(''),'/52914.html','true',[],''],
	['PAGE','55814',jdecode('Aktuelles'),jdecode(''),'/55814.html','true',[],'']];
var siteelementCount=20;
theSitetree.topTemplateName='Natural';
theSitetree.paletteFamily='136F83';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='157';
theSitetree.graphicsetId='170';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='FCFCF4';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Natural',
				paletteFamily: 	'136F83',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'157',
				graphicsetId: 	'170',
				contentColor: 	'000000',
				contentBGColor: 'FCFCF4',
				a_color: 		'136F83',
				b_color: 		'66CCFF',
				c_color: 		'000000',
				d_color: 		'FFFFFF',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'true',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '13701',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13707',
internalId:  '',
customField: '20091005-185827'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13737',
internalId:  '',
customField: '20091217-105108'
};
webappMappings['1002']=webappMappings['1002-19602atoix0in2ba8']={
webappId:    '1002',
documentId:  '19602',
internalId:  '19602atoix0in2ba8',
customField: 'action=form&icq=false'
};
webappMappings['1002']=webappMappings['1002-19602atoix0in2ba8']={
webappId:    '1002',
documentId:  '19603',
internalId:  '19602atoix0in2ba8',
customField: 'action=list'
};
webappMappings['3001']=webappMappings['3001-']={
webappId:    '3001',
documentId:  '20001',
internalId:  '',
customField: ''
};
webappMappings['1001']=webappMappings['1001-atoix0in2ba8100172f74da']={
webappId:    '1001',
documentId:  '13747',
internalId:  'atoix0in2ba8100172f74da',
customField: ''
};
webappMappings['1001']=webappMappings['1001-atoix0in2ba8100172f74da']={
webappId:    '1001',
documentId:  '20420',
internalId:  'atoix0in2ba8100172f74da',
customField: 'followUp'
};
webappMappings['1001']=webappMappings['1001-atoix0in2ba8101f6151b39']={
webappId:    '1001',
documentId:  '19833',
internalId:  'atoix0in2ba8101f6151b39',
customField: ''
};
webappMappings['1001']=webappMappings['1001-atoix0in2ba8101f6151b39']={
webappId:    '1001',
documentId:  '23738',
internalId:  'atoix0in2ba8101f6151b39',
customField: 'followUp'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13701',
internalId:  '',
customField: '20100212-123641'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13742',
internalId:  '',
customField: '20090223-165512'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '55814',
internalId:  '',
customField: '20100212-123652'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '33946',
internalId:  '',
customField: '20100104-103753'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '33967',
internalId:  '',
customField: '20100104-104737'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '33988',
internalId:  '',
customField: '20100104-105137'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '19716',
internalId:  '',
customField: '20050209-073938'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13747',
internalId:  '',
customField: '20090203-194022'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '20420',
internalId:  '',
customField: '20041108-085654'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '19901',
internalId:  '',
customField: '20050822-092342'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '19833',
internalId:  '',
customField: '20090428-062557'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '23738',
internalId:  '',
customField: '20050209-084614'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '20001',
internalId:  '',
customField: '20091217-105043'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '19602',
internalId:  '',
customField: '20041105-095957'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '19603',
internalId:  '',
customField: '20041105-095957'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '52914',
internalId:  '',
customField: '20090706-185721'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '39914',
internalId:  '',
customField: '20090301-074329'
};
webappMappings['1007']=webappMappings['1007-12250e401cd']={
webappId:    '1007',
documentId:  '52914',
internalId:  '12250e401cd',
customField: 'g.1498dqtpk.nuacpu9rde.3o'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42514',
internalId:  '',
customField: '20090227-172238'
};
var canonHostname = 'cfawrk04.aul.t-online.de';
var accountId     = 'ATOIX0IN2BA8';
var companyName   = 'ASC+%22Huy+-+Fallstein%22e.V.+im+LAV+Sachsen+Anhalt+e.V.';
var htmlTitle	  = 'Angeln+im+Harzvorland%2FHuy+und+Umgebung';
var metaKeywords  = 'Angelsport%0AHuy-Fallstein%0AAngeln%0AHarzvorland';
var metaContents  = 'Angeln%2CVerein%2CHuy-Fallstein';
					                                                                    
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 */					                                                            
