/* [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','5888',jdecode('Home'),jdecode(''),'/5888.html','true',[],''],
	['PAGE','82733',jdecode('Ersatzteile'),jdecode(''),'/82733.html','true',[],''],
	['PAGE','82760',jdecode('Service'),jdecode(''),'/82760/home.html','true',[ 
		['PAGE','84002',jdecode('Wartungen'),jdecode(''),'/82760/84002.html','true',[],''],
		['PAGE','83873',jdecode('AT-Motoren'),jdecode(''),'/82760/83873.html','true',[],''],
		['PAGE','129756',jdecode('Getriebe'),jdecode(''),'/82760/129756.html','true',[],''],
		['PAGE','130018',jdecode('AT-Getriebe'),jdecode(''),'/82760/130018.html','true',[],''],
		['PAGE','130027',jdecode('Achsen'),jdecode(''),'/82760/130027.html','true',[],''],
		['PAGE','83975',jdecode('Restaurationen'),jdecode(''),'/82760/83975.html','true',[],''],
		['PAGE','103445',jdecode('Motor-ESP+Pr%C3%BCfst%C3%A4nde'),jdecode(''),'/82760/103445.html','true',[],'']
	],''],
	['PAGE','82841',jdecode('Kontakt'),jdecode(''),'/82841.html','true',[],''],
	['PAGE','83032',jdecode('Wir+%C3%BCber+uns'),jdecode(''),'/83032/home.html','true',[ 
		['PAGE','83059',jdecode('Werkstatt'),jdecode(''),'/83032/83059.html','true',[],''],
		['PAGE','83086',jdecode('Unser+Team'),jdecode(''),'/83032/83086.html','true',[],'']
	],''],
	['PAGE','62562',jdecode('Feedback'),jdecode(''),'/62562/home.html','true',[ 
		['PAGE','62629',jdecode('Feedback+%28Folgeseite%29'),jdecode(''),'/62562/62629.html','false',[],'']
	],''],
	['PAGE','73433',jdecode('Anfahrt'),jdecode(''),'/73433.html','true',[],''],
	['PAGE','83663',jdecode('Links'),jdecode(''),'/83663.html','true',[],''],
	['PAGE','88519',jdecode('G%C3%A4stebuch'),jdecode(''),'/88519/home.html','true',[ 
		['PAGE','88520',jdecode('Eintr%C3%A4ge'),jdecode(''),'/88519/88520.html','true',[],'']
	],''],
	['PAGE','18935',jdecode('Impressum'),jdecode(''),'/18935.html','true',[],''],
	['PAGE','122246',jdecode('Nippelday+07'),jdecode(''),'/122246.html','true',[],''],
	['PAGE','124246',jdecode('Motorsch%C3%A4den'),jdecode(''),'/124246.html','true',[],'']];
var siteelementCount=23;
theSitetree.topTemplateName='Movement';
theSitetree.paletteFamily='333F65';
theSitetree.keyvisualId='1819';
theSitetree.keyvisualName='kv_dummy.jpg';
theSitetree.fontsetId='290';
theSitetree.graphicsetId='355';
theSitetree.contentColor='FFFFFF';
theSitetree.contentBGColor='333F65';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Movement',
				paletteFamily: 	'333F65',
				keyvisualId: 	'1819',
				keyvisualName: 	'kv_dummy.jpg',
				fontsetId: 		'290',
				graphicsetId: 	'355',
				contentColor: 	'FFFFFF',
				contentBGColor: '333F65',
				a_color: 		'333F65',
				b_color: 		'040507',
				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:  '5888',
internalId:  '1006',
customField: '1006'
};
webappMappings['1002']=webappMappings['1002-88519ATOIX0INVTU4']={
webappId:    '1002',
documentId:  '88519',
internalId:  '88519ATOIX0INVTU4',
customField: 'action=form&icq=false'
};
webappMappings['1001']=webappMappings['1001-atoix0invtu48868a554a4b4ed4c']={
webappId:    '1001',
documentId:  '62562',
internalId:  'atoix0invtu48868a554a4b4ed4c',
customField: ''
};
webappMappings['1002']=webappMappings['1002-88519ATOIX0INVTU4']={
webappId:    '1002',
documentId:  '88520',
internalId:  '88519ATOIX0INVTU4',
customField: 'action=list'
};
webappMappings['2001']=webappMappings['2001-location']={
webappId:    '2001',
documentId:  '73433',
internalId:  'location',
customField: 'language:de;country:DE;isIncluded:false;'
};
webappMappings['1001']=webappMappings['1001-atoix0invtu48868a554a4b4ed4c']={
webappId:    '1001',
documentId:  '62629',
internalId:  'atoix0invtu48868a554a4b4ed4c',
customField: 'followUp'
};
webappMappings['1501']=webappMappings['1501-1172908']={
webappId:    '1501',
documentId:  '5888',
internalId:  '1172908',
customField: '1501'
};
webappMappings['1007']=webappMappings['1007-105c3092ff3']={
webappId:    '1007',
documentId:  '122246',
internalId:  '105c3092ff3',
customField: 'g.10n1gibvj.26j3li8iio84l.6rn80'
};
webappMappings['1007']=webappMappings['1007-105c3092ff6']={
webappId:    '1007',
documentId:  '124246',
internalId:  '105c3092ff6',
customField: 'g.10n1gibvm.lajp8r2heo1s.6rn80'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5888',
internalId:  '',
customField: '20081012-165413'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '122246',
internalId:  '',
customField: '20070429-061941'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '82733',
internalId:  '',
customField: '20081109-135619'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '83663',
internalId:  '',
customField: '20060626-195318'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '82760',
internalId:  '',
customField: '20070211-141452'
};
webappMappings['1008']=webappMappings['1008-29874516']={
webappId:    '1008',
documentId:  '82733',
internalId:  '29874516',
customField: 'de:DE:'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '84002',
internalId:  '',
customField: '20050528-214016'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '83975',
internalId:  '',
customField: '20081109-135417'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '83032',
internalId:  '',
customField: '20081012-165555'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '83873',
internalId:  '',
customField: '20070527-191714'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '129756',
internalId:  '',
customField: '20051217-173638'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '130018',
internalId:  '',
customField: '20051223-115810'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '130027',
internalId:  '',
customField: '20051217-170433'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '103445',
internalId:  '',
customField: '20080910-055940'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '82841',
internalId:  '',
customField: '20070728-081059'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '83059',
internalId:  '',
customField: '20060202-191515'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '83086',
internalId:  '',
customField: '20050916-180317'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '62562',
internalId:  '',
customField: '20040730-094718'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '62629',
internalId:  '',
customField: '20040730-093951'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '73433',
internalId:  '',
customField: '20050123-075250'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '88519',
internalId:  '',
customField: '20050126-051018'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '88520',
internalId:  '',
customField: '20050126-051018'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '18935',
internalId:  '',
customField: '20070819-064715'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '124246',
internalId:  '',
customField: '20050614-191140'
};
webappMappings['1008']=webappMappings['1008-29874516']={
webappId:    '1008',
documentId:  '82841',
internalId:  '29874516',
customField: 'de:DE:'
};
var canonHostname = 'cfawrk07.aul.t-online.de';
var accountId     = 'ATOIX0INVTU4';
var companyName   = 'FALKE+Classic-Motors+GmbH';
var htmlTitle	  = 'Falke+Classic-Motors.de';
var metaKeywords  = 'Pagode%2COldtimer%2CMercedes%2CRestauration%2CReparaturen%2CMotoren%2CEinspritzsystem.Oldtimer-Motoren.';
var metaContents  = 'Mercedes+Oldtimer%2CPagoden-Service%2CMotor-Einstellung%2CMotor-%C3%9Cberholungen%2CRestauration+der+Karosserie.Getriebe%C3%BCberholung.Wartung+und+Inspektionen.';
					                                                                    
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 */					                                                            

