/* [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','4579',jdecode('HOME'),jdecode(''),'/4579.html','true',[],''],
	['PAGE','18301',jdecode('SENKGARTEN'),jdecode(''),'/18301.html','true',[],''],
	['PAGE','18306',jdecode('FR%C3%9CHLING'),jdecode(''),'/18306.html','true',[],''],
	['PAGE','18311',jdecode('SOMMER'),jdecode(''),'/18311.html','true',[],''],
	['PAGE','18316',jdecode('HERBST'),jdecode(''),'/18316.html','true',[],''],
	['PAGE','18321',jdecode('WINTER'),jdecode(''),'/18321.html','true',[],''],
	['PAGE','18326',jdecode('PRESSESTIMMEN'),jdecode(''),'/18326.html','true',[],''],
	['PAGE','18331',jdecode('OFFENE+PFORTE'),jdecode(''),'/18331.html','true',[],''],
	['PAGE','18336',jdecode('GARTENKULTUR'),jdecode(''),'/18336.html','true',[],''],
	['PAGE','18341',jdecode('GR%C3%9CNE+LINKS'),jdecode(''),'/18341.html','true',[],''],
	['PAGE','119216',jdecode('SEPTEMBER+2009'),jdecode(''),'/119216.html','true',[],''],
	['PAGE','120916',jdecode('OKTOBER+2009'),jdecode(''),'/120916.html','true',[],''],
	['PAGE','122316',jdecode('NOVEMBER+2009'),jdecode(''),'/122316.html','true',[],''],
	['PAGE','124516',jdecode('DEZEMBER%2FJANUAR+20009%2F2010'),jdecode(''),'/124516.html','true',[],''],
	['PAGE','126116',jdecode('FEBRUAR+2010'),jdecode(''),'/126116.html','true',[],''],
	['PAGE','127416',jdecode('M%C3%84RZ+2010'),jdecode(''),'/127416.html','true',[],''],
	['PAGE','128116',jdecode('APRIL+2010'),jdecode(''),'/128116.html','true',[],''],
	['PAGE','129416',jdecode('MAI+2010'),jdecode(''),'/129416.html','true',[],''],
	['PAGE','130216',jdecode('JUNI+2010'),jdecode(''),'/130216.html','true',[],''],
	['PAGE','131016',jdecode('JULI+2010'),jdecode(''),'/131016.html','true',[],'']];
var siteelementCount=20;
theSitetree.topTemplateName='Meadow';
theSitetree.paletteFamily='0000BB';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='10703';
theSitetree.graphicsetId='10949';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='9FD796';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Meadow',
				paletteFamily: 	'0000BB',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'10703',
				graphicsetId: 	'10949',
				contentColor: 	'000000',
				contentBGColor: '9FD796',
				a_color: 		'6EC262',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'000000',
				f_color: 		'000000',
				hasCustomLogo: 	'false',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '4579',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4579',
internalId:  '',
customField: '20100531-205129'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '18316',
internalId:  '',
customField: '20081108-170846'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '18311',
internalId:  '',
customField: '20070804-194803'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '18321',
internalId:  '',
customField: '20090202-213800'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '18306',
internalId:  '',
customField: '20090418-164718'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '120916',
internalId:  '',
customField: '20091001-201432'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '18301',
internalId:  '',
customField: '20080530-221504'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '18326',
internalId:  '',
customField: '20100210-211553'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '18331',
internalId:  '',
customField: '20100510-220753'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '18336',
internalId:  '',
customField: '20100630-204831'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '18341',
internalId:  '',
customField: '20100513-154012'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '130216',
internalId:  '',
customField: '20100531-224549'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '122316',
internalId:  '',
customField: '20091105-215749'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '124516',
internalId:  '',
customField: '20100102-175001'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '119216',
internalId:  '',
customField: '20090913-182012'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '126116',
internalId:  '',
customField: '20100131-223301'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '128116',
internalId:  '',
customField: '20100330-220728'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '129416',
internalId:  '',
customField: '20100430-231755'
};
webappMappings['1501']=webappMappings['1501-4859860']={
webappId:    '1501',
documentId:  '4579',
internalId:  '4859860',
customField: '1501'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '131016',
internalId:  '',
customField: '20100630-204653'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '127416',
internalId:  '',
customField: '20100302-221007'
};
var canonHostname = 'c4awrk05.aul.t-online.de';
var accountId     = 'ATOIX0IN2TDT';
var companyName   = 'EIN+GARTEN+IM+SAUERLAND';
var htmlTitle	  = 'Ein+Garten+im+Sauerland';
var metaKeywords  = 'Senkgarten%2C+Thymianpfad%2C+Teich%2C+Kiesbeet%2C+Sitzpl%C3%A4tze+im+Garten%2C+Stauden%2C+Privatgarten%2C+Sauerland';
var metaContents  = 'Private+Homepage+%C3%BCber+einen+Garten+im+Sauerland.+Mit%0Avielen+Fotos+und+Berichten.+Monatlich+wechselnde+Gartengeschichten.';
					                                                                    
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 */					                                                            
