/* [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','13780',jdecode('Home'),jdecode(''),'/13780.html','true',[],''],
	['PAGE','14328',jdecode('Termine+2011+%2F+2012'),jdecode(''),'/14328.html','true',[],''],
	['PAGE','61601',jdecode('Plakate+2011%2F2012'),jdecode(''),'/61601.html','true',[],''],
	['PAGE','63101',jdecode('1.+Aape-Kids+Tour'),jdecode(''),'/63101.html','true',[],''],
	['PAGE','38286',jdecode('Aape+-Bilder++'),jdecode(''),'/38286/home.html','true',[ 
		['PAGE','38667',jdecode('N%C3%A4rrischer+Nachmittag+2012'),jdecode(''),'/38286/38667.html','true',[],''],
		['PAGE','42301',jdecode('Gala+2011'),jdecode(''),'/38286/42301.html','true',[],''],
		['PAGE','39522',jdecode('Rosenmontag+2011'),jdecode(''),'/38286/39522.html','true',[],''],
		['PAGE','80301',jdecode('11.11.2011'),jdecode(''),'/38286/80301.html','true',[],'']
	],''],
	['PAGE','45401',jdecode('Was+man+%C3%BCber+uns+schreibt'),jdecode(''),'/45401.html','true',[],''],
	['PAGE','14355',jdecode('Chronik'),jdecode(''),'/14355.html','true',[],''],
	['PAGE','14627',jdecode('Vorstand'),jdecode(''),'/14627.html','true',[],''],
	['PAGE','14463',jdecode('Kontakt'),jdecode(''),'/14463/home.html','true',[ 
		['PAGE','14581',jdecode('Kontakt+%28Folgeseite%29'),jdecode(''),'/14463/14581.html','false',[],''],
		['PAGE','32732',jdecode('Vereinsgast%C3%A4tte'),jdecode(''),'/14463/32732.html','true',[],'']
	],''],
	['PAGE','19342',jdecode('G%C3%A4stebuch'),jdecode(''),'/19342/home.html','true',[ 
		['PAGE','19343',jdecode('Eintr%C3%A4ge'),jdecode(''),'/19342/19343.html','true',[],'']
	],''],
	['PAGE','33333',jdecode('Anfahrt'),jdecode(''),'/33333.html','true',[],''],
	['PAGE','33645',jdecode('Links'),jdecode(''),'/33645.html','true',[],''],
	['PAGE','14517',jdecode('Impressum'),jdecode(''),'/14517.html','true',[],'']];
var siteelementCount=20;
theSitetree.topTemplateName='Stylus';
theSitetree.paletteFamily='DB7A7A';
theSitetree.keyvisualId='2054';
theSitetree.keyvisualName='blanko.jpg';
theSitetree.fontsetId='329';
theSitetree.graphicsetId='386';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='FFFFFF';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Stylus',
				paletteFamily: 	'DB7A7A',
				keyvisualId: 	'2054',
				keyvisualName: 	'blanko.jpg',
				fontsetId: 		'329',
				graphicsetId: 	'386',
				contentColor: 	'000000',
				contentBGColor: 'FFFFFF',
				a_color: 		'DB7A7A',
				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:     'false'
			  };
var webappMappings = {};
webappMappings['1001']=webappMappings['1001-atoix0inv1q411199d2db3762521']={
webappId:    '1001',
documentId:  '14463',
internalId:  'atoix0inv1q411199d2db3762521',
customField: ''
};
webappMappings['1001']=webappMappings['1001-atoix0inv1q411199d2db3762521']={
webappId:    '1001',
documentId:  '14581',
internalId:  'atoix0inv1q411199d2db3762521',
customField: 'followUp'
};
webappMappings['1002']=webappMappings['1002-19342ATOIX0INV1Q4']={
webappId:    '1002',
documentId:  '19342',
internalId:  '19342ATOIX0INV1Q4',
customField: 'action=form&icq=false'
};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '13780',
internalId:  '1006',
customField: '1006'
};
webappMappings['1501']=webappMappings['1501-629254']={
webappId:    '1501',
documentId:  '13780',
internalId:  '629254',
customField: '1501'
};
webappMappings['2001']=webappMappings['2001-location']={
webappId:    '2001',
documentId:  '33333',
internalId:  'location',
customField: 'language:de;country:DE;isIncluded:false;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45401',
internalId:  '',
customField: '20110222-132237'
};
webappMappings['1002']=webappMappings['1002-19342ATOIX0INV1Q4']={
webappId:    '1002',
documentId:  '19343',
internalId:  '19342ATOIX0INV1Q4',
customField: 'action=list'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13780',
internalId:  '',
customField: '20110220-180320'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42301',
internalId:  '',
customField: '20110228-115734'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '39522',
internalId:  '',
customField: '20110531-235239'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '38286',
internalId:  '',
customField: '20120209-185437'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '61601',
internalId:  '',
customField: '20111103-163104'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14328',
internalId:  '',
customField: '20120203-102153'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14355',
internalId:  '',
customField: '20070109-144330'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14627',
internalId:  '',
customField: '20120118-101224'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14463',
internalId:  '',
customField: '20040625-095741'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14581',
internalId:  '',
customField: '20040625-095113'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '32732',
internalId:  '',
customField: '20050111-115929'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '19342',
internalId:  '',
customField: '20040625-112702'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '19343',
internalId:  '',
customField: '20040625-112702'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '33645',
internalId:  '',
customField: '20110610-120703'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14517',
internalId:  '',
customField: '20060407-090322'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '33333',
internalId:  '',
customField: '20050112-013640'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '38667',
internalId:  '',
customField: '20120208-214901'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '63101',
internalId:  '',
customField: '20101005-015551'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '80301',
internalId:  '',
customField: '20111115-180756'
};
var canonHostname = 'c4awrk03.aul.t-online.de';
var accountId     = 'ATOIX0INV1Q4';
var companyName   = 'RKG+Rather+Aape';
var htmlTitle	  = 'RKG+Rather+Aape';
var metaKeywords  = '0';
var metaContents  = '';
					                                                                    
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 */					                                                            

