/* [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','39994',jdecode('Startseite'),jdecode(''),'/39994.html','true',[],''],
	['PAGE','40823',jdecode('gemeinsame+Aktivit%C3%A4ten'),jdecode(''),'/40823/home.html','true',[ 
		['PAGE','41066',jdecode('Feiern'),jdecode(''),'/40823/41066.html','true',[],''],
		['PAGE','40876',jdecode('Cabrio'),jdecode(''),'/40823/40876.html','true',[],''],
		['PAGE','40867',jdecode('Motorrad'),jdecode(''),'/40823/40867.html','true',[],''],
		['PAGE','40858',jdecode('Winter'),jdecode(''),'/40823/40858.html','true',[],''],
		['PAGE','41060',jdecode('Multimedia+Show+1'),jdecode(''),'/40823/41060.html','true',[],'']
	],''],
	['PAGE','40814',jdecode('was+so+alles+herum+liegt'),jdecode(''),'/40814/home.html','true',[ 
		['PAGE','40885',jdecode('Elektronik'),jdecode(''),'/40814/40885.html','true',[],''],
		['PAGE','41209',jdecode('Motorrad'),jdecode(''),'/40814/41209.html','true',[],''],
		['PAGE','41653',jdecode('BMW_K1200RS_Angebot'),jdecode(''),'/40814/41653.html','false',[],''],
		['PAGE','41898',jdecode('Tankrucksack'),jdecode(''),'/40814/41898.html','false',[],''],
		['PAGE','40894',jdecode('Schneesport'),jdecode(''),'/40814/40894.html','true',[],''],
		['PAGE','40903',jdecode('Sonstiges'),jdecode(''),'/40814/40903.html','true',[],'']
	],''],
	['PAGE','40832',jdecode('Links'),jdecode(''),'/40832.html','true',[],''],
	['PAGE','40841',jdecode('Kontakt'),jdecode(''),'/40841/home.html','true',[ 
		['PAGE','40965',jdecode('Anfahrt'),jdecode(''),'/40841/40965.html','true',[],''],
		['PAGE','41634',jdecode('Anfrage-Formular'),jdecode(''),'/40841/41634.html','true',[],'']
	],''],
	['PAGE','40942',jdecode('G%C3%A4stebuch'),jdecode(''),'/40942/home.html','true',[ 
		['PAGE','40941',jdecode('Eintr%C3%A4ge'),jdecode(''),'/40942/40941.html','true',[],'']
	],'']];
var siteelementCount=20;
theSitetree.topTemplateName='Qben';
theSitetree.paletteFamily='3871AA';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='17182';
theSitetree.graphicsetId='12657';
theSitetree.contentColor='4B4B8D';
theSitetree.contentBGColor='FFFFFF';
var theTemplate={
				hasFlashNavigation: 'true',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'true',
				hasCompanyname: 'false',
				name: 			'Qben',
				paletteFamily: 	'3871AA',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'17182',
				graphicsetId: 	'12657',
				contentColor: 	'4B4B8D',
				contentBGColor: 'FFFFFF',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'FFFFFF',
				d_color: 		'DC9E3C',
				e_color: 		'C976A5',
				f_color: 		'DC9E3C',
				hasCustomLogo: 	'true',
				contentFontFace:'Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '39994',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '39994',
internalId:  '',
customField: '20100523-183101'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40814',
internalId:  '',
customField: '20100524-002817'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40823',
internalId:  '',
customField: '20100524-193318'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40832',
internalId:  '',
customField: '20100523-174601'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40841',
internalId:  '',
customField: '20100524-000520'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40858',
internalId:  '',
customField: '20100524-195033'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40867',
internalId:  '',
customField: '20100521-155722'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40876',
internalId:  '',
customField: '20100521-155722'
};
webappMappings['1002']=webappMappings['1002-40942atoix0irs24o']={
webappId:    '1002',
documentId:  '40942',
internalId:  '40942atoix0irs24o',
customField: 'action=form&icq=false'
};
webappMappings['1002']=webappMappings['1002-40942atoix0irs24o']={
webappId:    '1002',
documentId:  '40941',
internalId:  '40942atoix0irs24o',
customField: 'action=list'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40942',
internalId:  '',
customField: '20100521-170433'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40941',
internalId:  '',
customField: '20100521-170433'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40885',
internalId:  '',
customField: '20100523-233221'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40894',
internalId:  '',
customField: '20100523-233842'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40903',
internalId:  '',
customField: '20100523-234156'
};
webappMappings['2001']=webappMappings['2001-location']={
webappId:    '2001',
documentId:  '40965',
internalId:  'location',
customField: 'language:de;country:DE;isIncluded:false;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40965',
internalId:  '',
customField: '20100521-183903'
};
webappMappings['1501']=webappMappings['1501-69047020']={
webappId:    '1501',
documentId:  '39994',
internalId:  '69047020',
customField: '1501'
};
webappMappings['7060']=webappMappings['7060-428e538d77bcad94078d1cb1aaf1930f']={
webappId:    '7060',
documentId:  '41060',
internalId:  '428e538d77bcad94078d1cb1aaf1930f',
customField: 'language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41060',
internalId:  '',
customField: '20100521-182709'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41066',
internalId:  '',
customField: '20100524-200851'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41209',
internalId:  '',
customField: '20100524-122738'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41634',
internalId:  '',
customField: '20100524-000706'
};
webappMappings['1008']=webappMappings['1008-69084884']={
webappId:    '1008',
documentId:  '41634',
internalId:  '69084884',
customField: 'de:DE::;language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41653',
internalId:  '',
customField: '20100524-123301'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41898',
internalId:  '',
customField: '20100525-161312'
};
var canonHostname = 'cfawrk04.aul.t-online.de';
var accountId     = 'ATOIX0IRS24O';
var companyName   = 'you%27re+welcome+++++H+o+i+z+i+n+g+e+r+';
var htmlTitle	  = '';
var metaKeywords  = '';
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 */					                                                            

