/* [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','40326',jdecode('Unser+Angebot'),jdecode(''),'/40326/home.html','true',[ 
		['PAGE','40335',jdecode('Die+Wohnungen'),jdecode(''),'/40326/40335.html','true',[],'']
	],''],
	['PAGE','40317',jdecode('Anreise'),jdecode(''),'/40317.html','true',[],''],
	['PAGE','40344',jdecode('Preis+%26+Leistung'),jdecode(''),'/40344.html','true',[],''],
	['PAGE','40371',jdecode('Kontakt'),jdecode(''),'/40371/home.html','true',[ 
		['PAGE','40519',jdecode('Kontakt+%28Folgeseite%29'),jdecode(''),'/40371/40519.html','false',[],'']
	],''],
	['PAGE','40380',jdecode('Wir+%C3%BCber+uns'),jdecode(''),'/40380.html','true',[],''],
	['PAGE','40389',jdecode('Impressum'),jdecode(''),'/40389.html','true',[],''],
	['PAGE','40671',jdecode('Bilder'),jdecode(''),'/40671.html','true',[],''],
	['PAGE','41009',jdecode('Anfahrt'),jdecode(''),'/41009.html','true',[],'']];
var siteelementCount=11;
theSitetree.topTemplateName='Beach';
theSitetree.paletteFamily='94A3E7';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='10565';
theSitetree.graphicsetId='10927';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='94B4E7';
var theTemplate={
				name: 			'Beach',
				paletteFamily: 	'94A3E7',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'10565',
				graphicsetId: 	'10927',
				contentColor: 	'000000',
				contentBGColor: '94B4E7',
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'FF503F',
				e_color: 		'FF503F',
				f_color: 		'FF503F',
				hasCustomLogo: 	'false',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12'
			  };
var webappMappings = {};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '44',
internalId:  '1006',
customField: '1006'
};
webappMappings['1501']=webappMappings['1501-2732832']={
webappId:    '1501',
documentId:  '44',
internalId:  '2732832',
customField: '1501'
};
webappMappings['2001']=webappMappings['2001-location']={
webappId:    '2001',
documentId:  '41009',
internalId:  'location',
customField: 'language:de;country:DE;isIncluded:false;'
};
webappMappings['1007']=webappMappings['1007-1071f53b7df']={
webappId:    '1007',
documentId:  '40671',
internalId:  '1071f53b7df',
customField: 'g.10sfl3dp9.6kq7l8836di.3o'
};
webappMappings['1001']=webappMappings['1001-atoix0infc88106ef452715']={
webappId:    '1001',
documentId:  '40371',
internalId:  'atoix0infc88106ef452715',
customField: ''
};
webappMappings['1001']=webappMappings['1001-atoix0infc88106ef452715']={
webappId:    '1001',
documentId:  '40519',
internalId:  'atoix0infc88106ef452715',
customField: 'followUp'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44',
internalId:  '',
customField: '20080415-173324'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40317',
internalId:  '',
customField: '20051016-164903'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40371',
internalId:  '',
customField: '20051024-134333'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40326',
internalId:  '',
customField: '20060604-162701'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40380',
internalId:  '',
customField: '20060604-223013'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40335',
internalId:  '',
customField: '20060605-155746'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40344',
internalId:  '',
customField: '20060604-163154'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40519',
internalId:  '',
customField: '20051014-151518'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40389',
internalId:  '',
customField: '20051112-225848'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40671',
internalId:  '',
customField: '20060604-223127'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41009',
internalId:  '',
customField: '20051129-142341'
};
var canonHostname = 'cfawrk09.aul.t-online.de';
var accountId     = 'ATOIX0INFC88';
var companyName   = 'Ferienwohnung+im+S%C3%BCden+Berlins';
var htmlTitle	  = 'Ferienwohnung+in+Berlin';
var metaKeywords  = 'M%C3%A4uer%2CMaeuer%2CBerlin%2CFerinwohnung%2C++';
var metaContents  = 'Sch%C3%B6ne+Nichtraucher-Ferienwohnung+in+Berlin';
					                                                                    
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 */					                                                            

