/* [nodename, id, name, navigationtext, href, isnavigation, childs[], templatename] */

function jdecode(s) {
    s = s.replace(/\+/g, "%20")
    return unescape(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','41256',jdecode('Wer+sind+wir+%2F+Unsere+Ziele'),jdecode(''),'/41256.html','true',[],''],
	['PAGE','41265',jdecode('Botanischer+Garten+'),jdecode(''),'/41265.html','true',[],''],
	['PAGE','41274',jdecode('Veranstaltungen+%2FBerichte'),jdecode(''),'/41274.html','true',[],''],
	['PAGE','41319',jdecode('Natur+des+Jahres'),jdecode(''),'/41319.html','true',[],''],
	['PAGE','41283',jdecode('Kontakt+'),jdecode(''),'/41283/home.html','true',[ 
		['PAGE','41818',jdecode('Kontakt++%28Folgeseite%29'),jdecode(''),'/41283/41818.html','false',[],'']
	],''],
	['PAGE','41292',jdecode('Interessante+Links'),jdecode(''),'/41292.html','true',[],''],
	['PAGE','41793',jdecode('G%C3%A4stebuch'),jdecode(''),'/41793/home.html','true',[ 
		['PAGE','41792',jdecode('Eintr%C3%A4ge'),jdecode(''),'/41793/41792.html','true',[],'']
	],''],
	['PAGE','41858',jdecode('Sch%C3%B6ne+Bilder+f%C3%BCr+Sie'),jdecode(''),'/41858.html','true',[],'']];
var siteelementCount=11;
theSitetree.topTemplateName='Meadow';
theSitetree.paletteFamily='0000BB';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='10473';
theSitetree.graphicsetId='10949';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='9FD796';
var theTemplate={
				name: 			'Meadow',
				paletteFamily: 	'0000BB',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'10473',
				graphicsetId: 	'10949',
				contentColor: 	'000000',
				contentBGColor: '9FD796',
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				a_color: 		'6EC262',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'000000',
				f_color: 		'000000',
				hasCustomLogo: 	'false',
				contentFontFace:'Arial, Helvetica, sans-serif',
				contentFontSize:'12'
			  };
var webappMappings = {};
webappMappings['1006']={
webappId:    '1006',
documentId:  '44',
internalId:  '1006',
customField: '1006'
};
webappMappings['1002']={
webappId:    '1002',
documentId:  '41793',
internalId:  '41793atoix0i7cpbf',
customField: 'action=form&icq=false'
};
webappMappings['1002']={
webappId:    '1002',
documentId:  '41792',
internalId:  '41793atoix0i7cpbf',
customField: 'action=list'
};
webappMappings['1001']={
webappId:    '1001',
documentId:  '41283',
internalId:  'atoix0i7cpbf10903677a31',
customField: ''
};
webappMappings['1001']={
webappId:    '1001',
documentId:  '41818',
internalId:  'atoix0i7cpbf10903677a31',
customField: 'followUp'
};
webappMappings['1007']={
webappId:    '1007',
documentId:  '41858',
internalId:  '1090baac1d3',
customField: 'g.1145q5sq1.k8jgkb21gt.1s'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '44',
internalId:  '',
customField: '20061221-002255'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '41256',
internalId:  '',
customField: '20061204-174421'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '41265',
internalId:  '',
customField: '20061221-004620'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '41274',
internalId:  '',
customField: '20061204-175303'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '41319',
internalId:  '',
customField: '20060808-181911'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '41283',
internalId:  '',
customField: '20060224-194338'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '41818',
internalId:  '',
customField: '20060125-221047'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '41292',
internalId:  '',
customField: '20060926-183247'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '41793',
internalId:  '',
customField: '20060125-192758'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '41792',
internalId:  '',
customField: '20060216-171139'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '41858',
internalId:  '',
customField: '20061024-004253'
};
var canonHostname = 'cfawrk09.aul.t-online.de';
var accountId     = 'ATOIX0I7CPBF';
var companyName   = 'Freunde+und+F%C3%B6rderer+des+Botanischen+Gartens+Rombergpark+e.V.';
var htmlTitle	  = 'Freunde+und+F%C3%B6rderer+des+Botanischen+Gartens+Rombergpark+e.V.';
var metaKeywords  = 'Freundeskreis+Botanischer+Garten%2C+Rombergpark+%2CBotanischer+Garten+Dortmund%2C++Veranstaltungen%2C+Berichte%2C+Fotos%2C+Wer+sind+wir%2C+Fachinformationen%2C+Kontakt%2C+Links%2C+G%C3%A4stebuch%2C+Satzung%2C+Verein.';
var metaContents  = 'Freundeskreis+Botanischer+Garten+Rombergpark+Dortmund+%3A+Veranstaltungen%2C+Aktivit%C3%A4ten%2C+Verein%2C+Satzung%2C+Links%2C+Natur+des+Jahres%2C+Baum+des+Jahres%2C+Loki+Schmidt+Garten%2C+Heilkr%C3%A4utergarten%2C++';
					                                                                    
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;                                                                     
	};                                                                               
/* EOF */					                                                            
