/* [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','42205',jdecode('Wenn+das+Alter+kommt'),jdecode(''),'/42205.html','true',[],''],
	['PAGE','42196',jdecode('Unternehmensleitbild'),jdecode(''),'/42196.html','true',[],''],
	['PAGE','42289',jdecode('Pflegeleitbild'),jdecode(''),'/42289.html','true',[],''],
	['PAGE','43167',jdecode('Freie+Betten'),jdecode(''),'/43167.html','true',[],''],
	['PAGE','42274',jdecode('Pfleges%C3%A4tze'),jdecode(''),'/42274.html','true',[],''],
	['PAGE','43204',jdecode('Bilder'),jdecode(''),'/43204/home.html','true',[ 
		['PAGE','43533',jdecode('Unser+Haus+und+Garten'),jdecode(''),'/43204/43533.html','true',[],''],
		['PAGE','43669',jdecode('Einige+der+Zimmer'),jdecode(''),'/43204/43669.html','true',[],''],
		['PAGE','43264',jdecode('Sommerfest+2007'),jdecode(''),'/43204/43264.html','true',[],''],
		['PAGE','43877',jdecode('Sommerfest+2008'),jdecode(''),'/43204/43877.html','true',[],''],
		['PAGE','43834',jdecode('Gottesdienst'),jdecode(''),'/43204/43834.html','true',[],'']
	],''],
	['PAGE','42241',jdecode('Jobs'),jdecode(''),'/42241.html','true',[],''],
	['PAGE','43346',jdecode('Ehrenamtliche+Aktivit%C3%A4ten'),jdecode(''),'/43346.html','true',[],''],
	['PAGE','43407',jdecode('G%C3%A4stebuch'),jdecode(''),'/43407/home.html','true',[ 
		['PAGE','43406',jdecode('Eintr%C3%A4ge'),jdecode(''),'/43407/43406.html','true',[],'']
	],''],
	['PAGE','44158',jdecode('Qualit%C3%A4tsbericht'),jdecode(''),'/44158.html','true',[],''],
	['PAGE','43286',jdecode('Datenschutz'),jdecode(''),'/43286.html','true',[],''],
	['PAGE','43151',jdecode('So+finden+Sie+uns'),jdecode(''),'/43151.html','true',[],''],
	['PAGE','42250',jdecode('Kontakt'),jdecode(''),'/42250.html','true',[],''],
	['PAGE','43523',jdecode('Kontaktformular'),jdecode(''),'/43523.html','true',[],''],
	['PAGE','42259',jdecode('Impressum'),jdecode(''),'/42259.html','true',[],'']];
var siteelementCount=22;
theSitetree.topTemplateName='Quattro';
theSitetree.paletteFamily='0B2F37';
theSitetree.keyvisualId='10936';
theSitetree.keyvisualName='kv_10936.jpg';
theSitetree.fontsetId='31901';
theSitetree.graphicsetId='13715';
theSitetree.contentColor='FEFCF9';
theSitetree.contentBGColor='0B2F37';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Quattro',
				paletteFamily: 	'0B2F37',
				keyvisualId: 	'10936',
				keyvisualName: 	'kv_10936.jpg',
				fontsetId: 		'31901',
				graphicsetId: 	'13715',
				contentColor: 	'FEFCF9',
				contentBGColor: '0B2F37',
				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',
				useFavicon:     'false'
			  };
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: '20080605-071224'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42196',
internalId:  '',
customField: '20070925-090834'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42205',
internalId:  '',
customField: '20080519-101418'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42289',
internalId:  '',
customField: '20080922-092511'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42274',
internalId:  '',
customField: '20100407-101036'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43167',
internalId:  '',
customField: '20090311-091715'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42241',
internalId:  '',
customField: '20100407-101209'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42250',
internalId:  '',
customField: '20100407-101727'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42259',
internalId:  '',
customField: '20101013-131804'
};
webappMappings['2001']=webappMappings['2001-location']={
webappId:    '2001',
documentId:  '43151',
internalId:  'location',
customField: 'language:de;country:DE;isIncluded:false;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43151',
internalId:  '',
customField: '20071012-132601'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43204',
internalId:  '',
customField: '20071001-083620'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43264',
internalId:  '',
customField: '20071219-083625'
};
webappMappings['1007']=webappMappings['1007-1155afaffba']={
webappId:    '1007',
documentId:  '43264',
internalId:  '1155afaffba',
customField: 'g.12ld5u77l.epbn91d7oh.3o'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43286',
internalId:  '',
customField: '20080115-084803'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43346',
internalId:  '',
customField: '20080227-130819'
};
webappMappings['1002']=webappMappings['1002-43407atoix0inf8ae']={
webappId:    '1002',
documentId:  '43407',
internalId:  '43407atoix0inf8ae',
customField: 'action=form&icq=false'
};
webappMappings['1002']=webappMappings['1002-43407atoix0inf8ae']={
webappId:    '1002',
documentId:  '43406',
internalId:  '43407atoix0inf8ae',
customField: 'action=list'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43407',
internalId:  '',
customField: '20080519-100037'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43406',
internalId:  '',
customField: '20080519-100037'
};
webappMappings['1501']=webappMappings['1501-48829771']={
webappId:    '1501',
documentId:  '44',
internalId:  '48829771',
customField: '1501'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43523',
internalId:  '',
customField: '20080522-142248'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43533',
internalId:  '',
customField: '20080523-072259'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43669',
internalId:  '',
customField: '20080522-140715'
};
webappMappings['1008']=webappMappings['1008-48866253']={
webappId:    '1008',
documentId:  '43523',
internalId:  '48866253',
customField: 'de:DE::;language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43834',
internalId:  '',
customField: '20080702-105330'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43877',
internalId:  '',
customField: '20080820-085731'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44158',
internalId:  '',
customField: '20090127-125324'
};
var canonHostname = 'c4awrk03.aul.t-online.de';
var accountId     = 'ATOIX0INF8AE';
var companyName   = 'Senioren-+und+Pflegeheim+%22Haus+Wehldorf%22';
var htmlTitle	  = 'Senioren-+und+Pflegeheim+Haus+Wehldorf';
var metaKeywords  = 'Haus%2C+Wehldorf%2C+Altenpflege%2C+Seniorenpflege%2C+Altenheim%2C+Altersheim%2C+Seniorenheim%2C+Senioren%2C+Pflegeheim%2C+Senioren-+und+Pflegeheim%2C+Beverstedt%2C+Kurzzeitpflege%2C+Verhinderungspflege%2C+Wehldorf%2C+Pflegekonzept%2C+Pflegeleitbild%2C+Pflegekr%C3%A4fte%2C+Pflegefachkr%C3%A4fte%2C+Heimkosten%2C+Pflegestufe%2C+Pflegekasse%2C+Zuzahlung%2C+Pflegestufe%2C+Pflegeleitbild%2C+Versorgung%2C+vollstation%C3%A4re+Pflege%2C+Rundumpflege%2C+Pflegestandards%2C+psychosoziale+Betreuung%2C+Wachkoma%2C+Demenz%2C+Betreuung%2C+demenziell%2C+station%C3%A4re+Pflege%2C+Behandlungspflege%2C+famili%C3%A4re+Pflege%2C+Stellenangebot%2C+Stellensuche';
var metaContents  = 'Haus+Wehldorf+Das+Haus+mit+der+individuellen+Betreuung+in+der+reizvollen+Landschaft+der+Gemeinde+Beverstedt';
					                                                                    
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;                                                                     
	};                                                                               
theSitetree.getByXx = function(lookup, xx, ar) {									 
    if (typeof(ar) == 'undefined')												 
    	ar = this;																	 
    for (var i=0; i < ar.length; i++) {										     
        if (ar[i][xx] == lookup)													 
        	return ar[i];															 
        if (ar[i][POS_CHILDS].length > 0) {										 
        	var result=this.getByXx(lookup, xx, ar[i][POS_CHILDS]);					 
            if (result != null)													 
                return result;													 
        }																			 
    }																				 
    return null;																	 
};																				 
function gotoPage(lookup) {														 
    var page = theSitetree.getHREF(lookup);										 
    if (!page) {																	 
  		var testFor = [ POS_NAME, POS_NAVIGATIONTEXT ];							 
            for (var i=0 ; i < testFor.length ; i++) {							 
                    var p = theSitetree.getByXx(lookup, testFor[i]);				 
                    if (p != null) {												 
                            page = p[POS_HREF];									 
                            break;												 
                    }																 
            }																		 
    }																				 
 document.location.href = (new URL(__path_prefix__ + page, true, true)).toString();
}
/* EOF */					                                                            

