/* [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','10701',jdecode('Home'),jdecode(''),'/10701.html','true',[],''],
	['PAGE','10758',jdecode('Gartenbau'),jdecode(''),'/10758/home.html','true',[ 
		['PAGE','10974',jdecode('Aktuelles'),jdecode(''),'/10758/10974.html','false',[],''],
		['PAGE','10866',jdecode('Projekte'),jdecode(''),'/10758/10866.html','false',[],''],
		['PAGE','11500',jdecode('Bilder+Gallerie'),jdecode(''),'/10758/11500.html','true',[],'']
	],''],
	['PAGE','10893',jdecode('G%C3%A4rtnerei'),jdecode(''),'/10893/home.html','true',[ 
		['PAGE','10920',jdecode('Besonderne+Anl%C3%A4sse...'),jdecode(''),'/10893/10920.html','true',[],''],
		['PAGE','10947',jdecode('Gartenkalender'),jdecode(''),'/10893/10947.html','false',[],''],
		['PAGE','13489',jdecode('Evi%26%23x27%3Bs+Impressionen'),jdecode(''),'/10893/13489.html','true',[],'']
	],''],
	['PAGE','11055',jdecode('Wir+%C3%BCber+uns'),jdecode(''),'/11055/home.html','true',[ 
		['PAGE','11082',jdecode('Lernen+Sie+uns+kennen'),jdecode(''),'/11055/11082.html','false',[],''],
		['PAGE','11109',jdecode('So+finden+Sie+uns'),jdecode(''),'/11055/11109.html','false',[],''],
		['PAGE','11361',jdecode('Anfahrt'),jdecode(''),'/11055/11361.html','true',[],'']
	],''],
	['PAGE','11028',jdecode('Kontakt'),jdecode(''),'/11028.html','true',[],''],
	['PAGE','11001',jdecode('Jobs'),jdecode(''),'/11001.html','true',[],''],
	['PAGE','11136',jdecode('Impressum'),jdecode(''),'/11136.html','true',[],''],
	['PAGE','11302',jdecode('G%C3%A4stebuch'),jdecode(''),'/11302/home.html','true',[ 
		['PAGE','11303',jdecode('Eintr%C3%A4ge'),jdecode(''),'/11302/11303.html','true',[],'']
	],''],
	['PAGE','13977',jdecode('Login'),jdecode(''),'/13977.html','false',[],'']];
var siteelementCount=19;
theSitetree.topTemplateName='TOI_Welle_1';
theSitetree.paletteFamily='BDCD71';
theSitetree.keyvisualId='10659';
theSitetree.keyvisualName='kv_10659.jpg';
theSitetree.fontsetId='31777';
theSitetree.graphicsetId='13556';
theSitetree.contentColor='98B904';
theSitetree.contentBGColor='F5F6F8';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'TOI_Welle_1',
				paletteFamily: 	'BDCD71',
				keyvisualId: 	'10659',
				keyvisualName: 	'kv_10659.jpg',
				fontsetId: 		'31777',
				graphicsetId: 	'13556',
				contentColor: 	'98B904',
				contentBGColor: 'F5F6F8',
				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['1002']=webappMappings['1002-11302ATOIX0INV4DT']={
webappId:    '1002',
documentId:  '11302',
internalId:  '11302ATOIX0INV4DT',
customField: 'action=form&icq=false'
};
webappMappings['2001']=webappMappings['2001-location']={
webappId:    '2001',
documentId:  '11361',
internalId:  'location',
customField: 'language:de;country:DE;isIncluded:false;'
};
webappMappings['1007']=webappMappings['1007-1059999e41c']={
webappId:    '1007',
documentId:  '11500',
internalId:  '1059999e41c',
customField: 'g.10mcpjp0s.4nersa1l0oota.6rn80'
};
webappMappings['1002']=webappMappings['1002-11302ATOIX0INV4DT']={
webappId:    '1002',
documentId:  '11303',
internalId:  '11302ATOIX0INV4DT',
customField: 'action=list'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '10701',
internalId:  '',
customField: '20090610-161934'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '10758',
internalId:  '',
customField: '20070807-201335'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '11302',
internalId:  '',
customField: '20070807-202331'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '11303',
internalId:  '',
customField: '20050612-201829'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '11001',
internalId:  '',
customField: '20070807-202123'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '11500',
internalId:  '',
customField: '20070807-201404'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '10893',
internalId:  '',
customField: '20050729-114205'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '11136',
internalId:  '',
customField: '20070807-202250'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '10974',
internalId:  '',
customField: '20050622-152826'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '10866',
internalId:  '',
customField: '20050612-200623'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13489',
internalId:  '',
customField: '20070807-195730'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '10947',
internalId:  '',
customField: '20080501-134311'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '10920',
internalId:  '',
customField: '20070902-180218'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '11055',
internalId:  '',
customField: '20050612-214015'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '11028',
internalId:  '',
customField: '20080504-175852'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '11082',
internalId:  '',
customField: '20050612-214231'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '11109',
internalId:  '',
customField: '20050612-214201'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '11361',
internalId:  '',
customField: '20070807-214409'
};
webappMappings['1501']=webappMappings['1501-801598']={
webappId:    '1501',
documentId:  '10701',
internalId:  '801598',
customField: '1501'
};
webappMappings['7060']=webappMappings['7060-47bc4b5ca08ba535731a7294d21361be']={
webappId:    '7060',
documentId:  '13977',
internalId:  '47bc4b5ca08ba535731a7294d21361be',
customField: 'language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13977',
internalId:  '',
customField: '20070821-165929'
};
var canonHostname = 'cfawrk11.aul.t-online.de';
var accountId     = 'ATOIX0INV4DT';
var companyName   = 'Klemm+%26+Esterbauer';
var htmlTitle	  = '';
var metaKeywords  = '';
var metaContents  = '';
					                                                                    
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 */					                                                            

