/* [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','14201',jdecode('Home'),jdecode(''),'/14201/home.html','true',[ 
		['PAGE','35593',jdecode('1.+M%C3%A4nner'),jdecode(''),'/14201/35593.html','true',[],''],
		['PAGE','35614',jdecode('1.+Frauen'),jdecode(''),'/14201/35614.html','true',[],''],
		['PAGE','35635',jdecode('m%C3%A4nnliche+JA'),jdecode(''),'/14201/35635.html','false',[],''],
		['PAGE','35656',jdecode('weibliche+JA'),jdecode(''),'/14201/35656.html','false',[],''],
		['PAGE','37472',jdecode('m%C3%A4nnliche+JB'),jdecode(''),'/14201/37472.html','false',[],''],
		['PAGE','217672',jdecode('m%C3%A4nnliche+JB'),jdecode(''),'/14201/217672.html','true',[],''],
		['PAGE','35698',jdecode('m%C3%A4nnliche+JC'),jdecode(''),'/14201/35698.html','true',[],''],
		['PAGE','143772',jdecode('weibliche+JC+'),jdecode(''),'/14201/143772.html','true',[],''],
		['PAGE','213072',jdecode('m%C3%A4nnliche+JD'),jdecode(''),'/14201/213072.html','true',[],''],
		['PAGE','111872',jdecode('m%C3%A4nnliche+JE'),jdecode(''),'/14201/111872.html','true',[],''],
		['PAGE','202972',jdecode('%60Alte+Herren%60'),jdecode(''),'/14201/202972.html','true',[],''],
		['PAGE','218472',jdecode('Frauen+Freizeitteam'),jdecode(''),'/14201/218472.html','true',[],'']
	],''],
	['PAGE','14217',jdecode('Der+Verein'),jdecode(''),'/14217/home.html','true',[ 
		['PAGE','156572',jdecode('OFFICE'),jdecode(''),'/14217/156572.html','true',[],''],
		['PAGE','55272',jdecode('Archiv'),jdecode(''),'/14217/55272.html','true',[],''],
		['PAGE','44372',jdecode('Fotoecke'),jdecode(''),'/14217/44372.html','true',[],''],
		['PAGE','14237',jdecode('Kontakt'),jdecode(''),'/14217/14237.html','true',[],''],
		['PAGE','53872',jdecode('Impressum'),jdecode(''),'/14217/53872.html','true',[],'']
	],''],
	['PAGE','35572',jdecode('Sportst%C3%A4tten'),jdecode(''),'/35572/home.html','true',[ 
		['PAGE','18301',jdecode('Anfahrt+'),jdecode(''),'/35572/18301.html','true',[],'']
	],''],
	['PAGE','90572',jdecode('Presse'),jdecode(''),'/90572.html','true',[],''],
	['PAGE','17702',jdecode('G%C3%A4stebuch'),jdecode(''),'/17702/home.html','true',[ 
		['PAGE','17703',jdecode('Eintr%C3%A4ge'),jdecode(''),'/17702/17703.html','true',[],''],
		['PAGE','35719',jdecode('Vereine'),jdecode(''),'/17702/35719.html','true',[],'']
	],'']];
var siteelementCount=25;
theSitetree.topTemplateName='Card';
theSitetree.paletteFamily='E1B006';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='428';
theSitetree.graphicsetId='477';
theSitetree.contentColor='000066';
theSitetree.contentBGColor='FFFFFF';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Card',
				paletteFamily: 	'E1B006',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'428',
				graphicsetId: 	'477',
				contentColor: 	'000066',
				contentBGColor: 'FFFFFF',
				a_color: 		'FFFFFF',
				b_color: 		'FFFFFF',
				c_color: 		'FFFFFF',
				d_color: 		'FFFFFF',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'true',
				contentFontFace:'Times New Roman, Times, serif',
				contentFontSize:'12',
				useFavicon:     'true'
			  };
var webappMappings = {};
webappMappings['1501']=webappMappings['1501-8199484']={
webappId:    '1501',
documentId:  '14201',
internalId:  '8199484',
customField: '1501'
};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '14201',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14201',
internalId:  '',
customField: '20100715-094635'
};
webappMappings['1002']=webappMappings['1002-17702atoix0ineqkm']={
webappId:    '1002',
documentId:  '17702',
internalId:  '17702atoix0ineqkm',
customField: 'action=form&icq=false'
};
webappMappings['1002']=webappMappings['1002-17702atoix0ineqkm']={
webappId:    '1002',
documentId:  '17703',
internalId:  '17702atoix0ineqkm',
customField: 'action=list'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '35656',
internalId:  '',
customField: '20090622-170237'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '37472',
internalId:  '',
customField: '20080922-173855'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '35698',
internalId:  '',
customField: '20100418-193901'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '35593',
internalId:  '',
customField: '20100425-205742'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '35614',
internalId:  '',
customField: '20100620-191343'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '35635',
internalId:  '',
customField: '20090622-170121'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14217',
internalId:  '',
customField: '20080610-102240'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '35572',
internalId:  '',
customField: '20091127-162149'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '18301',
internalId:  '',
customField: '20061006-125852'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14237',
internalId:  '',
customField: '20090604-200130'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44372',
internalId:  '',
customField: '20080206-100638'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '35719',
internalId:  '',
customField: '20080919-231913'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '17702',
internalId:  '',
customField: '20050321-134841'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '17703',
internalId:  '',
customField: '20050321-134841'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '53872',
internalId:  '',
customField: '20071002-074848'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '55272',
internalId:  '',
customField: '20090201-212542'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '90572',
internalId:  '',
customField: '20090922-120613'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '111872',
internalId:  '',
customField: '20100427-111233'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '143772',
internalId:  '',
customField: '20100707-103609'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '213072',
internalId:  '',
customField: '20100425-210208'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '218472',
internalId:  '',
customField: '20091211-141711'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '217672',
internalId:  '',
customField: '20091214-212301'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '156572',
internalId:  '',
customField: '20090903-233921'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '202972',
internalId:  '',
customField: '20100208-143242'
};
var canonHostname = 'c4awrk02.aul.t-online.de';
var accountId     = 'ATOIX0INEQKM';
var companyName   = 'Handball+Club+1952+Angerm%C3%BCnde+e.V.';
var htmlTitle	  = 'Handball+in+Angerm%C3%BCnde';
var metaKeywords  = 'HCAHandball+Club+Angerm%C3%BCndeHandball+in+Angerm%C3%BCnde';
var metaContents  = 'Handball+in+Angerm%C3%BCndeErgebnisse+und+Tabellen+sowie+Tickerandere+Vereine+der+Stadt+Angerm%C3%BCnde';
					                                                                    
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 */					                                                            
