/* [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','13765',jdecode('Start'),jdecode(''),'/13765.html','true',[],''],
	['PAGE','46648',jdecode('%C3%9Cber+uns'),jdecode(''),'/46648/home.html','true',[ 
		['PAGE','46669',jdecode('Geschichte'),jdecode(''),'/46648/46669.html','true',[],''],
		['PAGE','46690',jdecode('Trainer'),jdecode(''),'/46648/46690.html','true',[],''],
		['PAGE','46711',jdecode('Mitglieder'),jdecode(''),'/46648/46711.html','true',[],''],
		['PAGE','46732',jdecode('Vorstand'),jdecode(''),'/46648/46732.html','true',[],'']
	],''],
	['PAGE','46948',jdecode('Sparten'),jdecode(''),'/46948/home.html','true',[ 
		['PAGE','34265',jdecode('K%C3%BCckengarde'),jdecode(''),'/46948/34265.html','true',[],''],
		['PAGE','18811',jdecode('Juniorengarde'),jdecode(''),'/46948/18811.html','true',[],''],
		['PAGE','18816',jdecode('Funkengarde'),jdecode(''),'/46948/18816.html','true',[],''],
		['PAGE','37948',jdecode('Elferrat'),jdecode(''),'/46948/37948.html','true',[],''],
		['PAGE','32901',jdecode('las+bandidas'),jdecode(''),'/46948/32901.html','true',[],''],
		['PAGE','37969',jdecode('H%C3%B6rnles+Kelten'),jdecode(''),'/46948/37969.html','true',[],'']
	],''],
	['PAGE','35748',jdecode('Bilder'),jdecode(''),'/35748.html','true',[],''],
	['PAGE','19095',jdecode('Termine'),jdecode(''),'/19095.html','true',[],''],
	['PAGE','25117',jdecode('G%C3%A4stebuch'),jdecode(''),'/25117/home.html','true',[ 
		['PAGE','25118',jdecode('Eintr%C3%A4ge'),jdecode(''),'/25117/25118.html','true',[],'']
	],''],
	['PAGE','47548',jdecode('Forum%2FChat'),jdecode(''),'/47548.html','true',[],''],
	['PAGE','26401',jdecode('Aktuelles'),jdecode(''),'/26401.html','true',[],''],
	['PAGE','26406',jdecode('Sponsoren'),jdecode(''),'/26406.html','true',[],''],
	['PAGE','27322',jdecode('Links'),jdecode(''),'/27322.html','true',[],''],
	['PAGE','25901',jdecode('Kontakt'),jdecode(''),'/25901/home.html','true',[ 
		['PAGE','34549',jdecode('Kontakt+%28Folgeseite%29'),jdecode(''),'/25901/34549.html','false',[],'']
	],''],
	['PAGE','28401',jdecode('Impressum'),jdecode(''),'/28401.html','true',[],''],
	['PAGE','47748',jdecode('Mitglied+werden'),jdecode(''),'/47748.html','true',[],'']];
var siteelementCount=25;
theSitetree.topTemplateName='Theater';
theSitetree.paletteFamily='000004';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='10781';
theSitetree.graphicsetId='11141';
theSitetree.contentColor='FFFFFF';
theSitetree.contentBGColor='000000';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Theater',
				paletteFamily: 	'000004',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'10781',
				graphicsetId: 	'11141',
				contentColor: 	'FFFFFF',
				contentBGColor: '000000',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'680C0C',
				e_color: 		'680C0C',
				f_color: 		'680C0C',
				hasCustomLogo: 	'true',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '46669',
internalId:  '',
customField: '20090311-165137'
};
webappMappings['1002']=webappMappings['1002-25117atoix0in3cd3']={
webappId:    '1002',
documentId:  '25117',
internalId:  '25117atoix0in3cd3',
customField: 'action=form&icq=false'
};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '13765',
internalId:  '1006',
customField: '1006'
};
webappMappings['1002']=webappMappings['1002-25117atoix0in3cd3']={
webappId:    '1002',
documentId:  '25118',
internalId:  '25117atoix0in3cd3',
customField: 'action=list'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '18811',
internalId:  '',
customField: '20051015-180339'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '37969',
internalId:  '',
customField: '20060326-143759'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '32901',
internalId:  '',
customField: '20051018-224318'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13765',
internalId:  '',
customField: '20090312-174051'
};
webappMappings['1001']=webappMappings['1001-atoix0in3cd310456f26ff8']={
webappId:    '1001',
documentId:  '25901',
internalId:  'atoix0in3cd310456f26ff8',
customField: ''
};
webappMappings['1001']=webappMappings['1001-atoix0in3cd310456f26ff8']={
webappId:    '1001',
documentId:  '34549',
internalId:  'atoix0in3cd310456f26ff8',
customField: 'followUp'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '34265',
internalId:  '',
customField: '20050607-153634'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '46648',
internalId:  '',
customField: '20090311-165137'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '25117',
internalId:  '',
customField: '20050525-155858'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '46948',
internalId:  '',
customField: '20090311-165819'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '47548',
internalId:  '',
customField: '20100217-123206'
};
webappMappings['1003']=webappMappings['1003-atoix0in3cd311ff635c7bd']={
webappId:    '1003',
documentId:  '47548',
internalId:  'atoix0in3cd311ff635c7bd',
customField: 'de:DE::;language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '46690',
internalId:  '',
customField: '20090311-165137'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '46711',
internalId:  '',
customField: '20090311-165137'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '46732',
internalId:  '',
customField: '20090311-165137'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '18816',
internalId:  '',
customField: '20051028-144514'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '37948',
internalId:  '',
customField: '20060326-143759'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '35748',
internalId:  '',
customField: '20050610-202101'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '19095',
internalId:  '',
customField: '20051015-095015'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '25118',
internalId:  '',
customField: '20050525-155858'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '26401',
internalId:  '',
customField: '20060330-170325'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '26406',
internalId:  '',
customField: '20050610-100335'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '27322',
internalId:  '',
customField: '20050529-150046'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '25901',
internalId:  '',
customField: '20050610-102555'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '34549',
internalId:  '',
customField: '20050607-151706'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '28401',
internalId:  '',
customField: '20051015-095802'
};
var canonHostname = 'cfawrk10.aul.t-online.de';
var accountId     = 'ATOIX0IN3CD3';
var companyName   = '1.+Ehninger+Karnevalverein+e.V.';
var htmlTitle	  = 'Ehninger+Karnevalverein+e.V.';
var metaKeywords  = 'Tanzgarde%2Cblaue+Funken%2CTanzen%2CFasching%2CKarneval%2CFasnet%2CEhningen%2CEhninger%2CVerein%2CKarnevalverein%2CFasching%2Ctanzgarde%2Cgarde%2CGarde%2CVereine+in+Ehningen%2Cehningen%2Cehninger%2Cgardetanz%2CUniform%2CNarrenzunft%3BElferrat';
var metaContents  = 'Herzlich+Willkommen+beim+Ehninger+Karnevalverein';
					                                                                    
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 */					                                                            

