/* [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','18101',jdecode('Home'),jdecode(''),'/18101.html','true',[],''],
	['PAGE','33501',jdecode('+Bestellungen%2F+Produktliste'),jdecode(''),'/33501.html','true',[],''],
	['PAGE','22001',jdecode('+%C3%96ldispersionsger%C3%A4te'),jdecode(''),'/22001.html','true',[],''],
	['PAGE','22006',jdecode('Wasserbelebung'),jdecode(''),'/22006.html','true',[],''],
	['PAGE','22011',jdecode('+Torf%C3%B6le+%2F+Torfprodukte'),jdecode(''),'/22011.html','true',[],''],
	['PAGE','37001',jdecode('+Torffaserprodukte'),jdecode(''),'/37001.html','false',[],''],
	['PAGE','22021',jdecode('+Elektrosmog+%2F+Abschirmung'),jdecode(''),'/22021.html','false',[],''],
	['PAGE','30001',jdecode('Seminar'),jdecode(''),'/30001.html','true',[],''],
	['PAGE','18112',jdecode('Links'),jdecode(''),'/18112.html','true',[],''],
	['PAGE','21110',jdecode('G%C3%A4stebuch'),jdecode(''),'/21110/home.html','true',[ 
		['PAGE','21111',jdecode('Eintr%C3%A4ge'),jdecode(''),'/21110/21111.html','true',[],'']
	],''],
	['PAGE','20901',jdecode('Allg.+Gesch%C3%A4ftsbedingungen'),jdecode(''),'/20901.html','true',[],''],
	['PAGE','18127',jdecode('Impressum'),jdecode(''),'/18127.html','true',[],''],
	['PAGE','31901',jdecode('Kontakt'),jdecode(''),'/31901.html','true',[],'']];
var siteelementCount=14;
theSitetree.topTemplateName='Alpha';
theSitetree.paletteFamily='479949';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='10461';
theSitetree.graphicsetId='10895';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='FFFFFF';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Alpha',
				paletteFamily: 	'479949',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'10461',
				graphicsetId: 	'10895',
				contentColor: 	'000000',
				contentBGColor: 'FFFFFF',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'479949',
				e_color: 		'479949',
				f_color: 		'479949',
				hasCustomLogo: 	'true',
				contentFontFace:'Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['1002']=webappMappings['1002-21110atoix0in2p7q']={
webappId:    '1002',
documentId:  '21110',
internalId:  '21110atoix0in2p7q',
customField: 'action=form&icq=false'
};
webappMappings['1002']=webappMappings['1002-21110atoix0in2p7q']={
webappId:    '1002',
documentId:  '21111',
internalId:  '21110atoix0in2p7q',
customField: 'action=list'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '33501',
internalId:  '',
customField: '20110802-114651'
};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '18101',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '18101',
internalId:  '',
customField: '20110331-204843'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '18127',
internalId:  '',
customField: '20061216-184733'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '21110',
internalId:  '',
customField: '20050210-235311'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '37001',
internalId:  '',
customField: '20080207-222355'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '22001',
internalId:  '',
customField: '20101004-162637'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '22006',
internalId:  '',
customField: '20101018-154330'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '22011',
internalId:  '',
customField: '20110416-173519'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '22021',
internalId:  '',
customField: '20080315-171726'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '18112',
internalId:  '',
customField: '20050628-205745'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '21111',
internalId:  '',
customField: '20050210-235311'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '20901',
internalId:  '',
customField: '20050216-111148'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '30001',
internalId:  '',
customField: '20101006-154626'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '31901',
internalId:  '',
customField: '20061220-214638'
};
webappMappings['1008']=webappMappings['1008-31263441']={
webappId:    '1008',
documentId:  '31901',
internalId:  '31263441',
customField: 'de:DE:'
};
var canonHostname = 'c4awrk02.aul.t-online.de';
var accountId     = 'ATOIX0IN2P7Q';
var companyName   = 'ILM+innovative+lebensf%C3%B6rdernde+Methoden';
var htmlTitle	  = 'Innovative+Lebensf%C3%B6rdernde+Methoden';
var metaKeywords  = '%C3%96ldispersionswirbler%2C+%C3%96ldispersionsger%C3%A4te%2C+Torf%C3%B6l%2CWasserenergetisierung%2C+Elektrosmogabschirmung';
var metaContents  = 'Produkte+im+Einklang+mit+Lebenskraft.';
					                                                                    
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 */					                                                            

