/* [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','40825',jdecode('G%C3%A4stebuch'),jdecode(''),'/40825/home.html','true',[ 
		['PAGE','40824',jdecode('Eintr%C3%A4ge'),jdecode(''),'/40825/40824.html','true',[],'']
	],''],
	['PAGE','40564',jdecode('Bahn-Termine'),jdecode(''),'/40564/home.html','true',[ 
		['PAGE','100201',jdecode('Tram-Termine'),jdecode(''),'/40564/100201.html','true',[],'']
	],''],
	['PAGE','87801',jdecode('Forum'),jdecode(''),'/87801.html','true',[],''],
	['PAGE','40582',jdecode('Projekte'),jdecode(''),'/40582/home.html','true',[ 
		['PAGE','40591',jdecode('Projekte'),jdecode(''),'/40582/40591.html','true',[],''],
		['PAGE','40600',jdecode('Vorstellungen'),jdecode(''),'/40582/40600.html','true',[],'']
	],''],
	['PAGE','86201',jdecode('Fotoalbun'),jdecode(''),'/86201/home.html','true',[ 
		['PAGE','102601',jdecode('Fotogalerie'),jdecode(''),'/86201/102601.html','true',[],''],
		['PAGE','105401',jdecode('44+1486-8'),jdecode(''),'/86201/105401.html','true',[],'']
	],''],
	['PAGE','45466',jdecode('Loks+in+MD'),jdecode(''),'/45466.html','true',[],''],
	['PAGE','85701',jdecode('BW+MD+-+HBF'),jdecode(''),'/85701/home.html','true',[ 
		['PAGE','97801',jdecode('BR+01.5+in+MD'),jdecode(''),'/85701/97801.html','true',[],''],
		['PAGE','100701',jdecode('BW+MD-Buckau'),jdecode(''),'/85701/100701.html','true',[],'']
	],''],
	['PAGE','85722',jdecode('Haldensleben'),jdecode(''),'/85722.html','true',[],''],
	['PAGE','85801',jdecode('Nebenbahnen'),jdecode(''),'/85801.html','true',[],''],
	['PAGE','45957',jdecode('Partnerseiten'),jdecode(''),'/45957.html','true',[],''],
	['PAGE','93201',jdecode('Web-Link'),jdecode(''),'/93201/home.html','true',[ 
		['PAGE','93222',jdecode('Bahn-Links'),jdecode(''),'/93201/93222.html','true',[],''],
		['PAGE','93243',jdecode('Trainz-Links'),jdecode(''),'/93201/93243.html','true',[],''],
		['PAGE','93264',jdecode('Sonstige+Links'),jdecode(''),'/93201/93264.html','true',[],'']
	],''],
	['PAGE','40618',jdecode('Web-Links'),jdecode(''),'/40618/home.html','false',[ 
		['PAGE','76022',jdecode('Trainzseiten'),jdecode(''),'/40618/76022.html','true',[],''],
		['PAGE','76043',jdecode('Realer+Bereich'),jdecode(''),'/40618/76043.html','true',[],''],
		['PAGE','76064',jdecode('Sonstige'),jdecode(''),'/40618/76064.html','true',[],'']
	],''],
	['PAGE','62501',jdecode('HSB+02%2F2009'),jdecode(''),'/62501.html','true',[],''],
	['PAGE','44889',jdecode('BW+Meiningen'),jdecode(''),'/44889.html','true',[],''],
	['PAGE','45439',jdecode('BW+Sta%C3%9Ffurt'),jdecode(''),'/45439.html','true',[],''],
	['PAGE','45448',jdecode('BW+Salzwedel'),jdecode(''),'/45448.html','true',[],''],
	['PAGE','45569',jdecode('Alstom+Stendal'),jdecode(''),'/45569.html','true',[],''],
	['PAGE','87501',jdecode('Multimedia'),jdecode(''),'/87501.html','true',[],''],
	['PAGE','86801',jdecode('Trainz'),jdecode(''),'/86801/home.html','true',[ 
		['PAGE','87001',jdecode('Screenshots'),jdecode(''),'/86801/87001.html','true',[],''],
		['PAGE','87022',jdecode('Repaints'),jdecode(''),'/86801/87022.html','true',[],''],
		['PAGE','87043',jdecode('Strecken'),jdecode(''),'/86801/87043.html','true',[],'']
	],''],
	['PAGE','45578',jdecode('Impressum'),jdecode(''),'/45578.html','true',[],''],
	['PAGE','87401',jdecode('Test1'),jdecode(''),'/87401.html','true',[],'']];
var siteelementCount=39;
theSitetree.topTemplateName='Akropolis';
theSitetree.paletteFamily='4A587F';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='10553';
theSitetree.graphicsetId='10449';
theSitetree.contentColor='FFFFFF';
theSitetree.contentBGColor='4A587F';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Akropolis',
				paletteFamily: 	'4A587F',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'10553',
				graphicsetId: 	'10449',
				contentColor: 	'FFFFFF',
				contentBGColor: '4A587F',
				a_color: 		'4A587F',
				b_color: 		'FFFFFF',
				c_color: 		'FFFFFF',
				d_color: 		'FFFFFF',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'true',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'true'
			  };
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: '20100729-162816'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '100201',
internalId:  '',
customField: '20100313-170520'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '93264',
internalId:  '',
customField: '20091227-003342'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40618',
internalId:  '',
customField: '20090830-165319'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40564',
internalId:  '',
customField: '20100729-162640'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40582',
internalId:  '',
customField: '20091209-054911'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40591',
internalId:  '',
customField: '20100301-122252'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40600',
internalId:  '',
customField: '20100301-122314'
};
webappMappings['1002']=webappMappings['1002-40825atoix0irw99k']={
webappId:    '1002',
documentId:  '40825',
internalId:  '40825atoix0irw99k',
customField: 'action=form&icq=false'
};
webappMappings['1002']=webappMappings['1002-40825atoix0irw99k']={
webappId:    '1002',
documentId:  '40824',
internalId:  '40825atoix0irw99k',
customField: 'action=list'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40825',
internalId:  '',
customField: '20080815-211351'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40824',
internalId:  '',
customField: '20080713-181938'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '100701',
internalId:  '',
customField: '20100320-103529'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45439',
internalId:  '',
customField: '20080913-100129'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44889',
internalId:  '',
customField: '20090910-141814'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '102601',
internalId:  '',
customField: '20100402-192428'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45448',
internalId:  '',
customField: '20080911-074507'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45466',
internalId:  '',
customField: '20100613-213644'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '85722',
internalId:  '',
customField: '20091224-152512'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45569',
internalId:  '',
customField: '20080913-093341'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45578',
internalId:  '',
customField: '20091209-055537'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '76043',
internalId:  '',
customField: '20091003-164921'
};
webappMappings['1007']=webappMappings['1007-127bf8d6b90']={
webappId:    '1007',
documentId:  '102601',
internalId:  '127bf8d6b90',
customField: 'g.14uvo9ap4.1p8vhur5rhv.3o'
};
webappMappings['7090']=webappMappings['7090-310953']={
webappId:    '7090',
documentId:  '40564',
internalId:  '310953',
customField: 'type:rss-2.0;language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '76064',
internalId:  '',
customField: '20091003-164921'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45957',
internalId:  '',
customField: '20091205-011359'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '97801',
internalId:  '',
customField: '20100228-123824'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '93222',
internalId:  '',
customField: '20100125-015620'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '93243',
internalId:  '',
customField: '20100216-142420'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '62501',
internalId:  '',
customField: '20090221-171502'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '93201',
internalId:  '',
customField: '20100117-133608'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '76022',
internalId:  '',
customField: '20091003-164921'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '85701',
internalId:  '',
customField: '20100116-205751'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '85801',
internalId:  '',
customField: '20091205-010821'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '86201',
internalId:  '',
customField: '20100402-193311'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '86801',
internalId:  '',
customField: '20100503-162633'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '87001',
internalId:  '',
customField: '20091205-013345'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '87022',
internalId:  '',
customField: '20100503-163141'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '87043',
internalId:  '',
customField: '20091205-013625'
};
webappMappings['7060']=webappMappings['7060-436fcc62bdcaea470b23e19de5c2565c']={
webappId:    '7060',
documentId:  '87401',
internalId:  '436fcc62bdcaea470b23e19de5c2565c',
customField: 'language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '87501',
internalId:  '',
customField: '20091205-014210'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '87401',
internalId:  '',
customField: '20091205-013947'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '87801',
internalId:  '',
customField: '20091205-022243'
};
webappMappings['1003']=webappMappings['1003-atoix0irw99k1255c4bdab6']={
webappId:    '1003',
documentId:  '87801',
internalId:  'atoix0irw99k1255c4bdab6',
customField: 'de:DE::;language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '105401',
internalId:  '',
customField: '20100613-213236'
};
var canonHostname = 'c4awrk06.aul.t-online.de';
var accountId     = 'ATOIX0IRW99K';
var companyName   = 'Eisenbahn+und+Trainz+-+Fansite';
var htmlTitle	  = 'Trainz-Vectrabaerchen-MD.de++++++KUID++195851';
var metaKeywords  = 'Trainz%2C+Magdeburg%2C+Vectrabaerchen%2C+Strassenbahn';
var metaContents  = 'Magdeburg+Virtuell.+Layoutschmiede+VB-MD+f%C3%BCr+Trainz.';
					                                                                    
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 */					                                                            
