/* [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','19239',jdecode('Hubertusfest+2004'),jdecode(''),'/19239.html','true',[],''],
	['PAGE','36656',jdecode('Hubertusfest+2005'),jdecode(''),'/36656.html','true',[],''],
	['PAGE','37007',jdecode('Hubertusfest+2006'),jdecode(''),'/37007.html','true',[],''],
	['PAGE','4579',jdecode('Aktuelles%2FLinks%2FKontakt'),jdecode(''),'/4579/home.html','true',[ 
		['PAGE','19721',jdecode('Aktuelles%2FLinks%2FKontakt+%28Folgeseite%29'),jdecode(''),'/4579/19721.html','false',[],'']
	],''],
	['PAGE','18048',jdecode('Hegegemeinschaften'),jdecode(''),'/18048.html','true',[],''],
	['PAGE','18075',jdecode('Vorstand'),jdecode(''),'/18075/home.html','true',[ 
		['PAGE','34101',jdecode('Dokumente'),jdecode(''),'/18075/34101.html','true',[],'']
	],''],
	['PAGE','18102',jdecode('Jagdhornbl%C3%A4sergruppe'),jdecode(''),'/18102.html','true',[],''],
	['PAGE','36671',jdecode('Informationen+%2F+Formulare'),jdecode(''),'/36671/home.html','true',[ 
		['PAGE','36670',jdecode('Eintr%C3%A4ge'),jdecode(''),'/36671/36670.html','true',[],'']
	],'']];
var siteelementCount=11;
theSitetree.topTemplateName='Architekt';
theSitetree.paletteFamily='90A262';
theSitetree.keyvisualId='2055';
theSitetree.keyvisualName='blanko.jpg';
theSitetree.fontsetId='306';
theSitetree.graphicsetId='344';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='90A262';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Architekt',
				paletteFamily: 	'90A262',
				keyvisualId: 	'2055',
				keyvisualName: 	'blanko.jpg',
				fontsetId: 		'306',
				graphicsetId: 	'344',
				contentColor: 	'000000',
				contentBGColor: '90A262',
				a_color: 		'90A262',
				b_color: 		'525D37',
				c_color: 		'FFFFFF',
				d_color: 		'FFFFFF',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'false',
				contentFontFace:'Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['1001']=webappMappings['1001-atoix0invvsr50da031400b8ca97']={
webappId:    '1001',
documentId:  '4579',
internalId:  'atoix0invvsr50da031400b8ca97',
customField: ''
};
webappMappings['1001']=webappMappings['1001-atoix0invvsr50da031400b8ca97']={
webappId:    '1001',
documentId:  '19721',
internalId:  'atoix0invvsr50da031400b8ca97',
customField: 'followUp'
};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '4579',
internalId:  '1006',
customField: '1006'
};
webappMappings['3001']=webappMappings['3001-']={
webappId:    '3001',
documentId:  '34101',
internalId:  '',
customField: ''
};
webappMappings['1002']=webappMappings['1002-36671atoix0invvsr']={
webappId:    '1002',
documentId:  '36671',
internalId:  '36671atoix0invvsr',
customField: 'action=form&icq=false'
};
webappMappings['1002']=webappMappings['1002-36671atoix0invvsr']={
webappId:    '1002',
documentId:  '36670',
internalId:  '36671atoix0invvsr',
customField: 'action=list'
};
webappMappings['1501']=webappMappings['1501-1366730']={
webappId:    '1501',
documentId:  '4579',
internalId:  '1366730',
customField: '1501'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4579',
internalId:  '',
customField: '20100728-200217'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '19239',
internalId:  '',
customField: '20051024-102918'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '36656',
internalId:  '',
customField: '20051024-185353'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '19721',
internalId:  '',
customField: '20031125-212848'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '18048',
internalId:  '',
customField: '20100302-153134'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '18075',
internalId:  '',
customField: '20100217-075017'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '34101',
internalId:  '',
customField: '20041214-133051'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '18102',
internalId:  '',
customField: '20040113-073508'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '36671',
internalId:  '',
customField: '20080504-110843'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '36670',
internalId:  '',
customField: '20051025-203330'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '37007',
internalId:  '',
customField: '20070107-155233'
};
var canonHostname = 'c4awrk01.aul.t-online.de';
var accountId     = 'ATOIX0INVVSR';
var companyName   = 'Jagdverband+Gro%C3%9Fenhain+e.V.';
var htmlTitle	  = 'Jagdverband+Gro%C3%9Fenhain+e.V.';
var metaKeywords  = 'Jagd%2C+Gro%C3%9Fenhain%2C+Jagdverband%2C+Jagdhornbl%C3%A4ser%2C+Jagdhunde%2CBeyer%2C+Petzold%2C+Palm%2C+Melchert%2CBrockwitz%2CM%C3%BCller%2C+Hentschel%2C+Kienheide%2C+Ebersbach%2CG%C3%A4vernitz%2C+Linz%2C+Thiendorf%2C+Sachsen';
var metaContents  = 'Offizielle+Homepage+des+Jagdverbandes+Gro%C3%9Fenhain+e.V.';
					                                                                    
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 */					                                                            
