/* [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('S+T+A+R+T+S+E+I+T+E'),jdecode(''),'/4579.html','true',[],''],
	['PAGE','375651',jdecode('V+C+K-R+A+L+L+Y+E+-+2010'),jdecode(''),'/375651/home.html','true',[ 
		['PAGE','378251',jdecode('N+E+N+N+U+N+G++2010'),jdecode(''),'/375651/378251.html','false',[],''],
		['PAGE','379151',jdecode('S+T+A+R+T+L+I+S+T+E+2010'),jdecode(''),'/375651/379151.html','false',[],''],
		['PAGE','141735',jdecode('S+I+E+G+E+R+-+2008'),jdecode(''),'/375651/141735.html','true',[],''],
		['PAGE','14430',jdecode('A+R+C+H+I+V'),jdecode(''),'/375651/14430.html','true',[],'']
	],''],
	['PAGE','276124',jdecode('G+A+L+E+R+I+E'),jdecode(''),'/276124.html','true',[],''],
	['PAGE','331251',jdecode('A+U+S+F+A+H+R+T+E+N'),jdecode(''),'/331251.html','true',[],''],
	['PAGE','283239',jdecode('G+%C3%84+S+T+E+B+U+C+H'),jdecode(''),'/283239/home.html','true',[ 
		['PAGE','283238',jdecode('E+I+N+T+R+%C3%84+G+E'),jdecode(''),'/283239/283238.html','true',[],'']
	],''],
	['PAGE','278269',jdecode('L+I+N+K+S'),jdecode(''),'/278269.html','true',[],''],
	['PAGE','291925',jdecode('Info+f.+Verkehrsteilnehmer'),jdecode(''),'/291925.html','true',[],''],
	['PAGE','282574',jdecode('Impressum'),jdecode(''),'/282574.html','true',[],''],
	['PAGE','275390',jdecode('Login'),jdecode(''),'/275390/home.html','true',[ 
		['PAGE','18801',jdecode('M+I+T+G+L+I+E+D+E+R'),jdecode(''),'/275390/18801.html','true',[],''],
		['PAGE','267707',jdecode('R+A+L+L+Y+E'),jdecode(''),'/275390/267707.html','true',[],''],
		['PAGE','9601',jdecode('R+E+G+L+E+M+E+N+T'),jdecode(''),'/275390/9601.html','true',[],'']
	],'']];
var siteelementCount=17;
theSitetree.topTemplateName='TOI_Theater_1';
theSitetree.paletteFamily='9DBED4';
theSitetree.keyvisualId='10753';
theSitetree.keyvisualName='kv_10753.jpg';
theSitetree.fontsetId='31808';
theSitetree.graphicsetId='13605';
theSitetree.contentColor='8E8C8C';
theSitetree.contentBGColor='000000';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'TOI_Theater_1',
				paletteFamily: 	'9DBED4',
				keyvisualId: 	'10753',
				keyvisualName: 	'kv_10753.jpg',
				fontsetId: 		'31808',
				graphicsetId: 	'13605',
				contentColor: 	'8E8C8C',
				contentBGColor: '000000',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'000000',
				f_color: 		'000000',
				hasCustomLogo: 	'true',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'true'
			  };
var webappMappings = {};
webappMappings['1008']=webappMappings['1008-37533677']={
webappId:    '1008',
documentId:  '378251',
internalId:  '37533677',
customField: 'de:DE::;language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '278269',
internalId:  '',
customField: '20091114-222618'
};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '4579',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '18801',
internalId:  '',
customField: '20100213-164648'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '141735',
internalId:  '',
customField: '20100212-122203'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14430',
internalId:  '',
customField: '20100111-205709'
};
webappMappings['3001']=webappMappings['3001-']={
webappId:    '3001',
documentId:  '275390',
internalId:  '',
customField: ''
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '276124',
internalId:  '',
customField: '20091114-164355'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4579',
internalId:  '',
customField: '20100214-143729'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '282574',
internalId:  '',
customField: '20090816-175851'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '331251',
internalId:  '',
customField: '20091108-110713'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '267707',
internalId:  '',
customField: '20100131-114717'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '9601',
internalId:  '',
customField: '20091115-130154'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '379151',
internalId:  '',
customField: '20100213-164917'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '275390',
internalId:  '',
customField: '20100113-220409'
};
webappMappings['1002']=webappMappings['1002-283239atoix0in3zo1']={
webappId:    '1002',
documentId:  '283239',
internalId:  '283239atoix0in3zo1',
customField: 'action=form&icq=false'
};
webappMappings['1002']=webappMappings['1002-283239atoix0in3zo1']={
webappId:    '1002',
documentId:  '283238',
internalId:  '283239atoix0in3zo1',
customField: 'action=list'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '283239',
internalId:  '',
customField: '20100214-104216'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '283238',
internalId:  '',
customField: '20090816-175420'
};
webappMappings['1011']=webappMappings['1011-ddp-auto']={
webappId:    '1011',
documentId:  '291925',
internalId:  'ddp-auto',
customField: 'language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '291925',
internalId:  '',
customField: '20091116-085918'
};
webappMappings['1501']=webappMappings['1501-402718']={
webappId:    '1501',
documentId:  '4579',
internalId:  '402718',
customField: '1501'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '378251',
internalId:  '',
customField: '20100214-105604'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '375651',
internalId:  '',
customField: '20100223-132913'
};
var canonHostname = 'cfawrk05.aul.t-online.de';
var accountId     = 'ATOIX0IN3ZO1';
var companyName   = '++++++Veteranen-Club-Kirchhellen';
var htmlTitle	  = 'Veteranen-Club-Kirchhellen';
var metaKeywords  = 'Oldtimer++historische+Motorr%C3%A4der++Motorrad+Oldtimer+Rallye++Kirchhellen++2000-Km-Deutschlandrundfahrt';
var metaContents  = 'Kirchhellen%2C+Veteranen-Club-Kirchhellen++VCK+%28gegr.+1982%29';
					                                                                    
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 */					                                                            
