/* [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','13701',jdecode('Home'),jdecode(''),'/13701.html','true',[],''],
	['PAGE','13712',jdecode('Walter+Modelle'),jdecode(''),'/13712.html','true',[],''],
	['PAGE','50901',jdecode('Highlights'),jdecode(''),'/50901.html','true',[],''],
	['PAGE','44301',jdecode('Sonderangebote'),jdecode(''),'/44301/home.html','true',[ 
		['PAGE','13707',jdecode('RC-Flugmodelle'),jdecode(''),'/44301/13707.html','true',[],''],
		['PAGE','31601',jdecode('RC-Helikopter'),jdecode(''),'/44301/31601.html','true',[],'']
	],''],
	['PAGE','43901',jdecode('Zubeh%C3%B6r'),jdecode(''),'/43901/home.html','true',[ 
		['PAGE','52401',jdecode('RC-Sets'),jdecode(''),'/43901/52401.html','true',[],''],
		['PAGE','52422',jdecode('Einzelsender'),jdecode(''),'/43901/52422.html','true',[],''],
		['PAGE','52443',jdecode('Empf%C3%A4nger'),jdecode(''),'/43901/52443.html','true',[],''],
		['PAGE','55201',jdecode('Sensoren'),jdecode(''),'/43901/55201.html','true',[],''],
		['PAGE','52464',jdecode('Servos'),jdecode(''),'/43901/52464.html','true',[],''],
		['PAGE','56901',jdecode('Antriebss%C3%A4tze'),jdecode(''),'/43901/56901.html','true',[],'']
	],''],
	['PAGE','13742',jdecode('Wir+%C3%BCber+uns'),jdecode(''),'/13742.html','true',[],''],
	['PAGE','14302',jdecode('Anfahrt'),jdecode(''),'/14302.html','true',[],''],
	['PAGE','13737',jdecode('Kontakt'),jdecode(''),'/13737.html','true',[],''],
	['PAGE','13732',jdecode('AGB'),jdecode(''),'/13732.html','true',[],''],
	['PAGE','13757',jdecode('Impressum'),jdecode(''),'/13757.html','true',[],'']];
var siteelementCount=18;
theSitetree.topTemplateName='Dynamics';
theSitetree.paletteFamily='94B9DE';
theSitetree.keyvisualId='11185';
theSitetree.keyvisualName='kv_11185.jpg';
theSitetree.fontsetId='32090';
theSitetree.graphicsetId='13890';
theSitetree.contentColor='68809C';
theSitetree.contentBGColor='94B9DE';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Dynamics',
				paletteFamily: 	'94B9DE',
				keyvisualId: 	'11185',
				keyvisualName: 	'kv_11185.jpg',
				fontsetId: 		'32090',
				graphicsetId: 	'13890',
				contentColor: 	'68809C',
				contentBGColor: '94B9DE',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'000000',
				f_color: 		'000000',
				hasCustomLogo: 	'false',
				contentFontFace:'Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13707',
internalId:  '',
customField: '20110201-210352'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13701',
internalId:  '',
customField: '20110303-160403'
};
webappMappings['2001']=webappMappings['2001-location']={
webappId:    '2001',
documentId:  '14302',
internalId:  'location',
customField: 'language:de;country:DE;isIncluded:false;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13712',
internalId:  '',
customField: '20090413-175858'
};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '13701',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '50901',
internalId:  '',
customField: '20110106-195514'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '52464',
internalId:  '',
customField: '20110106-201928'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43901',
internalId:  '',
customField: '20110201-204555'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '31601',
internalId:  '',
customField: '20090325-133224'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13742',
internalId:  '',
customField: '20090521-141712'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13732',
internalId:  '',
customField: '20110303-151606'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44301',
internalId:  '',
customField: '20110127-224959'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14302',
internalId:  '',
customField: '20080717-002138'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13737',
internalId:  '',
customField: '20081206-154734'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13757',
internalId:  '',
customField: '20080324-173526'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '52401',
internalId:  '',
customField: '20110106-184630'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '52422',
internalId:  '',
customField: '20110106-185743'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '52443',
internalId:  '',
customField: '20110106-205706'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '55201',
internalId:  '',
customField: '20110106-195318'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '56901',
internalId:  '',
customField: '20110106-210958'
};
var canonHostname = 'c4awrk04.aul.t-online.de';
var accountId     = 'ATOIX0IN2PQL';
var companyName   = 'Walter+Modellsport';
var htmlTitle	  = 'Walter+Modellsport';
var metaKeywords  = 'RC-Flugmodelle%2C+Fernsteuerungen%2C+Zubeh%C3%B6r%2C+Sonderangebote%2C+Eingenmarke';
var metaContents  = 'RC-Flugmodelle%2C+Fernsteuerungen%2C+Zubeh%C3%B6r';
					                                                                    
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 */					                                                            

