/* [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','4579',jdecode('Home'),jdecode(''),'/4579.html','true',[],''],
	['PAGE','93503',jdecode('Nachlese+Hausmesse+2009'),jdecode(''),'/93503.html','true',[],''],
	['PAGE','19355',jdecode('Lokomotiven'),jdecode(''),'/19355/home.html','true',[ 
		['PAGE','39768',jdecode('BR+01.10'),jdecode(''),'/19355/39768.html','true',[],''],
		['PAGE','44176',jdecode('BR+03'),jdecode(''),'/19355/44176.html','true',[],''],
		['PAGE','43460',jdecode('BR+18+%28S+3%2F6%29'),jdecode(''),'/19355/43460.html','true',[],''],
		['PAGE','72903',jdecode('BR+23'),jdecode(''),'/19355/72903.html','true',[],''],
		['PAGE','43469',jdecode('BR+39+%28P+10%29'),jdecode(''),'/19355/43469.html','true',[],''],
		['PAGE','25119',jdecode('BR+41+%2F+042'),jdecode(''),'/19355/25119.html','true',[],''],
		['PAGE','28419',jdecode('BR+44+%2F+043'),jdecode(''),'/19355/28419.html','true',[],''],
		['PAGE','45029',jdecode('BR+50'),jdecode(''),'/19355/45029.html','true',[],''],
		['PAGE','44185',jdecode('BR+57'),jdecode(''),'/19355/44185.html','true',[],''],
		['PAGE','86103',jdecode('BR+62'),jdecode(''),'/19355/86103.html','true',[],''],
		['PAGE','43134',jdecode('BR+65'),jdecode(''),'/19355/43134.html','true',[],''],
		['PAGE','25146',jdecode('BR+70'),jdecode(''),'/19355/25146.html','true',[],''],
		['PAGE','44194',jdecode('BR+85'),jdecode(''),'/19355/44194.html','true',[],''],
		['PAGE','43478',jdecode('BR+89'),jdecode(''),'/19355/43478.html','true',[],''],
		['PAGE','33019',jdecode('BR+91'),jdecode(''),'/19355/33019.html','true',[],''],
		['PAGE','28446',jdecode('BR+94'),jdecode(''),'/19355/28446.html','true',[],''],
		['PAGE','37733',jdecode('V+90+%2F+BR+290'),jdecode(''),'/19355/37733.html','true',[],''],
		['PAGE','72924',jdecode('VT+11.5+%2F+BR+601'),jdecode(''),'/19355/72924.html','true',[],''],
		['PAGE','43487',jdecode('Deutz+Rangierlok'),jdecode(''),'/19355/43487.html','true',[],'']
	],''],
	['PAGE','43409',jdecode('Waggons'),jdecode(''),'/43409/home.html','true',[ 
		['PAGE','72945',jdecode('D+36'),jdecode(''),'/43409/72945.html','true',[],''],
		['PAGE','43514',jdecode('Pw4%C3%BC+36+%2F+37'),jdecode(''),'/43409/43514.html','true',[],''],
		['PAGE','72966',jdecode('Doppelstock+DByg+546'),jdecode(''),'/43409/72966.html','true',[],''],
		['PAGE','43821',jdecode('Rheingold'),jdecode(''),'/43409/43821.html','true',[],''],
		['PAGE','43496',jdecode('Lokalbahnwagen'),jdecode(''),'/43409/43496.html','true',[],''],
		['PAGE','43532',jdecode('Ommr32+%2F+Xflmm57'),jdecode(''),'/43409/43532.html','true',[],''],
		['PAGE','43523',jdecode('Ommr32+%22Linz%22'),jdecode(''),'/43409/43523.html','true',[],''],
		['PAGE','43541',jdecode('Ommr33+%22Villach%22'),jdecode(''),'/43409/43541.html','true',[],''],
		['PAGE','43550',jdecode('DGW+266%2F33m%C2%B3'),jdecode(''),'/43409/43550.html','true',[],'']
	],''],
	['PAGE','43559',jdecode('Figuren+1%2F32+'),jdecode(''),'/43559/home.html','true',[ 
		['PAGE','95003',jdecode('Neuheiten'),jdecode(''),'/43559/95003.html','true',[],''],
		['PAGE','43250',jdecode('Lokpersonal'),jdecode(''),'/43559/43250.html','true',[],''],
		['PAGE','43568',jdecode('Bahnpersonal'),jdecode(''),'/43559/43568.html','true',[],''],
		['PAGE','43577',jdecode('Reisende'),jdecode(''),'/43559/43577.html','true',[],'']
	],''],
	['PAGE','88403',jdecode('Gleise'),jdecode(''),'/88403.html','true',[],''],
	['PAGE','53303',jdecode('Geb%C3%A4ude'),jdecode(''),'/53303/home.html','true',[ 
		['PAGE','53503',jdecode('Bahnw%C3%A4rterhaus'),jdecode(''),'/53303/53503.html','true',[],'']
	],''],
	['PAGE','86124',jdecode('Zubeh%C3%B6r'),jdecode(''),'/86124/home.html','true',[ 
		['PAGE','77803',jdecode('Signale'),jdecode(''),'/86124/77803.html','true',[],''],
		['PAGE','78203',jdecode('Form-Hauptsignale'),jdecode(''),'/86124/78203.html','true',[],''],
		['PAGE','53324',jdecode('Drehscheibe'),jdecode(''),'/86124/53324.html','true',[],'']
	],''],
	['PAGE','91603',jdecode('Bilder'),jdecode(''),'/91603.html','true',[],''],
	['PAGE','24825',jdecode('Termine'),jdecode(''),'/24825.html','true',[],''],
	['PAGE','32119',jdecode('Support%2FDownload'),jdecode(''),'/32119.html','true',[],''],
	['PAGE','13756',jdecode('Links'),jdecode(''),'/13756.html','true',[],''],
	['PAGE','19472',jdecode('Kontakt+%2F+Impressum'),jdecode(''),'/19472.html','true',[],''],
	['PAGE','19602',jdecode('Anfahrt'),jdecode(''),'/19602.html','true',[],''],
	['PAGE','45001',jdecode('Presse'),jdecode(''),'/45001.html','true',[],''],
	['PAGE','75003',jdecode('AGB%26%23x27%3Bs'),jdecode(''),'/75003.html','true',[],'']];
var siteelementCount=52;
theSitetree.topTemplateName='Startup';
theSitetree.paletteFamily='336699';
theSitetree.keyvisualId='1397';
theSitetree.keyvisualName='strasse_nacht.jpg';
theSitetree.fontsetId='237';
theSitetree.graphicsetId='285';
theSitetree.contentColor='002F2F';
theSitetree.contentBGColor='FFFFFF';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Startup',
				paletteFamily: 	'336699',
				keyvisualId: 	'1397',
				keyvisualName: 	'strasse_nacht.jpg',
				fontsetId: 		'237',
				graphicsetId: 	'285',
				contentColor: 	'002F2F',
				contentBGColor: 'FFFFFF',
				a_color: 		'336699',
				b_color: 		'333333',
				c_color: 		'000000',
				d_color: 		'FF0000',
				e_color: 		'FF0000',
				f_color: 		'FF0000',
				hasCustomLogo: 	'true',
				contentFontFace:'Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['2001']=webappMappings['2001-location']={
webappId:    '2001',
documentId:  '19602',
internalId:  'location',
customField: 'location'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4579',
internalId:  '',
customField: '20100407-131027'
};
webappMappings['1008']=webappMappings['1008-58208450']={
webappId:    '1008',
documentId:  '72903',
internalId:  '58208450',
customField: 'de:DE::;language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '19355',
internalId:  '',
customField: '20090525-132828'
};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '4579',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45029',
internalId:  '',
customField: '20100216-164548'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '72903',
internalId:  '',
customField: '20090618-095256'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '39768',
internalId:  '',
customField: '20091211-171743'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43460',
internalId:  '',
customField: '20090703-170858'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43469',
internalId:  '',
customField: '20080525-114853'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '25119',
internalId:  '',
customField: '20080414-125548'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '28419',
internalId:  '',
customField: '20080414-125528'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43134',
internalId:  '',
customField: '20080414-125943'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '25146',
internalId:  '',
customField: '20080414-130020'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43478',
internalId:  '',
customField: '20090307-174412'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '33019',
internalId:  '',
customField: '20090307-173137'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '28446',
internalId:  '',
customField: '20080414-130423'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '37733',
internalId:  '',
customField: '20080414-125215'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43487',
internalId:  '',
customField: '20090307-175943'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43409',
internalId:  '',
customField: '20090402-182815'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43496',
internalId:  '',
customField: '20080925-080614'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43821',
internalId:  '',
customField: '20081121-094103'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '72924',
internalId:  '',
customField: '20090511-200612'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43514',
internalId:  '',
customField: '20090402-183806'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43523',
internalId:  '',
customField: '20081026-205622'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43532',
internalId:  '',
customField: '20081026-205102'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43541',
internalId:  '',
customField: '20081026-212445'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43550',
internalId:  '',
customField: '20081026-214049'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43250',
internalId:  '',
customField: '20080414-222645'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43559',
internalId:  '',
customField: '20091211-173823'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43568',
internalId:  '',
customField: '20080414-221254'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43577',
internalId:  '',
customField: '20080414-221502'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44176',
internalId:  '',
customField: '20080609-155526'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '24825',
internalId:  '',
customField: '20100127-111828'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '32119',
internalId:  '',
customField: '20100316-123126'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13756',
internalId:  '',
customField: '20081001-182452'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '19472',
internalId:  '',
customField: '20090307-165340'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '75003',
internalId:  '',
customField: '20090307-165158'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '19602',
internalId:  '',
customField: '20080317-181639'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45001',
internalId:  '',
customField: '20090215-194938'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44185',
internalId:  '',
customField: '20090525-124406'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44194',
internalId:  '',
customField: '20080414-130143'
};
webappMappings['1008']=webappMappings['1008-47855462']={
webappId:    '1008',
documentId:  '45029',
internalId:  '47855462',
customField: 'de:DE::;language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '53303',
internalId:  '',
customField: '20080829-164951'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '53503',
internalId:  '',
customField: '20080923-084640'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '53324',
internalId:  '',
customField: '20080829-173859'
};
webappMappings['1501']=webappMappings['1501-1283435']={
webappId:    '1501',
documentId:  '4579',
internalId:  '1283435',
customField: '1501'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '72945',
internalId:  '',
customField: '20090402-183745'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '72966',
internalId:  '',
customField: '20090402-183917'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '77803',
internalId:  '',
customField: '20090314-165420'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '78203',
internalId:  '',
customField: '20091106-175253'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '86103',
internalId:  '',
customField: '20090618-102254'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '86124',
internalId:  '',
customField: '20090525-125720'
};
webappMappings['1008']=webappMappings['1008-61358067']={
webappId:    '1008',
documentId:  '86103',
internalId:  '61358067',
customField: 'de:DE::;language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '88403',
internalId:  '',
customField: '20090703-175829'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '91603',
internalId:  '',
customField: '20090814-205007'
};
webappMappings['1008']=webappMappings['1008-63171680']={
webappId:    '1008',
documentId:  '91603',
internalId:  '63171680',
customField: 'de:DE::;language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '93503',
internalId:  '',
customField: '20091211-183506'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '95003',
internalId:  '',
customField: '20091211-181050'
};
var canonHostname = 'cfawrk03.aul.t-online.de';
var accountId     = 'ATOIX0INVXXX';
var companyName   = 'KM1+Modellbau';
var htmlTitle	  = 'KM1+Modellbau';
var metaKeywords  = 'Modelle%2C+Modelleisenbahnen%2C+Spur1%2C+Messingmodelle%2C+Zubeh%C3%B6r%2C+Eisenbahn%2C+Dampflok%2C+Drehscheibe%2C+Geb%C3%A4ude%2C+1%2F32%2C+1%3A32%2C+Gauge+1%2C+G-Scale%2C+Verkauf%2C+Waggons%2C+Personenwagen%2C+G%C3%BCterwagen';
var metaContents  = 'Produkte+f%C3%BCr+Modellbahn+und+-+bau+in+Spur+1';
					                                                                    
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 */					                                                            
