/* [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','40967',jdecode('Home'),jdecode(''),'/40967.html','true',[],''],
	['PAGE','41333',jdecode('News'),jdecode(''),'/41333.html','true',[],''],
	['PAGE','40976',jdecode('%C3%9Cber+mich'),jdecode(''),'/40976.html','true',[],''],
	['PAGE','77741',jdecode('Mein+Geburtsort+Petershagen'),jdecode(''),'/77741.html','true',[],''],
	['PAGE','41232',jdecode('Modellbahn'),jdecode(''),'/41232.html','true',[],''],
	['PAGE','93941',jdecode('Meine+neue+Anlage%2C+die+6.'),jdecode(''),'/93941.html','true',[],''],
	['PAGE','41291',jdecode('Modellbahn+Galerie+1'),jdecode(''),'/41291.html','true',[],''],
	['PAGE','41734',jdecode('Modellbahn+Galerie+2'),jdecode(''),'/41734.html','true',[],''],
	['PAGE','94041',jdecode('Modellbahn+Galerie+3++'),jdecode(''),'/94041.html','true',[],''],
	['PAGE','127841',jdecode('Modellbahn+Galerie+4'),jdecode(''),'/127841.html','true',[],''],
	['PAGE','146541',jdecode('Modellbahn+Galerie+5'),jdecode(''),'/146541.html','true',[],''],
	['PAGE','89941',jdecode('Andere+Modellbahnen'),jdecode(''),'/89941/home.html','true',[ 
		['PAGE','61941',jdecode('Bad+Driburg+1%2F+04.01.07'),jdecode(''),'/89941/61941.html','true',[],''],
		['PAGE','79841',jdecode('Bad+Driburg+2%2F+05.04.07'),jdecode(''),'/89941/79841.html','true',[],'']
	],''],
	['PAGE','62941',jdecode('Vorbild'),jdecode(''),'/62941.html','true',[],''],
	['PAGE','138641',jdecode('Up%60n+rasenden+Roland'),jdecode(''),'/138641.html','true',[],''],
	['PAGE','62962',jdecode('Bahnhof+Petershagen'),jdecode(''),'/62962.html','true',[],''],
	['PAGE','69941',jdecode('Bahnhof+Minden+%28Westf%29'),jdecode(''),'/69941.html','true',[],''],
	['PAGE','62983',jdecode('Bahnhof+Haste'),jdecode(''),'/62983.html','true',[],''],
	['PAGE','94741',jdecode('Abriss+Bahnhof+Haste+%3F+'),jdecode(''),'/94741.html','true',[],''],
	['PAGE','58941',jdecode('Bahnhof+Hamm'),jdecode(''),'/58941.html','true',[],''],
	['PAGE','41840',jdecode('Vorbild+Galerie+1'),jdecode(''),'/41840.html','true',[],''],
	['PAGE','44001',jdecode('Vorbild+Galerie+2'),jdecode(''),'/44001.html','true',[],''],
	['PAGE','93141',jdecode('Vorbild+Galerie+3'),jdecode(''),'/93141.html','true',[],''],
	['PAGE','114941',jdecode('Vorbild+Galerie+4'),jdecode(''),'/114941.html','true',[],''],
	['PAGE','41309',jdecode('G%C3%A4stebuch'),jdecode(''),'/41309/home.html','true',[ 
		['PAGE','41308',jdecode('Eintr%C3%A4ge'),jdecode(''),'/41309/41308.html','true',[],'']
	],''],
	['PAGE','41003',jdecode('Kontakt'),jdecode(''),'/41003.html','true',[],''],
	['PAGE','41012',jdecode('Links'),jdecode(''),'/41012.html','true',[],''],
	['PAGE','41021',jdecode('Impressum'),jdecode(''),'/41021.html','true',[],'']];
var siteelementCount=30;
theSitetree.topTemplateName='Activate';
theSitetree.paletteFamily='455339';
theSitetree.keyvisualId='2026';
theSitetree.keyvisualName='blanko.jpg';
theSitetree.fontsetId='338';
theSitetree.graphicsetId='392';
theSitetree.contentColor='FFFFFF';
theSitetree.contentBGColor='455339';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Activate',
				paletteFamily: 	'455339',
				keyvisualId: 	'2026',
				keyvisualName: 	'blanko.jpg',
				fontsetId: 		'338',
				graphicsetId: 	'392',
				contentColor: 	'FFFFFF',
				contentBGColor: '455339',
				a_color: 		'455339',
				b_color: 		'FFFFFF',
				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:  '44',
internalId:  '1006',
customField: '1006'
};
webappMappings['1008']=webappMappings['1008-21771180']={
webappId:    '1008',
documentId:  '41003',
internalId:  '21771180',
customField: 'de:DE:'
};
webappMappings['1007']=webappMappings['1007-10dd549f4d6']={
webappId:    '1007',
documentId:  '41291',
internalId:  '10dd549f4d6',
customField: 'g.11naka6h8.moev7finuc.3o'
};
webappMappings['1002']=webappMappings['1002-41309atoix0i7885v']={
webappId:    '1002',
documentId:  '41309',
internalId:  '41309atoix0i7885v',
customField: 'action=form&icq=false'
};
webappMappings['1002']=webappMappings['1002-41309atoix0i7885v']={
webappId:    '1002',
documentId:  '41308',
internalId:  '41309atoix0i7885v',
customField: 'action=list'
};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '40967',
internalId:  '1006',
customField: '1006'
};
webappMappings['1007']=webappMappings['1007-10de5d6e379']={
webappId:    '1007',
documentId:  '41734',
internalId:  '10de5d6e379',
customField: 'g.11nisqvve.1k9vf8u4ag.3o'
};
webappMappings['1007']=webappMappings['1007-10e0077563a']={
webappId:    '1007',
documentId:  '41840',
internalId:  '10e0077563a',
customField: 'g.11o065v3m.p8hafs3n5.3o'
};
webappMappings['1007']=webappMappings['1007-10e23f8c7b5']={
webappId:    '1007',
documentId:  '44001',
internalId:  '10e23f8c7b5',
customField: 'g.11ohuht4d.i7522eepg5.3o'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40967',
internalId:  '',
customField: '20120123-153957'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41291',
internalId:  '',
customField: '20060925-185549'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41734',
internalId:  '',
customField: '20080531-151005'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41840',
internalId:  '',
customField: '20061029-175850'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44001',
internalId:  '',
customField: '20070925-132726'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '146541',
internalId:  '',
customField: '20120110-194538'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41333',
internalId:  '',
customField: '20120110-193540'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40976',
internalId:  '',
customField: '20100927-143758'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41232',
internalId:  '',
customField: '20070926-111643'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41309',
internalId:  '',
customField: '20061010-162028'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41308',
internalId:  '',
customField: '20060922-143050'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41003',
internalId:  '',
customField: '20060922-000257'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41012',
internalId:  '',
customField: '20110719-144442'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41021',
internalId:  '',
customField: '20100318-114113'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '58941',
internalId:  '',
customField: '20070303-145150'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '61941',
internalId:  '',
customField: '20071206-115948'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '62941',
internalId:  '',
customField: '20070206-134845'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '62962',
internalId:  '',
customField: '20100808-153847'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '62983',
internalId:  '',
customField: '20100317-162354'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '69941',
internalId:  '',
customField: '20070206-184820'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '74641',
internalId:  '',
customField: '20070509-203440'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '93941',
internalId:  '',
customField: '20071214-115813'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '127841',
internalId:  '',
customField: '20110208-174200'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '77741',
internalId:  '',
customField: '20070917-153240'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '79841',
internalId:  '',
customField: '20071206-120333'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '93141',
internalId:  '',
customField: '20100526-162529'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '114941',
internalId:  '',
customField: '20080915-113421'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '138641',
internalId:  '',
customField: '20110719-143643'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '89941',
internalId:  '',
customField: '20080320-102113'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '94041',
internalId:  '',
customField: '20100110-134350'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '94741',
internalId:  '',
customField: '20100927-141146'
};
var canonHostname = 'c4awrk02.aul.t-online.de';
var accountId     = 'ATOIX0I7885V';
var companyName   = 'peterlustich+-+die+eisenbahnseite';
var htmlTitle	  = 'peterlustich+-+die+eisenbahnseite';
var metaKeywords  = 'Peter+G%C3%B6bel%2C+Modellbahn%2C+Modellbau%2C+Vorbild%2C+Bahnhof+Haste%2C+DB%2C+DEW%2C+HEF%2C+RStE%2C+MKB%2C+AKN%2C+R%C3%BCKB';
var metaContents  = 'Peter+G%C3%B6bel%2C+Homepage+%C3%BCber+H0+Modellbahn%2C+deren+Bau+und+dem+gro%C3%9Fen+Vorbild++';
					                                                                    
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 */					                                                            

