/* [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','7380',jdecode('Home'),jdecode(''),'/7380.html','true',[],''],
	['PAGE','22601',jdecode('%C3%BCber+Bioland'),jdecode(''),'/22601.html','true',[],''],
	['PAGE','20061',jdecode('Galerie'),jdecode(''),'/20061/home.html','true',[ 
		['PAGE','25201',jdecode('Hof-Impressionen'),jdecode(''),'/20061/25201.html','true',[],''],
		['PAGE','21701',jdecode('Kr%C3%A4utermarkt+2005'),jdecode(''),'/20061/21701.html','true',[],'']
	],''],
	['PAGE','9416',jdecode('Kontakt'),jdecode(''),'/9416/home.html','true',[ 
		['PAGE','14602',jdecode('Kontakt+%28Folgeseite%29'),jdecode(''),'/9416/14602.html','false',[],'']
	],''],
	['PAGE','15002',jdecode('Anfahrt'),jdecode(''),'/15002.html','true',[],''],
	['PAGE','22206',jdecode('G%C3%A4stebuch'),jdecode(''),'/22206/home.html','true',[ 
		['PAGE','22201',jdecode('Eintr%C3%A4ge'),jdecode(''),'/22206/22201.html','true',[],'']
	],''],
	['PAGE','20071',jdecode('Impressum'),jdecode(''),'/20071.html','true',[],'']];
var siteelementCount=11;
theSitetree.topTemplateName='Boston';
theSitetree.paletteFamily='8BAD63';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='11067';
theSitetree.graphicsetId='11841';
theSitetree.contentColor='FFFFFF';
theSitetree.contentBGColor='66873E';
var theTemplate={
				name: 			'Boston',
				paletteFamily: 	'8BAD63',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'11067',
				graphicsetId: 	'11841',
				contentColor: 	'FFFFFF',
				contentBGColor: '66873E',
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				a_color: 		'000000',
				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['1001']={
webappId:    '1001',
documentId:  '9416',
internalId:  'atoix0ine8l11033ef59063',
customField: ''
};
webappMappings['1001']={
webappId:    '1001',
documentId:  '14602',
internalId:  'atoix0ine8l11033ef59063',
customField: 'followUp'
};
webappMappings['2001']={
webappId:    '2001',
documentId:  '15002',
internalId:  'location',
customField: 'language:de;country:DE;isIncluded:false;'
};
webappMappings['1006']={
webappId:    '1006',
documentId:  '7380',
internalId:  '1006',
customField: '1006'
};
webappMappings['1007']={
webappId:    '1007',
documentId:  '21701',
internalId:  '106c334240a',
customField: 'g.10r1htv6c.2vun7r2i8qt.3o'
};
webappMappings['1002']={
webappId:    '1002',
documentId:  '22206',
internalId:  '22206atoix0ine8l1',
customField: 'action=form&icq=false'
};
webappMappings['1002']={
webappId:    '1002',
documentId:  '22201',
internalId:  '22206atoix0ine8l1',
customField: 'action=list'
};
webappMappings['1007']={
webappId:    '1007',
documentId:  '25201',
internalId:  '108bfcebeb1',
customField: 'g.112vs5i83.1hn9d79pg5.1s'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '7380',
internalId:  '',
customField: '20060112-183114'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '22601',
internalId:  '',
customField: '20070208-175753'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '20061',
internalId:  '',
customField: '20070220-214316'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '9416',
internalId:  '',
customField: '20070208-175139'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '22206',
internalId:  '',
customField: '20070208-202221'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '22201',
internalId:  '',
customField: '20051006-024343'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '20071',
internalId:  '',
customField: '20070208-175550'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '25201',
internalId:  '',
customField: '20060112-192623'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '21701',
internalId:  '',
customField: '20070209-103743'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '15002',
internalId:  '',
customField: '20050414-065417'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '14602',
internalId:  '',
customField: '20050414-062650'
};
var canonHostname = 'cfabak02.aul.t-online.de';
var accountId     = 'ATOIX0INE8L1';
var companyName   = 'B+I+O+L+A+N+D+-+S+O+N+N+E+N+H+O+F+.+DE';
var htmlTitle	  = 'www.bioland-sonnenhof.de';
var metaKeywords  = 'Bioland+Roeb+Zinke+Wilfried+Falk+Kr%C3%A4uter+blaue+Kartoffeln+Gem%C3%BCse+%C3%B6kologischer+Landbau+A+Betrieb+Sonnenhof+Verband+organisch-biologisch+Sonne+Gurken+Basilikum+Hof+Shop+Schnittlauch+Karotten+K%C3%BCrbis+K%C3%BCrbisse+T%C3%B6pfe+Kr%C3%A4utert%C3%B6pfe+T%C3%B6pfe';
var metaContents  = 'BIOLAND-SONNENHOF+Falk+Zinke++Wilfried+Roeb+GbR.+Seit+1988+sind+wir+ein+Bioland-A-Betrieb+des+BIOLAND+Verband+f%C3%BCr+organisch-biologischen+Landbau+e.V.';
					                                                                    
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 */					                                                            

