/* [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','13727',jdecode('Home'),jdecode(''),'/13727.html','true',[],''],
	['PAGE','31401',jdecode('Laubb%C3%A4ume+Spur+0+und+1'),jdecode(''),'/31401.html','true',[],''],
	['PAGE','52301',jdecode('Nadelb%C3%A4ume+Spur+0+und+1'),jdecode(''),'/52301.html','true',[],''],
	['PAGE','52322',jdecode('Landschatszubeh%C3%B6r+H0+bis+1'),jdecode(''),'/52322.html','true',[],''],
	['PAGE','52343',jdecode('Laub-und+Nadelb%C3%A4ume+H0'),jdecode(''),'/52343.html','true',[],''],
	['PAGE','31701',jdecode('Dioramen'),jdecode(''),'/31701/home.html','true',[ 
		['PAGE','32406',jdecode('1%3A87'),jdecode(''),'/31701/32406.html','true',[],''],
		['PAGE','32411',jdecode('1%3A45'),jdecode(''),'/31701/32411.html','true',[],''],
		['PAGE','32294',jdecode('1%3A35'),jdecode(''),'/31701/32294.html','true',[],''],
		['PAGE','32299',jdecode('1%3A32'),jdecode(''),'/31701/32299.html','true',[],''],
		['PAGE','32304',jdecode('1%3A16'),jdecode(''),'/31701/32304.html','true',[],'']
	],''],
	['PAGE','18911',jdecode('Kontakt'),jdecode(''),'/18911/home.html','true',[ 
		['PAGE','48502',jdecode('Kontakt+%28Folgeseite%29'),jdecode(''),'/18911/48502.html','false',[],'']
	],''],
	['PAGE','34301',jdecode('Preise+Spur+0+und+1'),jdecode(''),'/34301/home.html','true',[ 
		['PAGE','48601',jdecode('Bestellung'),jdecode(''),'/34301/48601/home.html','true',[ 
			['PAGE','48702',jdecode('Bestellung+%28Folgeseite%29'),jdecode(''),'/34301/48601/48702.html','false',[],'']
		],'']
	],''],
	['PAGE','52801',jdecode('Preise+Spur+H0'),jdecode(''),'/52801.html','true',[],''],
	['PAGE','54288',jdecode('Ausstellungen'),jdecode(''),'/54288.html','true',[],''],
	['PAGE','20401',jdecode('Impressum'),jdecode(''),'/20401.html','true',[],''],
	['PAGE','20902',jdecode('G%C3%A4stebuch'),jdecode(''),'/20902/home.html','true',[ 
		['PAGE','20903',jdecode('Eintr%C3%A4ge'),jdecode(''),'/20902/20903.html','true',[],'']
	],'']];
var siteelementCount=21;
theSitetree.topTemplateName='Movement';
theSitetree.paletteFamily='3E6E72';
theSitetree.keyvisualId='1819';
theSitetree.keyvisualName='kv_dummy.jpg';
theSitetree.fontsetId='290';
theSitetree.graphicsetId='354';
theSitetree.contentColor='FFFFFF';
theSitetree.contentBGColor='3E6E72';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Movement',
				paletteFamily: 	'3E6E72',
				keyvisualId: 	'1819',
				keyvisualName: 	'kv_dummy.jpg',
				fontsetId: 		'290',
				graphicsetId: 	'354',
				contentColor: 	'FFFFFF',
				contentBGColor: '3E6E72',
				a_color: 		'3E6E72',
				b_color: 		'101C1D',
				c_color: 		'FFFFFF',
				d_color: 		'FFFFFF',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'false',
				contentFontFace:'Times New Roman, Times, serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13727',
internalId:  '',
customField: '20091209-090409'
};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '13727',
internalId:  '1006',
customField: '1006'
};
webappMappings['1002']=webappMappings['1002-20902atoix0in2h9b']={
webappId:    '1002',
documentId:  '20902',
internalId:  '20902atoix0in2h9b',
customField: 'action=form&icq=false'
};
webappMappings['1002']=webappMappings['1002-20902atoix0in2h9b']={
webappId:    '1002',
documentId:  '20903',
internalId:  '20902atoix0in2h9b',
customField: 'action=list'
};
webappMappings['1001']=webappMappings['1001-atoix0in2h9b1049d788505']={
webappId:    '1001',
documentId:  '18911',
internalId:  'atoix0in2h9b1049d788505',
customField: ''
};
webappMappings['1001']=webappMappings['1001-atoix0in2h9b1049d788505']={
webappId:    '1001',
documentId:  '48502',
internalId:  'atoix0in2h9b1049d788505',
customField: 'followUp'
};
webappMappings['1001']=webappMappings['1001-atoix0in2h9b1049d828e21']={
webappId:    '1001',
documentId:  '48601',
internalId:  'atoix0in2h9b1049d828e21',
customField: ''
};
webappMappings['1001']=webappMappings['1001-atoix0in2h9b1049d828e21']={
webappId:    '1001',
documentId:  '48702',
internalId:  'atoix0in2h9b1049d828e21',
customField: 'followUp'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '34301',
internalId:  '',
customField: '20091209-084010'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '52801',
internalId:  '',
customField: '20091209-090137'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '31401',
internalId:  '',
customField: '20090414-114828'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '52301',
internalId:  '',
customField: '20090407-142504'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '52322',
internalId:  '',
customField: '20060512-122357'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '52343',
internalId:  '',
customField: '20081105-175233'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '31701',
internalId:  '',
customField: '20080125-104546'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '32406',
internalId:  '',
customField: '20050804-093754'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '32411',
internalId:  '',
customField: '20050504-121248'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '32294',
internalId:  '',
customField: '20050505-093905'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '32299',
internalId:  '',
customField: '20080125-103654'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '32304',
internalId:  '',
customField: '20080125-104331'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '18911',
internalId:  '',
customField: '20080909-152851'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '48502',
internalId:  '',
customField: '20050621-075658'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '48601',
internalId:  '',
customField: '20080304-120519'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '48702',
internalId:  '',
customField: '20050621-080756'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '54288',
internalId:  '',
customField: '20050807-113147'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '20401',
internalId:  '',
customField: '20050603-094502'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '20902',
internalId:  '',
customField: '20041228-185934'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '20903',
internalId:  '',
customField: '20041228-185934'
};
var canonHostname = 'cfawrk04.aul.t-online.de';
var accountId     = 'ATOIX0IN2H9B';
var companyName   = 'Exklusivminiatur';
var htmlTitle	  = 'Modellb%C3%A4ume%2C++Modellbaum%2C+Dioramen%2C+Spur+0%2C+Spur+1%2C+H0%2C++Modelleisenbahn';
var metaKeywords  = 'Modellb%C3%A4ume%2C+Model+Trees%2C+Model+Tree%2C+Modellbau%2C+Modelleisenbahn%2C+Diorama%2C+Dioramenbau%2C+Spur+H0%2C+Spur+1%2C+Spur+0%2C++Modellbaum';
var metaContents  = 'Modellb%C3%A4ume+und+Zubeh%C3%B6r+f%C3%BCr+Modellbahnanlagen+und+Dioramenbau.+Modellbaum';
					                                                                    
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 */					                                                            
