/* [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','39994',jdecode('Startseite'),jdecode(''),'/39994.html','true',[],''],
	['PAGE','41771',jdecode('on+the+Road'),jdecode(''),'/41771.html','true',[],''],
	['PAGE','41336',jdecode('Projekte'),jdecode(''),'/41336.html','true',[],''],
	['PAGE','42163',jdecode('Yesterday'),jdecode(''),'/42163.html','true',[],''],
	['PAGE','42221',jdecode('1303'),jdecode(''),'/42221.html','true',[],''],
	['PAGE','42663',jdecode('03Movie'),jdecode(''),'/42663.html','true',[],''],
	['PAGE','41762',jdecode('Movie'),jdecode(''),'/41762.html','true',[],''],
	['PAGE','41676',jdecode('G%C3%A4stebuch'),jdecode(''),'/41676.html','true',[],''],
	['PAGE','41675',jdecode('Eintr%C3%A4ge'),jdecode(''),'/41675.html','true',[],'']];
var siteelementCount=9;
theSitetree.topTemplateName='TOI_Segel_1';
theSitetree.paletteFamily='000000';
theSitetree.keyvisualId='10723';
theSitetree.keyvisualName='kv_10723.jpg';
theSitetree.fontsetId='31817';
theSitetree.graphicsetId='13593';
theSitetree.contentColor='8E8C8C';
theSitetree.contentBGColor='FFFFFF';
var theTemplate={
				name: 			'TOI_Segel_1',
				paletteFamily: 	'000000',
				keyvisualId: 	'10723',
				keyvisualName: 	'kv_10723.jpg',
				fontsetId: 		'31817',
				graphicsetId: 	'13593',
				contentColor: 	'8E8C8C',
				contentBGColor: 'FFFFFF',
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'000000',
				f_color: 		'000000',
				hasCustomLogo: 	'false',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '39994',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '39994',
internalId:  '',
customField: '20070822-202408'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42663',
internalId:  '',
customField: '20071023-201441'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41336',
internalId:  '',
customField: '20080917-184323'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42163',
internalId:  '',
customField: '20070828-184930'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42221',
internalId:  '',
customField: '20070906-183339'
};
webappMappings['1002']=webappMappings['1002-41676atoix0i7v0ih']={
webappId:    '1002',
documentId:  '41676',
internalId:  '41676atoix0i7v0ih',
customField: 'action=form&icq=false'
};
webappMappings['1002']=webappMappings['1002-41676atoix0i7v0ih']={
webappId:    '1002',
documentId:  '41675',
internalId:  '41676atoix0i7v0ih',
customField: 'action=list'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41676',
internalId:  '',
customField: '20070724-185205'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41675',
internalId:  '',
customField: '20070724-185205'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41771',
internalId:  '',
customField: '20080504-195209'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41762',
internalId:  '',
customField: '20080904-221752'
};
webappMappings['7060']=webappMappings['7060-995993505a509ffa7fa6a1dcb26db846']={
webappId:    '7060',
documentId:  '42663',
internalId:  '995993505a509ffa7fa6a1dcb26db846',
customField: 'language:de;country:DE;'
};
var canonHostname = 'cfawrk08.aul.t-online.de';
var accountId     = 'ATOIX0I7V0IH';
var companyName   = '';
var htmlTitle	  = 'VW+K%C3%A4fer+1303';
var metaKeywords  = 'VW+K%C3%A4fer%2C+Beetle%2C+Bug%2CVolkswagen%2C+1303%2C+VW+K%C3%A4fertreffen%2C+VW+K%C3%A4ferbilder%2C+VW+K%C3%A4ferfilme%2CVW+K%C3%A4fervideos%2CRestauration%2C+Car%2C+Tunning%2C+Sport%2C+bug+movie%2C+car+movie%2C+movie%2C+beetle+movie%2C+picture%2C+videos%2C++filme%2C+k%C3%A4fer%2C+bilder%2C+';
var metaContents  = 'Private+Hompage+mit+Bildern+von+K%C3%A4fertreffen%2C+Restauration+und+Movies';
					                                                                    
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 */					                                                            

