/* [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','13707',jdecode('Home'),jdecode(''),'/13707.html','true',[],''],
	['PAGE','30259',jdecode('Meister-Computer'),jdecode(''),'/30259.html','true',[],''],
	['PAGE','60372',jdecode('Nordschleife'),jdecode(''),'/60372/home.html','true',[ 
		['PAGE','60672',jdecode('BMW+-+Ringtaxi'),jdecode(''),'/60372/60672.html','true',[],''],
		['PAGE','60872',jdecode('Nordschleife+unangenehm%21'),jdecode(''),'/60372/60872.html','true',[],''],
		['PAGE','60893',jdecode('Meine+%22Bimmer%22'),jdecode(''),'/60372/60893.html','true',[],'']
	],''],
	['PAGE','82072',jdecode('HiFi%2BMusik'),jdecode(''),'/82072/home.html','true',[ 
		['PAGE','82093',jdecode('HiFi-Ger%C3%A4te'),jdecode(''),'/82072/82093.html','true',[],''],
		['PAGE','82114',jdecode('Musik'),jdecode(''),'/82072/82114.html','true',[],''],
		['PAGE','82272',jdecode('Mein+CD-Test'),jdecode(''),'/82072/82272.html','true',[],'']
	],''],
	['PAGE','13727',jdecode('Schach'),jdecode(''),'/13727/home.html','true',[ 
		['PAGE','25230',jdecode('Aktuell'),jdecode(''),'/13727/25230.html','true',[],''],
		['PAGE','37572',jdecode('Gary+Kasparov'),jdecode(''),'/13727/37572.html','true',[],''],
		['PAGE','13737',jdecode('Schachb%C3%BCcher'),jdecode(''),'/13727/13737.html','true',[],''],
		['PAGE','25320',jdecode('Taktik%2BEndspiel'),jdecode(''),'/13727/25320.html','true',[],''],
		['PAGE','25823',jdecode('L%C3%B6sungen'),jdecode(''),'/13727/25823.html','true',[],'']
	],''],
	['PAGE','31163',jdecode('Fotos'),jdecode(''),'/31163.html','true',[],''],
	['PAGE','13762',jdecode('G%C3%A4stebuch%2BLinks%2BKontakt'),jdecode(''),'/13762/home.html','true',[ 
		['PAGE','29160',jdecode('G%C3%A4stebuch'),jdecode(''),'/13762/29160.html','true',[],''],
		['PAGE','29161',jdecode('Eintr%C3%A4ge'),jdecode(''),'/13762/29161.html','true',[],'']
	],'']];
var siteelementCount=20;
theSitetree.topTemplateName='Basic';
theSitetree.paletteFamily='36566E';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='10829';
theSitetree.graphicsetId='11283';
theSitetree.contentColor='36566E';
theSitetree.contentBGColor='FFFFFF';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Basic',
				paletteFamily: 	'36566E',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'10829',
				graphicsetId: 	'11283',
				contentColor: 	'36566E',
				contentBGColor: 'FFFFFF',
				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['1002']=webappMappings['1002-29160atoix0in2tvm']={
webappId:    '1002',
documentId:  '29160',
internalId:  '29160atoix0in2tvm',
customField: 'action=form&icq=false'
};
webappMappings['1007']=webappMappings['1007-ffe6582901']={
webappId:    '1007',
documentId:  '31163',
internalId:  'ffe6582901',
customField: 'g.vvj5e27o.g7b25adcl.3o'
};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '13707',
internalId:  '1006',
customField: '1006'
};
webappMappings['1002']=webappMappings['1002-29160atoix0in2tvm']={
webappId:    '1002',
documentId:  '29161',
internalId:  '29160atoix0in2tvm',
customField: 'action=list'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '82114',
internalId:  '',
customField: '20091001-120059'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13762',
internalId:  '',
customField: '20110908-113805'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '30259',
internalId:  '',
customField: '20090223-183901'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13707',
internalId:  '',
customField: '20110908-113616'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '31163',
internalId:  '',
customField: '20110925-181127'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '60893',
internalId:  '',
customField: '20080803-092116'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '60672',
internalId:  '',
customField: '20100608-133014'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '60872',
internalId:  '',
customField: '20100420-172944'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13727',
internalId:  '',
customField: '20110909-130133'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '25230',
internalId:  '',
customField: '20061126-144655'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '37572',
internalId:  '',
customField: '20051223-105303'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '82093',
internalId:  '',
customField: '20091001-120059'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13737',
internalId:  '',
customField: '20091211-181337'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '82072',
internalId:  '',
customField: '20100225-181210'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '25320',
internalId:  '',
customField: '20041005-163606'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '25823',
internalId:  '',
customField: '20070418-142112'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '29160',
internalId:  '',
customField: '20041005-183343'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '29161',
internalId:  '',
customField: '20041006-212023'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '60372',
internalId:  '',
customField: '20080915-184800'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '82272',
internalId:  '',
customField: '20091015-180344'
};
var canonHostname = 'c4awrk01.aul.t-online.de';
var accountId     = 'ATOIX0IN2TVM';
var companyName   = 'Chessmichis+Hompage';
var htmlTitle	  = 'Chessmichi.de+-+Die+private+Webpage+von+Michael+Enderle';
var metaKeywords  = 'Schach+Michael+Enderle+Chessmichi+Nordschleife+Ringtaxi+BMW+Bimmer';
var metaContents  = 'Michael+Enderles+private+Webpage+Schach+%2F+BMW+und+Nordschleife+N%C3%BCrburgring';
					                                                                    
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 */					                                                            

