/* [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','13667',jdecode('Home'),jdecode(''),'/13667.html','true',[],''],
	['PAGE','14201',jdecode('L3000'),jdecode(''),'/14201/home.html','true',[ 
		['PAGE','14206',jdecode('der+Anfang'),jdecode(''),'/14201/14206.html','true',[],''],
		['PAGE','14211',jdecode('Rahmen'),jdecode(''),'/14201/14211.html','true',[],''],
		['PAGE','14216',jdecode('F%C3%BChrerhaus'),jdecode(''),'/14201/14216.html','true',[],''],
		['PAGE','14221',jdecode('Aufbau'),jdecode(''),'/14201/14221.html','true',[],''],
		['PAGE','14226',jdecode('Motor'),jdecode(''),'/14201/14226.html','true',[],''],
		['PAGE','18101',jdecode('Sonstiges'),jdecode(''),'/14201/18101.html','true',[],'']
	],''],
	['PAGE','20701',jdecode('L1500'),jdecode(''),'/20701/home.html','true',[ 
		['PAGE','21101',jdecode('der+Anfang'),jdecode(''),'/20701/21101.html','true',[],''],
		['PAGE','21122',jdecode('Rahmen'),jdecode(''),'/20701/21122.html','true',[],''],
		['PAGE','21143',jdecode('F%C3%BChrerhaus'),jdecode(''),'/20701/21143.html','true',[],''],
		['PAGE','21164',jdecode('Aufbau'),jdecode(''),'/20701/21164.html','true',[],''],
		['PAGE','21185',jdecode('Motor'),jdecode(''),'/20701/21185.html','true',[],'']
	],''],
	['PAGE','13693',jdecode('Impressum'),jdecode(''),'/13693.html','true',[],''],
	['PAGE','19202',jdecode('Ausgrabungen'),jdecode(''),'/19202.html','true',[],''],
	['PAGE','25601',jdecode('Verkauf'),jdecode(''),'/25601.html','true',[],''],
	['PAGE','22806',jdecode('G%C3%A4stebuch'),jdecode(''),'/22806/home.html','true',[ 
		['PAGE','22801',jdecode('Eintr%C3%A4ge'),jdecode(''),'/22806/22801.html','true',[],'']
	],'']];
var siteelementCount=19;
theSitetree.topTemplateName='Maschine';
theSitetree.paletteFamily='53676B';
theSitetree.keyvisualId='1917';
theSitetree.keyvisualName='industry2.jpg';
theSitetree.fontsetId='319';
theSitetree.graphicsetId='372';
theSitetree.contentColor='FFFFFF';
theSitetree.contentBGColor='000000';
var theTemplate={
				name: 			'Maschine',
				paletteFamily: 	'53676B',
				keyvisualId: 	'1917',
				keyvisualName: 	'industry2.jpg',
				fontsetId: 		'319',
				graphicsetId: 	'372',
				contentColor: 	'FFFFFF',
				contentBGColor: '000000',
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				a_color: 		'19445F',
				b_color: 		'FFFFFF',
				c_color: 		'FFFFFF',
				d_color: 		'FFFFFF',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'false',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12'
			  };
var webappMappings = {};
webappMappings['1007']=webappMappings['1007-104fb709ae6']={
webappId:    '1007',
documentId:  '19202',
internalId:  '104fb709ae6',
customField: 'g.10jtmst2a.3u05k08s3r.3o'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13667',
internalId:  '',
customField: '20061225-125302'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14201',
internalId:  '',
customField: '20050703-083049'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '18101',
internalId:  '',
customField: '20061225-125945'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14206',
internalId:  '',
customField: '20050701-200953'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14211',
internalId:  '',
customField: '20050627-180512'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14216',
internalId:  '',
customField: '20050630-205233'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14221',
internalId:  '',
customField: '20050701-201118'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14226',
internalId:  '',
customField: '20060417-104959'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13693',
internalId:  '',
customField: '20050701-215621'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '19202',
internalId:  '',
customField: '20050731-162005'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '20701',
internalId:  '',
customField: '20080106-153914'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '21122',
internalId:  '',
customField: '20061226-115756'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '21101',
internalId:  '',
customField: '20061226-123606'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '21143',
internalId:  '',
customField: '20061226-154238'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '21164',
internalId:  '',
customField: '20061226-160223'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '21185',
internalId:  '',
customField: '20061226-145953'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '25601',
internalId:  '',
customField: '20080204-140920'
};
webappMappings['1002']=webappMappings['1002-22806atoix0in3wd1']={
webappId:    '1002',
documentId:  '22806',
internalId:  '22806atoix0in3wd1',
customField: 'action=form&icq=false'
};
webappMappings['1002']=webappMappings['1002-22806atoix0in3wd1']={
webappId:    '1002',
documentId:  '22801',
internalId:  '22806atoix0in3wd1',
customField: 'action=list'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '22806',
internalId:  '',
customField: '20080106-161031'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '22801',
internalId:  '',
customField: '20080106-161228'
};
var canonHostname = 'cfawrk05.aul.t-online.de';
var accountId     = 'ATOIX0IN3WD1';
var companyName   = 'Wehrmacht-Technik';
var htmlTitle	  = 'Mercedes-Benz+L3000';
var metaKeywords  = 'Suttner%2C+Wehrmacht%2C+Mercedes+LKW%2C+Mercedes+L3000%2C+Mercedes-Benz+L3000S%2C+L3000%2C+Motorinstandsetzung+LKW%2C+Oldtimermotoren%2C+Oldtimerinstandsetzung%2C+LKW+Instandsetzung%2C+RAL+7021%2C+OM65%2C+OM67%2C+Motorenbau%2C+';
var metaContents  = 'Willkommen+auf+der+Seite+%C3%BCber+Wehrmachtsfahrzeuge.+Auf+den+folgenden+Seiten+wollen+wir+Ihnen+die+Restauration+eines+3-Tonner+der+Wehrmacht+vorstellen.';
					                                                                    
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;                                                                     
	};                                                                               
/* EOF */					                                                            

