/* [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','23263',jdecode('Katalog'),jdecode(''),'/23263/home.html','true',[ 
		['PAGE','55529',jdecode('Fahrzeuge+H0'),jdecode(''),'/23263/55529.html','true',[],''],
		['PAGE','55588',jdecode('H0'),jdecode(''),'/23263/55588.html','true',[],''],
		['PAGE','55538',jdecode('N'),jdecode(''),'/23263/55538.html','true',[],''],
		['PAGE','45819',jdecode('Umbaus%C3%A4tze'),jdecode(''),'/23263/45819.html','true',[],'']
	],''],
	['PAGE','71701',jdecode('Meine+Partner'),jdecode(''),'/71701.html','true',[],''],
	['PAGE','45846',jdecode('Kontakt'),jdecode(''),'/45846/home.html','true',[ 
		['PAGE','58833',jdecode('Kontakt+%28Folgeseite%29'),jdecode(''),'/45846/58833.html','false',[],'']
	],''],
	['PAGE','32601',jdecode('Meine+Modelle'),jdecode(''),'/32601.html','true',[],''],
	['PAGE','32628',jdecode('Fahrzeuge'),jdecode(''),'/32628/home.html','true',[ 
		['PAGE','32655',jdecode('Zubeh%C3%B6r'),jdecode(''),'/32628/32655.html','true',[],'']
	],''],
	['PAGE','45319',jdecode('Rads%C3%A4tze'),jdecode(''),'/45319.html','true',[],''],
	['PAGE','32682',jdecode('Hobbies'),jdecode(''),'/32682/home.html','true',[ 
		['PAGE','32709',jdecode('Fotografie'),jdecode(''),'/32682/32709.html','true',[],''],
		['PAGE','32736',jdecode('Wandern'),jdecode(''),'/32682/32736.html','true',[],'']
	],''],
	['PAGE','14131',jdecode('G%C3%A4stebuch'),jdecode(''),'/14131/home.html','true',[ 
		['PAGE','14132',jdecode('Eintr%C3%A4ge'),jdecode(''),'/14131/14132.html','true',[],'']
	],''],
	['PAGE','23290',jdecode('Links'),jdecode(''),'/23290.html','true',[],'']];
var siteelementCount=19;
theSitetree.topTemplateName='TOI_Boutique_01';
theSitetree.paletteFamily='E8D3B6';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='33357';
theSitetree.graphicsetId='14228';
theSitetree.contentColor='FFFFFF';
theSitetree.contentBGColor='785B43';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'TOI_Boutique_01',
				paletteFamily: 	'E8D3B6',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'33357',
				graphicsetId: 	'14228',
				contentColor: 	'FFFFFF',
				contentBGColor: '785B43',
				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-14131ATOIX0IN3F5F']={
webappId:    '1002',
documentId:  '14131',
internalId:  '14131ATOIX0IN3F5F',
customField: 'action=form&icq=false'
};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '4579',
internalId:  '1006',
customField: '1006'
};
webappMappings['1501']=webappMappings['1501-430851']={
webappId:    '1501',
documentId:  '4579',
internalId:  '430851',
customField: '1501'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4579',
internalId:  '',
customField: '20100221-225733'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '23263',
internalId:  '',
customField: '20061231-141801'
};
webappMappings['1002']=webappMappings['1002-14131ATOIX0IN3F5F']={
webappId:    '1002',
documentId:  '14132',
internalId:  '14131ATOIX0IN3F5F',
customField: 'action=list'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '55529',
internalId:  '',
customField: '20050806-001107'
};
webappMappings['1001']=webappMappings['1001-atoix0in3f5f10a3860e424']={
webappId:    '1001',
documentId:  '45846',
internalId:  'atoix0in3f5f10a3860e424',
customField: ''
};
webappMappings['1001']=webappMappings['1001-atoix0in3f5f10a3860e424']={
webappId:    '1001',
documentId:  '58833',
internalId:  'atoix0in3f5f10a3860e424',
customField: 'followUp'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '55588',
internalId:  '',
customField: '20070406-225108'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '55538',
internalId:  '',
customField: '20070406-230118'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45819',
internalId:  '',
customField: '20050816-170004'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45846',
internalId:  '',
customField: '20061231-142929'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '58833',
internalId:  '',
customField: '20060326-230615'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '32601',
internalId:  '',
customField: '20100214-101220'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '32628',
internalId:  '',
customField: '20050226-122523'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '32655',
internalId:  '',
customField: '20050226-122839'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45319',
internalId:  '',
customField: '20100214-101648'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '32682',
internalId:  '',
customField: '20050816-170651'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '32709',
internalId:  '',
customField: '20050224-203457'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '32736',
internalId:  '',
customField: '20100214-105327'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14131',
internalId:  '',
customField: '20050220-232609'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14132',
internalId:  '',
customField: '20050220-232609'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '23290',
internalId:  '',
customField: '20061231-143345'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '71701',
internalId:  '',
customField: '20080926-204231'
};
var canonHostname = 'cfawrk10.aul.t-online.de';
var accountId     = 'ATOIX0IN3F5F';
var companyName   = 'preussenmodelle+berlin+-+das+Zubeh%C3%B6rprogramm';
var htmlTitle	  = 'preussenmodelle+berlin';
var metaKeywords  = 'fertigmodelle%2C+baus%C3%A4tze+%2Cbeschriftungen%2C+zubeh%C3%B6r+%2C+l%C3%A4nderbahn+%2CModelleisenbahn%2C+preussenmodelle%2CKPEV%2C+H0+%2B+N';
var metaContents  = 'Herstellung+von+Eisenbahnmodellen+der+KPEV+und+von+Kleinbahnen+Zubeh%C3%B6r+f%C3%BCr+die+Anlagengestaltung+Pferdefuhrwerke';
					                                                                    
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 */					                                                            
