/* [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','40446',jdecode('Anwendungsbeispiele'),jdecode(''),'/40446.html','true',[],''],
	['PAGE','40045',jdecode('Produktvorteile'),jdecode(''),'/40045.html','true',[],''],
	['PAGE','40054',jdecode('Lieferprogramm'),jdecode(''),'/40054.html','true',[],''],
	['PAGE','40136',jdecode('Bildergalerie'),jdecode(''),'/40136.html','true',[],''],
	['PAGE','40256',jdecode('Ausstellungen'),jdecode(''),'/40256.html','true',[],''],
	['PAGE','40265',jdecode('Sonderangebote'),jdecode(''),'/40265.html','true',[],''],
	['PAGE','40089',jdecode('Kontakt'),jdecode(''),'/40089/home.html','true',[ 
		['PAGE','40155',jdecode('Kontakt+%28Folgeseite%29'),jdecode(''),'/40089/40155.html','false',[],'']
	],''],
	['PAGE','40302',jdecode('Anfahrt'),jdecode(''),'/40302.html','true',[],''],
	['PAGE','40404',jdecode('Partnerfirmen'),jdecode(''),'/40404.html','true',[],''],
	['PAGE','40746',jdecode('Online-Shop'),jdecode(''),'/40746.html','true',[],'']];
var siteelementCount=12;
theSitetree.topTemplateName='Architekt';
theSitetree.paletteFamily='8CBBD8';
theSitetree.keyvisualId='2055';
theSitetree.keyvisualName='blanko.jpg';
theSitetree.fontsetId='280';
theSitetree.graphicsetId='348';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='8CBBD8';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Architekt',
				paletteFamily: 	'8CBBD8',
				keyvisualId: 	'2055',
				keyvisualName: 	'blanko.jpg',
				fontsetId: 		'280',
				graphicsetId: 	'348',
				contentColor: 	'000000',
				contentBGColor: '8CBBD8',
				a_color: 		'8CBBD8',
				b_color: 		'338299',
				c_color: 		'FFFFFF',
				d_color: 		'FFFFFF',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'true',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['2001']=webappMappings['2001-location']={
webappId:    '2001',
documentId:  '40302',
internalId:  'location',
customField: 'language:de;country:DE;isIncluded:false;'
};
webappMappings['1007']=webappMappings['1007-10596aad1f0']={
webappId:    '1007',
documentId:  '40136',
internalId:  '10596aad1f0',
customField: 'g.10mbaagbb.7decd53n89r.3o'
};
webappMappings['1001']=webappMappings['1001-atoix0invw2v10596bc4ba7']={
webappId:    '1001',
documentId:  '40089',
internalId:  'atoix0invw2v10596bc4ba7',
customField: ''
};
webappMappings['1001']=webappMappings['1001-atoix0invw2v10596bc4ba7']={
webappId:    '1001',
documentId:  '40155',
internalId:  'atoix0invw2v10596bc4ba7',
customField: 'followUp'
};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '44',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44',
internalId:  '',
customField: '20110406-194733'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40265',
internalId:  '',
customField: '20110614-203853'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40256',
internalId:  '',
customField: '20110223-143146'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40446',
internalId:  '',
customField: '20110223-145405'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40136',
internalId:  '',
customField: '20060213-174219'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40302',
internalId:  '',
customField: '20050814-195029'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40045',
internalId:  '',
customField: '20110223-145956'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40054',
internalId:  '',
customField: '20110223-144513'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40089',
internalId:  '',
customField: '20110406-194934'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40155',
internalId:  '',
customField: '20060425-200210'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40404',
internalId:  '',
customField: '20061015-202111'
};
webappMappings['4001']=webappMappings['4001-30669490']={
webappId:    '4001',
documentId:  '40746',
internalId:  '30669490',
customField: 'language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40746',
internalId:  '',
customField: '20110209-135408'
};
var canonHostname = 'c4awrk04.aul.t-online.de';
var accountId     = 'ATOIX0INVW2V';
var companyName   = 'Recyclingpf%C3%A4hle';
var htmlTitle	  = 'Recyclingpfaehle';
var metaKeywords  = 'Recyclingpf%C3%A4hle%2C+Recyclingpfahl%2C+Recyclingpfaehle%2C+Weidepf%C3%A4hle%2C+Weideeinz%C3%A4unung%2C+Elektrozaun%2C+Elektroz%C3%A4une%2C+Weidezaun%2C+Koppelzaun%2C+Koppelz%C3%A4une%2C+Koppelzaun%2C+Recycling%2C+Fehring%2C+Koppelpf%C3%A4hle%2C+Betonpfahl%2C+Steher%2C+Einz%C3%A4unung%2C+Pfahl%2C+Pf%C3%A4hle%2C+Weidepfahl%2C+Weidezaun%2C+Kunststoffpf%C3%A4hle';
var metaContents  = 'Wir+liefern+Recyclingpf%C3%A4hle+in+ganz+Deutschland+zu+g%C3%BCnstigen+Preisen';
					                                                                    
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 */					                                                            

