/* [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','44',jdecode('Startseite'),jdecode(''),'/44.html','true',[],''],
	['PAGE','40308',jdecode('Ich+%C3%BCber+mich'),jdecode(''),'/40308.html','true',[],''],
	['PAGE','40353',jdecode('Firmendarstellung'),jdecode(''),'/40353.html','true',[],''],
	['PAGE','40362',jdecode('Kurzdarst.%2FLeistungspaket'),jdecode(''),'/40362.html','true',[],''],
	['PAGE','40371',jdecode('Beratungspakete'),jdecode(''),'/40371.html','true',[],''],
	['PAGE','40380',jdecode('Referenzkunden'),jdecode(''),'/40380.html','true',[],''],
	['PAGE','40389',jdecode('Industrielle+Kunden'),jdecode(''),'/40389.html','true',[],''],
	['PAGE','40326',jdecode('Konzepte'),jdecode(''),'/40326.html','true',[],''],
	['PAGE','40463',jdecode('Catering'),jdecode(''),'/40463.html','true',[],''],
	['PAGE','40335',jdecode('Kochb%C3%BCcher'),jdecode(''),'/40335.html','true',[],''],
	['PAGE','42513',jdecode('Restaurant+%22B%C3%A4kem%C3%BChle%22'),jdecode(''),'/42513.html','true',[],''],
	['PAGE','46069',jdecode('Bismarckh%C3%B6he+Werder'),jdecode(''),'/46069.html','true',[],''],
	['PAGE','40344',jdecode('Kontakt'),jdecode(''),'/40344.html','true',[],''],
	['PAGE','43630',jdecode('Links'),jdecode(''),'/43630.html','true',[],''],
	['PAGE','43871',jdecode('Impressum'),jdecode(''),'/43871.html','true',[],'']];
var siteelementCount=15;
theSitetree.topTemplateName='Cosy';
theSitetree.paletteFamily='797979';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='10603';
theSitetree.graphicsetId='10619';
theSitetree.contentColor='373737';
theSitetree.contentBGColor='D5D5D5';
var theTemplate={
				name: 			'Cosy',
				paletteFamily: 	'797979',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'10603',
				graphicsetId: 	'10619',
				contentColor: 	'373737',
				contentBGColor: 'D5D5D5',
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'7A7A7A',
				e_color: 		'7E7E7E',
				f_color: 		'545454',
				hasCustomLogo: 	'true',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12'
			  };
var webappMappings = {};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '44',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44',
internalId:  '',
customField: '20070801-220600'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40344',
internalId:  '',
customField: '20071123-134153'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40308',
internalId:  '',
customField: '20050723-185517'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40335',
internalId:  '',
customField: '20071123-134015'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40463',
internalId:  '',
customField: '20070801-224142'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42513',
internalId:  '',
customField: '20071123-134449'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40353',
internalId:  '',
customField: '20060711-152641'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40362',
internalId:  '',
customField: '20061120-174217'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40371',
internalId:  '',
customField: '20070801-223739'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40380',
internalId:  '',
customField: '20070801-223907'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40389',
internalId:  '',
customField: '20070801-224018'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40326',
internalId:  '',
customField: '20070801-224113'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43630',
internalId:  '',
customField: '20070801-222812'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43871',
internalId:  '',
customField: '20071123-134045'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '46069',
internalId:  '',
customField: '20080109-135013'
};
var canonHostname = 'cfawrk03.aul.t-online.de';
var accountId     = 'ATOIX0IN3ICJ';
var companyName   = 'Gastronomie+Management+GmbH';
var htmlTitle	  = '';
var metaKeywords  = 'Ihr+Name%2C+Landschaftsarchitekt%2C+Landschaftsarchitektin%2C+Landschaftsarchitekten%2C+Landschaftsarchitektur%2C+Gartenarchitekt%2C+Gartenarchitektur%2C+Landespflege%2C+Architekt%2C+Architektur%2C+Landschaftsplanung%2C+Gartenplanung%2C+Freiraumplanung%2C+Objektplanung%2C+Bauleitplanung++';
var metaContents  = 'Willkommen+bei+Ihrem+Spezialisten+fuer+Garten+und+Landschaft+Ihr+Name.++';
					                                                                    
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 */					                                                            
