/* [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','13766',jdecode('Home'),jdecode(''),'/13766.html','true',[],''],
	['PAGE','44601',jdecode('Unser+Web-Shop'),jdecode(''),'/44601.html','true',[],''],
	['PAGE','13777',jdecode('Unser+Ebay-Shop'),jdecode(''),'/13777.html','true',[],''],
	['PAGE','64601',jdecode('Unser+Ladengesch%C3%A4ft'),jdecode(''),'/64601.html','true',[],''],
	['PAGE','33511',jdecode('Wir+ueber+uns'),jdecode(''),'/33511.html','true',[],''],
	['PAGE','45101',jdecode('MTH+Homepage'),jdecode(''),'/45101.html','true',[],''],
	['PAGE','44201',jdecode('Lionel+Homepage'),jdecode(''),'/44201.html','true',[],''],
	['PAGE','36202',jdecode('Spur+0++Inspirationen'),jdecode(''),'/36202.html','true',[],''],
	['PAGE','56401',jdecode('Bauanleitung+Spur+0+Anlage'),jdecode(''),'/56401.html','true',[],''],
	['PAGE','57701',jdecode('Kunden-Layouts'),jdecode(''),'/57701.html','true',[],''],
	['PAGE','49001',jdecode('Vorf%C3%BChr-Layout'),jdecode(''),'/49001.html','true',[],''],
	['PAGE','41101',jdecode('interessante+Link%60s'),jdecode(''),'/41101.html','true',[],''],
	['PAGE','15411',jdecode('AGB%60s'),jdecode(''),'/15411.html','false',[],''],
	['PAGE','33516',jdecode('Impressum'),jdecode(''),'/33516.html','true',[],''],
	['PAGE','35002',jdecode('G%C3%A4stebuch'),jdecode(''),'/35002/home.html','true',[ 
		['PAGE','35003',jdecode('Eintr%C3%A4ge'),jdecode(''),'/35002/35003.html','true',[],'']
	],''],
	['PAGE','65401',jdecode('Anfahrt'),jdecode(''),'/65401.html','true',[],''],
	['PAGE','65501',jdecode('Multimedia+Show+1'),jdecode(''),'/65501.html','true',[],'']];
var siteelementCount=18;
theSitetree.topTemplateName='Steps';
theSitetree.paletteFamily='315881';
theSitetree.keyvisualId='2256';
theSitetree.keyvisualName='appointment.jpg';
theSitetree.fontsetId='368';
theSitetree.graphicsetId='419';
theSitetree.contentColor='FFFFFF';
theSitetree.contentBGColor='315881';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Steps',
				paletteFamily: 	'315881',
				keyvisualId: 	'2256',
				keyvisualName: 	'appointment.jpg',
				fontsetId: 		'368',
				graphicsetId: 	'419',
				contentColor: 	'FFFFFF',
				contentBGColor: '315881',
				a_color: 		'315881',
				b_color: 		'2985B5',
				c_color: 		'3366CC',
				d_color: 		'FFFFFF',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'true',
				contentFontFace:'Times New Roman, Times, serif',
				contentFontSize:'12',
				useFavicon:     'true'
			  };
var webappMappings = {};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '13766',
internalId:  '1006',
customField: '1006'
};
webappMappings['1002']=webappMappings['1002-35002atoix0ineczr']={
webappId:    '1002',
documentId:  '35002',
internalId:  '35002atoix0ineczr',
customField: 'action=form&icq=false'
};
webappMappings['1002']=webappMappings['1002-35002atoix0ineczr']={
webappId:    '1002',
documentId:  '35003',
internalId:  '35002atoix0ineczr',
customField: 'action=list'
};
webappMappings['1501']=webappMappings['1501-8555035']={
webappId:    '1501',
documentId:  '13766',
internalId:  '8555035',
customField: '1501'
};
webappMappings['1007']=webappMappings['1007-10274d82222']={
webappId:    '1007',
documentId:  '36202',
internalId:  '10274d82222',
customField: 'g.109qcrklq.1ioq07e4rs.1s'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '57701',
internalId:  '',
customField: '20090103-163408'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '64601',
internalId:  '',
customField: '20091126-134712'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13766',
internalId:  '',
customField: '20091117-235237'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '65401',
internalId:  '',
customField: '20071228-142222'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44601',
internalId:  '',
customField: '20080203-170749'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13777',
internalId:  '',
customField: '20080203-170138'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '33511',
internalId:  '',
customField: '20091117-232813'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44201',
internalId:  '',
customField: '20100407-084243'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45101',
internalId:  '',
customField: '20100407-083737'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '36202',
internalId:  '',
customField: '20070203-105746'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '49001',
internalId:  '',
customField: '20060213-235451'
};
webappMappings['2001']=webappMappings['2001-location']={
webappId:    '2001',
documentId:  '65401',
internalId:  'location',
customField: 'language:de;country:DE;isIncluded:false;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41101',
internalId:  '',
customField: '20091208-143205'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '15411',
internalId:  '',
customField: '20070314-122534'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '33516',
internalId:  '',
customField: '20091117-232148'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '35002',
internalId:  '',
customField: '20050210-161314'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '35003',
internalId:  '',
customField: '20050210-161314'
};
webappMappings['3001']=webappMappings['3001-']={
webappId:    '3001',
documentId:  '65501',
internalId:  '',
customField: ''
};
webappMappings['7060']=webappMappings['7060-66e25126e4cea7865994c2acd1984a08']={
webappId:    '7060',
documentId:  '65501',
internalId:  '66e25126e4cea7865994c2acd1984a08',
customField: 'language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '56401',
internalId:  '',
customField: '20070101-215138'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '65501',
internalId:  '',
customField: '20071228-143143'
};
webappMappings['1008']=webappMappings['1008-42524039']={
webappId:    '1008',
documentId:  '13766',
internalId:  '42524039',
customField: 'de:DE::;language:de;country:DE;'
};
var canonHostname = 'c4awrk06.aul.t-online.de';
var accountId     = 'ATOIX0INECZR';
var companyName   = 'HOBBY-SHOP+EISENBAHNEN%2BRC+MODELLE';
var htmlTitle	  = 'Spur+0+Shop';
var metaKeywords  = 'Spur+0%2CSpur+H0%2CModelleisenbahn%2CLionel%2CMTH%2CRC+ferngesteuerte+Modelle%2CModellautos%2CSchienen%2CGleise%2CLokomotive%2CUS+Modelleisenbahn%2CHobby%2C+RC%2CR%2FC%2C';
var metaContents  = 'Hobby-Shop+f%C3%BCr+US+Spur+0++und+Spur+H0+Modelleisenbahnen+Lionel%2CMTH%2CWilliams+und+Spur+0+Zubeh%C3%B6r+sowie+Spur+0+Gleise++und+Modellautos+und+RC+Modelle';
					                                                                    
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 */					                                                            
