/* [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','44',jdecode('Startseite'),jdecode(''),'/44.html','true',[],''],
	['PAGE','47998',jdecode('Shop'),jdecode(''),'/47998.html','true',[],''],
	['PAGE','41552',jdecode('%C3%9Cber+uns'),jdecode(''),'/41552.html','true',[],''],
	['PAGE','45647',jdecode('Service'),jdecode(''),'/45647.html','true',[],''],
	['PAGE','41561',jdecode('Kontakt'),jdecode(''),'/41561.html','true',[],''],
	['PAGE','41570',jdecode('Interessante+Links'),jdecode(''),'/41570.html','true',[],''],
	['PAGE','41596',jdecode('Anfahrt'),jdecode(''),'/41596.html','true',[],''],
	['PAGE','48007',jdecode('Impressum'),jdecode(''),'/48007.html','true',[],''],
	['PAGE','47988',jdecode('Disclaimer'),jdecode(''),'/47988.html','true',[],'']];
var siteelementCount=9;
theSitetree.topTemplateName='Powering';
theSitetree.paletteFamily='A73F07';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='10735';
theSitetree.graphicsetId='10569';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='808080';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Powering',
				paletteFamily: 	'A73F07',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'10735',
				graphicsetId: 	'10569',
				contentColor: 	'000000',
				contentBGColor: '808080',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'000000',
				f_color: 		'000000',
				hasCustomLogo: 	'true',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '44',
internalId:  '1006',
customField: '1006'
};
webappMappings['2001']=webappMappings['2001-location']={
webappId:    '2001',
documentId:  '41596',
internalId:  'location',
customField: 'language:de;country:DE;isIncluded:false;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44',
internalId:  '',
customField: '20110412-161054'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41552',
internalId:  '',
customField: '20060224-112455'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45647',
internalId:  '',
customField: '20090418-164516'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41561',
internalId:  '',
customField: '20110217-112910'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41570',
internalId:  '',
customField: '20090602-151624'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41596',
internalId:  '',
customField: '20060213-151441'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '47988',
internalId:  '',
customField: '20090602-181944'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '48007',
internalId:  '',
customField: '20090429-112155'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '47998',
internalId:  '',
customField: '20090626-172433'
};
var canonHostname = 'c4awrk01.aul.t-online.de';
var accountId     = 'ATOIX0I7KP02';
var companyName   = '++++++FA.+SCHLICH+++++';
var htmlTitle	  = 'RC+Flugzeuge-+Schiffe-+Autos-+Hubschrauber+Haushaltger%C3%A4te%2C+Rasierer+und+DJ-Eqipment';
var metaKeywords  = 'RC+Modellbau+Online+Shop+RC+Flugzeuge+RC+Schiffe++RC+Autos+RC+Hubschrauber%2C+Ladeger%C3%A4te+Fernsteuerungen+Zubeh%C3%B6r+von+Robbe++Multiplex+Krick+Futaba+T2M+Hitec%2C+Simprop%2C+Thunder+Tiger%2C+U-Boot+U2540+Robbe+MS+Hanseatic+Robbe+RC+Motorr%C3%A4der+Ducati+Thunder+Tiger+Ferngesteuerte+Rennboote+Fx+40+Futaba+Multiplex+Krick+Futaba+RC-Cars+T2M+Verbrenner+2%2C5+ccm+Verbrenner+3%2C5+ccm+Hitec+Simprop+Ducati+RC-Motorrad+von+Thunder+Tiger++Roboter+Robonova-I+von+Multiplex+%2FHitec+Baukasten+Robonova+A-I+Kit+Historische+Standmodelle+Krick+Mayflower+HMS+Bounty+Sir+Winston+Churchill+Kinder+Cross+Mini+Cross+Dirt+Bike+Mini+Quad+ATV+Braun+Rasierer+Pulsonic+9595+9565+Krups+Haushaltsger%C3%A4te+Elektroger%C3%A4te+Monacor+Mischpult+Mpx-1+Mpx+460+Monacor+DJP-104P+Disko+Spiegelkugel+Punktstrahler+Img+Stageline+RC+Mini+Hubschrauber+T2M+HM+5.5+';
var metaContents  = 'Online+Shop+Fa.+Schlich+Mayen+-+RC-Modellbau+-+Dirt+Bikes+-+Elektroger%C3%A4te+-+Dj+Equipment+-+Braun+Rasierer+-+Krups+Haushaltsger%C3%A4te+-+ATV+Mini+Quads+-+Kinder+Cross+-+Lichteffekte+und+Zubh%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 */					                                                            

