/* [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','4579',jdecode('Home'),jdecode(''),'/4579.html','true',[],''],
	['PAGE','33201',jdecode('Wir+%C3%BCber+uns'),jdecode(''),'/33201.html','true',[],''],
	['PAGE','33236',jdecode('Termine%2FEvents'),jdecode(''),'/33236.html','true',[],''],
	['PAGE','33241',jdecode('Ausfahrten'),jdecode(''),'/33241.html','true',[],''],
	['PAGE','35702',jdecode('Bilder+Ausstellung+2003'),jdecode(''),'/35702.html','true',[],''],
	['PAGE','55601',jdecode('oldtimertreffen+2006'),jdecode(''),'/55601.html','true',[],''],
	['PAGE','55401',jdecode('oldtimertreffen+2007'),jdecode(''),'/55401.html','true',[],''],
	['PAGE','55301',jdecode('Oldtimertreffen+2008'),jdecode(''),'/55301.html','true',[],''],
	['PAGE','55101',jdecode('Oldtimertreffen+2009'),jdecode(''),'/55101.html','true',[],''],
	['PAGE','56301',jdecode('oldtimertreffen+2010'),jdecode(''),'/56301.html','true',[],''],
	['PAGE','54201',jdecode('Ausfahrt+zum+Racing+House'),jdecode(''),'/54201.html','true',[],''],
	['PAGE','48206',jdecode('G%C3%A4stebuch'),jdecode(''),'/48206/home.html','true',[ 
		['PAGE','48201',jdecode('Eintr%C3%A4ge'),jdecode(''),'/48206/48201.html','true',[],'']
	],''],
	['PAGE','54901',jdecode('Impressum'),jdecode(''),'/54901.html','true',[],'']];
var siteelementCount=14;
theSitetree.topTemplateName='Kreis';
theSitetree.paletteFamily='4D4CD2';
theSitetree.keyvisualId='580';
theSitetree.keyvisualName='speed.jpg';
theSitetree.fontsetId='124';
theSitetree.graphicsetId='140';
theSitetree.contentColor='FFFFFF';
theSitetree.contentBGColor='000000';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Kreis',
				paletteFamily: 	'4D4CD2',
				keyvisualId: 	'580',
				keyvisualName: 	'speed.jpg',
				fontsetId: 		'124',
				graphicsetId: 	'140',
				contentColor: 	'FFFFFF',
				contentBGColor: '000000',
				a_color: 		'4D4CD2',
				b_color: 		'7794F8',
				c_color: 		'000000',
				d_color: 		'FFFFFF',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'false',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '4579',
internalId:  '1006',
customField: '1006'
};
webappMappings['1007']=webappMappings['1007-100b70e7914']={
webappId:    '1007',
documentId:  '35702',
internalId:  '100b70e7914',
customField: 'g.102rft6e1.n9a3knv9pp.1s'
};
webappMappings['7060']=webappMappings['7060-1a050b98a5ceb42b3a9812e38d43c607']={
webappId:    '7060',
documentId:  '56301',
internalId:  '1a050b98a5ceb42b3a9812e38d43c607',
customField: 'language:de;country:DE;'
};
webappMappings['1002']=webappMappings['1002-48206atoix0in243r']={
webappId:    '1002',
documentId:  '48206',
internalId:  '48206atoix0in243r',
customField: 'action=form&icq=false'
};
webappMappings['1002']=webappMappings['1002-48206atoix0in243r']={
webappId:    '1002',
documentId:  '48201',
internalId:  '48206atoix0in243r',
customField: 'action=list'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4579',
internalId:  '',
customField: '20060512-101329'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '33201',
internalId:  '',
customField: '20041209-131700'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '33236',
internalId:  '',
customField: '20110331-194627'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '33241',
internalId:  '',
customField: '20041208-114344'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '35702',
internalId:  '',
customField: '20041209-100216'
};
webappMappings['1007']=webappMappings['1007-11d3abe5f03']={
webappId:    '1007',
documentId:  '54201',
internalId:  '11d3abe5f03',
customField: 'g.13ktbmv8q.c7lasjs7qi.1s'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '56301',
internalId:  '',
customField: '20100517-093841'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '48206',
internalId:  '',
customField: '20070419-123121'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '48201',
internalId:  '',
customField: '20070419-123121'
};
webappMappings['1501']=webappMappings['1501-23193998']={
webappId:    '1501',
documentId:  '4579',
internalId:  '23193998',
customField: '1501'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '54201',
internalId:  '',
customField: '20081026-210656'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '54901',
internalId:  '',
customField: '20090505-220221'
};
webappMappings['7060']=webappMappings['7060-c1838cc8cb11cdf0b0461802632f28d2']={
webappId:    '7060',
documentId:  '55101',
internalId:  'c1838cc8cb11cdf0b0461802632f28d2',
customField: 'language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '55101',
internalId:  '',
customField: '20090505-221422'
};
webappMappings['7060']=webappMappings['7060-7b2368acd03786931d0d1aea40d02da2']={
webappId:    '7060',
documentId:  '55301',
internalId:  '7b2368acd03786931d0d1aea40d02da2',
customField: 'language:de;country:DE;'
};
webappMappings['7060']=webappMappings['7060-e97392df9ecf14ddd4e015d1e77b4332']={
webappId:    '7060',
documentId:  '55401',
internalId:  'e97392df9ecf14ddd4e015d1e77b4332',
customField: 'language:de;country:DE;'
};
webappMappings['7060']=webappMappings['7060-693ecef623c854fe31cbc7f4ab621af9']={
webappId:    '7060',
documentId:  '55601',
internalId:  '693ecef623c854fe31cbc7f4ab621af9',
customField: 'language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '55601',
internalId:  '',
customField: '20090505-235619'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '55401',
internalId:  '',
customField: '20090505-235151'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '55301',
internalId:  '',
customField: '20090505-225351'
};
var canonHostname = 'c4awrk01.aul.t-online.de';
var accountId     = 'ATOIX0IN243R';
var companyName   = 'IG+Historische+Zweir%C3%A4der+Ro%C3%9Fdorf';
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 */					                                                            

