/* [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','41354',jdecode('Umgebung'),jdecode(''),'/41354.html','true',[],''],
	['PAGE','41282',jdecode('Die+Wohnung'),jdecode(''),'/41282.html','true',[],''],
	['PAGE','41291',jdecode('Das+Badezimmer'),jdecode(''),'/41291.html','true',[],''],
	['PAGE','41318',jdecode('Die+K%C3%BCche'),jdecode(''),'/41318.html','true',[],''],
	['PAGE','41327',jdecode('Das+Wohnen'),jdecode(''),'/41327.html','true',[],''],
	['PAGE','41345',jdecode('Das+Schlafzimmer'),jdecode(''),'/41345.html','true',[],''],
	['PAGE','41309',jdecode('Preis+%26+Leistung'),jdecode(''),'/41309.html','true',[],''],
	['PAGE','41336',jdecode('Kontakt%2FBelegungsplan'),jdecode(''),'/41336.html','true',[],''],
	['PAGE','41426',jdecode('Anfahrt'),jdecode(''),'/41426.html','true',[],'']];
var siteelementCount=10;
theSitetree.topTemplateName='Stripes';
theSitetree.paletteFamily='003399';
theSitetree.keyvisualId='1642';
theSitetree.keyvisualName='kanu_see.jpg';
theSitetree.fontsetId='245';
theSitetree.graphicsetId='304';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='FCFCFB';
var theTemplate={
				name: 			'Stripes',
				paletteFamily: 	'003399',
				keyvisualId: 	'1642',
				keyvisualName: 	'kanu_see.jpg',
				fontsetId: 		'245',
				graphicsetId: 	'304',
				contentColor: 	'000000',
				contentBGColor: 'FCFCFB',
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				a_color: 		'003399',
				b_color: 		'DEDECA',
				c_color: 		'000000',
				d_color: 		'FFFFFF',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'true',
				contentFontFace:'Times New Roman, Times, serif',
				contentFontSize:'12'
			  };
var webappMappings = {};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '44',
internalId:  '1006',
customField: '1006'
};
webappMappings['1501']=webappMappings['1501-10609680']={
webappId:    '1501',
documentId:  '44',
internalId:  '10609680',
customField: '1501'
};
webappMappings['2001']=webappMappings['2001-location']={
webappId:    '2001',
documentId:  '41426',
internalId:  'location',
customField: 'language:de;country:DE;isIncluded:false;'
};
webappMappings['1008']=webappMappings['1008-19804154']={
webappId:    '1008',
documentId:  '41336',
internalId:  '19804154',
customField: 'de:DE:'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44',
internalId:  '',
customField: '20070306-150831'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41354',
internalId:  '',
customField: '20060628-224924'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41282',
internalId:  '',
customField: '20060419-095101'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41291',
internalId:  '',
customField: '20060628-223301'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41318',
internalId:  '',
customField: '20060408-150259'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41327',
internalId:  '',
customField: '20060628-223503'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41345',
internalId:  '',
customField: '20060405-181142'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41309',
internalId:  '',
customField: '20070926-220955'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41336',
internalId:  '',
customField: '20060822-131800'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41426',
internalId:  '',
customField: '20060907-175720'
};
var canonHostname = 'cfawrk03.aul.t-online.de';
var accountId     = 'ATOIX0I75CZW';
var companyName   = 'Rollstuhlfahrerferienwohnung';
var htmlTitle	  = 'Rollstuhlfahrer+Ferienwohnung+am+Bodensee';
var metaKeywords  = 'roll%2Cstuhl%2C+fahrer%2Crollstuhl%2Cferienwohnung%2CUrlaub%2Cbodensee%2Chandicaped%2Callergiker%2Cmeersburg%2Cdaisendorf%2C%C3%BCberlingen%2Cschweiz%2C%C3%B6sterreich%2C+ferien%2C+wohnung%2C+bodensee%2Crollstuhl-ferienwohnung%2Cbaden-w%C3%BCrttemberg%2Cohne%2Cbehindertengerecht%2C50%E2%82%AC%2Crollstuhlferienwohnung%2Crollstuhlferienwohnung%2Curlaub+im+rollstuhl%2C';
var metaContents  = 'Rollstuhlfahrer+Ferienwohnung+am+Bodensee+im+Dreil%C3%A4ndereck+Deutschland+Schweiz+%C3%96sterreich';
					                                                                    
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 */					                                                            
