/* [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','39994',jdecode('Wir+%C3%BCber+uns'),jdecode(''),'/39994.html','true',[],''],
	['PAGE','40359',jdecode('Pflegeleitbild%2FKonzept'),jdecode(''),'/40359.html','true',[],''],
	['PAGE','42549',jdecode('Transparenzbericht'),jdecode(''),'/42549.html','true',[],''],
	['PAGE','41755',jdecode('Heimkosten'),jdecode(''),'/41755.html','true',[],''],
	['PAGE','40386',jdecode('Pinnwand%2FTermine'),jdecode(''),'/40386.html','true',[],''],
	['PAGE','42531',jdecode('Stellenangebote'),jdecode(''),'/42531.html','true',[],''],
	['PAGE','41647',jdecode('Bilder+Haus+Marie'),jdecode(''),'/41647.html','true',[],''],
	['PAGE','40404',jdecode('10+Jahre+Haus+Marie'),jdecode(''),'/40404.html','true',[],''],
	['PAGE','41409',jdecode('G%C3%A4stebuch'),jdecode(''),'/41409/home.html','true',[ 
		['PAGE','41408',jdecode('Eintr%C3%A4ge'),jdecode(''),'/41409/41408.html','true',[],'']
	],''],
	['PAGE','41427',jdecode('Anfahrt'),jdecode(''),'/41427.html','true',[],''],
	['PAGE','40413',jdecode('Kontakt%2FImpressum'),jdecode(''),'/40413.html','true',[],'']];
var siteelementCount=12;
theSitetree.topTemplateName='Macao';
theSitetree.paletteFamily='607FB8';
theSitetree.keyvisualId='6421';
theSitetree.keyvisualName='kv_6421.jpg';
theSitetree.fontsetId='11168';
theSitetree.graphicsetId='11976';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='A3BAE5';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Macao',
				paletteFamily: 	'607FB8',
				keyvisualId: 	'6421',
				keyvisualName: 	'kv_6421.jpg',
				fontsetId: 		'11168',
				graphicsetId: 	'11976',
				contentColor: 	'000000',
				contentBGColor: 'A3BAE5',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'000000',
				f_color: 		'000000',
				hasCustomLogo: 	'true',
				contentFontFace:'Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '39994',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '39994',
internalId:  '',
customField: '20110114-120232'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41755',
internalId:  '',
customField: '20110103-121148'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40359',
internalId:  '',
customField: '20110110-090546'
};
webappMappings['1002']=webappMappings['1002-41409atoix0i7ftr5']={
webappId:    '1002',
documentId:  '41409',
internalId:  '41409atoix0i7ftr5',
customField: 'action=form&icq=false'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40413',
internalId:  '',
customField: '20080128-225914'
};
webappMappings['1002']=webappMappings['1002-41409atoix0i7ftr5']={
webappId:    '1002',
documentId:  '41408',
internalId:  '41409atoix0i7ftr5',
customField: 'action=list'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41409',
internalId:  '',
customField: '20080112-195552'
};
webappMappings['2001']=webappMappings['2001-location']={
webappId:    '2001',
documentId:  '41427',
internalId:  'location',
customField: 'language:de;country:DE;isIncluded:false;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40386',
internalId:  '',
customField: '20110114-154037'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40404',
internalId:  '',
customField: '20090108-113651'
};
webappMappings['1007']=webappMappings['1007-117687f75c2']={
webappId:    '1007',
documentId:  '41647',
internalId:  '117687f75c2',
customField: 'g.12tk71c32.8ee8j08p4lg.1s'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41647',
internalId:  '',
customField: '20080111-172122'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41427',
internalId:  '',
customField: '20080109-205343'
};
webappMappings['1008']=webappMappings['1008-44462302']={
webappId:    '1008',
documentId:  '40413',
internalId:  '44462302',
customField: 'de:DE::;language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41408',
internalId:  '',
customField: '20080109-205050'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42531',
internalId:  '',
customField: '20110116-172955'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42549',
internalId:  '',
customField: '20110131-093034'
};
var canonHostname = 'c4awrk02.aul.t-online.de';
var accountId     = 'ATOIX0I7FTR5';
var companyName   = 'Haus+Marie+Pflege+fast+wie+zu+Hause';
var htmlTitle	  = '+Pflegeheim+Haus+Marie+Vollstation%C3%A4re+Pflege-und+WohneinrichtungsGmbH';
var metaKeywords  = 'Haus+Marie%2C+hausmarie%2C+Haus-Marie%2CPflege%2C+Pflegeheim%2C+Altenheim%2C+Heim%2C+besch%C3%BCtzend%2C+geschlossen+%2C+Pflegeheim+Augsburg%2C+Alzheimer%2C+Demenz%2CGeronto%2C+Pflegestammtisch%2CUnterbringung%2CSenioren%2CSeniorenwohnung%2CSozial%2CKahnfahrt%2C+F%C3%BCnffingerlesturm%2C+Oblatterwallstrasse%2CPflegeplatz%2CSeniorenbeirat%2CAltenpflegeheim%2C+Altenheim%2C+Station%C3%A4re+Pflegeeinrichtung%2C+Pflegeeinrichtung%2CGerontopsychiatrie%2C+Intensivpflege%2CVerwirrt%2CAlter+Mensch%2C+%C3%A4ltere+Menschen%2C+Betreuung%2C+Sozial%2CAWO%2C+Caritas%2CStadt+Augsburg%2C+Augsburg+und+Umgebung%2Cfreiwilligen+Zentrum%2CFuggerei%2CWegweiser%2C+Menschen+mit+Behinderung%2CKranke%2CBehinderte%2CSoziale+Dienste%2CGrundpflege%2C+Behandlungspflege%2C+Notruf%2CKrankheit%2CFachkr%C3%A4fte%2C+Krankenschwester%2C+altenpfleger%2CPflegenotruf%2C+fremde+Hilfe%2CKrankenpflege%2C+Pflegedienst%2CPsychiatrie%2CGeriatrie%2Cgerontopsychiatrische+Dienste%2C+schwerkrank%2C+sterbend%2CAlzheimer+aktiv%2Cgerontopsychiatrische+Fachpl%C3%A4tze%2Cprivates+Pflegeheim%2Cprivates+Heim%2C+Drochner+Marion%2C+Rieger+Armin%2C+Haus+Marie%2C+haus+marie%2C+Haus+Mari%2C+privates+kleines+pflegeheim';
var metaContents  = '+Privates++besch%C3%BCtzendes+Pflegeheim+Haus+Marie+';
					                                                                    
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 */					                                                            

