/* [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','14301',jdecode('Home'),jdecode(''),'/14301.html','true',[],''],
	['PAGE','14307',jdecode('Wir+%C3%BCber+uns'),jdecode(''),'/14307.html','true',[],''],
	['PAGE','17024',jdecode('Informationen'),jdecode(''),'/17024/home.html','true',[ 
		['PAGE','17714',jdecode('Beitrittserkl%C3%A4rung'),jdecode(''),'/17024/17714.html','true',[],'']
	],''],
	['PAGE','18814',jdecode('Photo+Impressionen'),jdecode(''),'/18814/home.html','true',[ 
		['PAGE','18819',jdecode('Gro%C3%9Fer+Garten'),jdecode(''),'/18814/18819.html','true',[],''],
		['PAGE','18824',jdecode('Berggarten'),jdecode(''),'/18814/18824.html','true',[],''],
		['PAGE','18829',jdecode('Georgengarten'),jdecode(''),'/18814/18829.html','true',[],''],
		['PAGE','18834',jdecode('Welfengarten'),jdecode(''),'/18814/18834.html','true',[],'']
	],''],
	['PAGE','14442',jdecode('Vereinsnachrichten'),jdecode(''),'/14442.html','true',[],''],
	['PAGE','14452',jdecode('Kontakt'),jdecode(''),'/14452/home.html','true',[ 
		['PAGE','14802',jdecode('Kontakt+%28Folgeseite%29'),jdecode(''),'/14452/14802.html','false',[],'']
	],''],
	['PAGE','14457',jdecode('Links'),jdecode(''),'/14457.html','true',[],''],
	['PAGE','14462',jdecode('Impressum'),jdecode(''),'/14462.html','true',[],'']];
var siteelementCount=14;
theSitetree.topTemplateName='Seifenblase';
theSitetree.paletteFamily='69C151';
theSitetree.keyvisualId='2353';
theSitetree.keyvisualName='blanko.jpg';
theSitetree.fontsetId='379';
theSitetree.graphicsetId='428';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='FFFFFF';
var theTemplate={
				name: 			'Seifenblase',
				paletteFamily: 	'69C151',
				keyvisualId: 	'2353',
				keyvisualName: 	'blanko.jpg',
				fontsetId: 		'379',
				graphicsetId: 	'428',
				contentColor: 	'000000',
				contentBGColor: 'FFFFFF',
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				a_color: 		'FFFFFF',
				b_color: 		'FFFFFF',
				c_color: 		'FFFFFF',
				d_color: 		'339900',
				e_color: 		'33CC00',
				f_color: 		'66CC66',
				hasCustomLogo: 	'false',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12'
			  };
var webappMappings = {};
webappMappings['1001']=webappMappings['1001-atoix0in2ozdff07a3bcd3']={
webappId:    '1001',
documentId:  '14452',
internalId:  'atoix0in2ozdff07a3bcd3',
customField: ''
};
webappMappings['1001']=webappMappings['1001-atoix0in2ozdff07a3bcd3']={
webappId:    '1001',
documentId:  '14802',
internalId:  'atoix0in2ozdff07a3bcd3',
customField: 'followUp'
};
webappMappings['3001']=webappMappings['3001-']={
webappId:    '3001',
documentId:  '17024',
internalId:  '',
customField: ''
};
webappMappings['3001']=webappMappings['3001-']={
webappId:    '3001',
documentId:  '14462',
internalId:  '',
customField: ''
};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '14301',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14301',
internalId:  '',
customField: '20050713-195850'
};
webappMappings['3001']=webappMappings['3001-']={
webappId:    '3001',
documentId:  '14457',
internalId:  '',
customField: ''
};
webappMappings['3001']=webappMappings['3001-']={
webappId:    '3001',
documentId:  '14452',
internalId:  '',
customField: ''
};
webappMappings['3001']=webappMappings['3001-']={
webappId:    '3001',
documentId:  '14442',
internalId:  '',
customField: ''
};
webappMappings['3001']=webappMappings['3001-']={
webappId:    '3001',
documentId:  '14307',
internalId:  '',
customField: ''
};
webappMappings['3001']=webappMappings['3001-']={
webappId:    '3001',
documentId:  '17714',
internalId:  '',
customField: ''
};
webappMappings['3001']=webappMappings['3001-']={
webappId:    '3001',
documentId:  '14301',
internalId:  '',
customField: ''
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '17024',
internalId:  '',
customField: '20070205-203712'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14307',
internalId:  '',
customField: '20050216-163635'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14462',
internalId:  '',
customField: '20070205-204137'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14457',
internalId:  '',
customField: '20070205-204238'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '17714',
internalId:  '',
customField: '20050216-164120'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '18814',
internalId:  '',
customField: '20050713-200649'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '18819',
internalId:  '',
customField: '20050226-112950'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '18824',
internalId:  '',
customField: '20050226-113802'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '18829',
internalId:  '',
customField: '20050226-113304'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '18834',
internalId:  '',
customField: '20050226-113331'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14442',
internalId:  '',
customField: '20050713-194018'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14452',
internalId:  '',
customField: '20050713-194751'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14802',
internalId:  '',
customField: '20040916-162711'
};
var canonHostname = 'cfawrk09.aul.t-online.de';
var accountId     = 'ATOIX0IN2OZD';
var companyName   = 'Freunde+der+Herrenh%C3%A4user+G%C3%A4rten+e.+V.';
var htmlTitle	  = 'Freunde+der+Herrenh%C3%A4user+G%C3%A4rten+e.V.';
var metaKeywords  = 'Herrenh%C3%A4user-G%C3%A4rten-Verein';
var metaContents  = 'Informationen+%C3%BCber+den+Verein+der+Freunde+der+Herrenh%C3%A4user+G%C3%A4rten+%21';
					                                                                    
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;                                                                     
	};                                                                               
/* EOF */					                                                            

