/* [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('Startseite'),jdecode(''),'/4579.html','true',[],''],
	['PAGE','13673',jdecode('K%C3%A4fer'),jdecode(''),'/13673.html','true',[],''],
	['PAGE','91214',jdecode('Bullis%2C+luftgek%C3%BChlt'),jdecode(''),'/91214.html','true',[],''],
	['PAGE','93014',jdecode('Bulli%2C+wassergek%C3%BChlt'),jdecode(''),'/93014.html','true',[],''],
	['PAGE','91235',jdecode('Anh%C3%A4nger'),jdecode(''),'/91235.html','true',[],''],
	['PAGE','91256',jdecode('sonstiges'),jdecode(''),'/91256.html','true',[],''],
	['PAGE','15701',jdecode('K%C3%A4ferclub+und+Treffen'),jdecode(''),'/15701/home.html','true',[ 
		['PAGE','87277',jdecode('Treffen+2009'),jdecode(''),'/15701/87277.html','true',[],''],
		['PAGE','87298',jdecode('Treffen+2008'),jdecode(''),'/15701/87298.html','true',[],''],
		['PAGE','87214',jdecode('Treffen+2007'),jdecode(''),'/15701/87214.html','true',[],''],
		['PAGE','87235',jdecode('Treffen+2006'),jdecode(''),'/15701/87235.html','true',[],''],
		['PAGE','87256',jdecode('Treffen+2005'),jdecode(''),'/15701/87256.html','true',[],''],
		['PAGE','88614',jdecode('%C3%A4ltere+Treffen'),jdecode(''),'/15701/88614.html','true',[],'']
	],''],
	['PAGE','13688',jdecode('Wirkungsst%C3%A4tten'),jdecode(''),'/13688.html','true',[],''],
	['PAGE','112914',jdecode('Auto-+und+Zirkusmodelle'),jdecode(''),'/112914/home.html','true',[ 
		['PAGE','20601',jdecode('Zirkus+Krone'),jdecode(''),'/112914/20601.html','true',[],'']
	],''],
	['PAGE','13683',jdecode('Links%2C+Impressum'),jdecode(''),'/13683.html','true',[],''],
	['PAGE','14702',jdecode('G%C3%A4stebuch'),jdecode(''),'/14702/home.html','true',[ 
		['PAGE','14703',jdecode('Eintr%C3%A4ge'),jdecode(''),'/14702/14703.html','true',[],''],
		['PAGE','22114',jdecode('Passwortbereich'),jdecode(''),'/14702/22114.html','true',[],'']
	],'']];
var siteelementCount=20;
theSitetree.topTemplateName='Movement';
theSitetree.paletteFamily='AC2323';
theSitetree.keyvisualId='1819';
theSitetree.keyvisualName='kv_dummy.jpg';
theSitetree.fontsetId='290';
theSitetree.graphicsetId='356';
theSitetree.contentColor='FFFFFF';
theSitetree.contentBGColor='AC2323';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Movement',
				paletteFamily: 	'AC2323',
				keyvisualId: 	'1819',
				keyvisualName: 	'kv_dummy.jpg',
				fontsetId: 		'290',
				graphicsetId: 	'356',
				contentColor: 	'FFFFFF',
				contentBGColor: 'AC2323',
				a_color: 		'AC2323',
				b_color: 		'480F0F',
				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['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '4579',
internalId:  '1006',
customField: '1006'
};
webappMappings['1002']=webappMappings['1002-14702atoix0in2pw1']={
webappId:    '1002',
documentId:  '14702',
internalId:  '14702atoix0in2pw1',
customField: 'action=form&icq=false'
};
webappMappings['1002']=webappMappings['1002-14702atoix0in2pw1']={
webappId:    '1002',
documentId:  '14703',
internalId:  '14702atoix0in2pw1',
customField: 'action=list'
};
webappMappings['1501']=webappMappings['1501-21757257']={
webappId:    '1501',
documentId:  '4579',
internalId:  '21757257',
customField: '1501'
};
webappMappings['3001']=webappMappings['3001-']={
webappId:    '3001',
documentId:  '22114',
internalId:  '',
customField: ''
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4579',
internalId:  '',
customField: '20080914-150545'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13683',
internalId:  '',
customField: '20100817-114158'
};
webappMappings['1008']=webappMappings['1008-31185911']={
webappId:    '1008',
documentId:  '4579',
internalId:  '31185911',
customField: 'de:DE:'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '91256',
internalId:  '',
customField: '20090412-212737'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13673',
internalId:  '',
customField: '20080116-212436'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '15701',
internalId:  '',
customField: '20090531-171745'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '20601',
internalId:  '',
customField: '20091130-230732'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13688',
internalId:  '',
customField: '20090401-192737'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14702',
internalId:  '',
customField: '20060203-130703'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14703',
internalId:  '',
customField: '20050206-183347'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '22114',
internalId:  '',
customField: '20100817-131827'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '87214',
internalId:  '',
customField: '20081209-200749'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '112914',
internalId:  '',
customField: '20091130-230238'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '87298',
internalId:  '',
customField: '20090114-183835'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '88614',
internalId:  '',
customField: '20090114-183112'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '87256',
internalId:  '',
customField: '20071217-233246'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '87277',
internalId:  '',
customField: '20090708-203225'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '87235',
internalId:  '',
customField: '20071217-235503'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '91214',
internalId:  '',
customField: '20110126-225950'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '91235',
internalId:  '',
customField: '20100804-160509'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '93014',
internalId:  '',
customField: '20080116-212224'
};
var canonHostname = 'c4awrk01.aul.t-online.de';
var accountId     = 'ATOIX0IN2PW1';
var companyName   = '';
var htmlTitle	  = 'k%C3%A4fertom%C2%B4s+Homepage';
var metaKeywords  = 'VW+K%C3%A4fer%2CVW+Bus+T2+T3%2C+K%C3%A4fertreffen%2C+K%C3%A4ferfreunde+Frankenwald%2C+K%C3%A4ferfreunde+Hofer+Land';
var metaContents  = 'Private+Homepage+%C3%BCber+Volkswagen+K%C3%A4fer-+und+Bus-Verr%C3%BCckten+Autoliebhaber';
					                                                                    
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 */					                                                            

