/* [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','11180',jdecode('Startseite'),jdecode(''),'/11180.html','true',[],''],
	['PAGE','11237',jdecode('Service++++'),jdecode(''),'/11237.html','true',[],''],
	['PAGE','11201',jdecode('Konzept'),jdecode(''),'/11201.html','true',[],''],
	['PAGE','11210',jdecode('Pflegeleitbild'),jdecode(''),'/11210.html','true',[],''],
	['PAGE','32901',jdecode('Ferienzeit'),jdecode(''),'/32901.html','true',[],''],
	['PAGE','33201',jdecode('Umfrage'),jdecode(''),'/33201.html','false',[],''],
	['PAGE','26364',jdecode('Jobs'),jdecode(''),'/26364.html','false',[],''],
	['PAGE','15001',jdecode('neues+zur+Gesundheit'),jdecode(''),'/15001.html','true',[],''],
	['PAGE','26385',jdecode('Kontakt'),jdecode(''),'/26385.html','true',[],''],
	['PAGE','11336',jdecode('Anfahrt'),jdecode(''),'/11336.html','true',[],'']];
var siteelementCount=10;
theSitetree.topTemplateName='Urlaub6';
theSitetree.paletteFamily='FAF1CB';
theSitetree.keyvisualId='8580';
theSitetree.keyvisualName='kv_8580.jpg';
theSitetree.fontsetId='17113';
theSitetree.graphicsetId='12509';
theSitetree.contentColor='C36102';
theSitetree.contentBGColor='FFFFFF';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Urlaub6',
				paletteFamily: 	'FAF1CB',
				keyvisualId: 	'8580',
				keyvisualName: 	'kv_8580.jpg',
				fontsetId: 		'17113',
				graphicsetId: 	'12509',
				contentColor: 	'C36102',
				contentBGColor: 'FFFFFF',
				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['1501']=webappMappings['1501-1705695']={
webappId:    '1501',
documentId:  '11180',
internalId:  '1705695',
customField: '1501'
};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '11180',
internalId:  '1006',
customField: '1006'
};
webappMappings['2001']=webappMappings['2001-location']={
webappId:    '2001',
documentId:  '11336',
internalId:  'location',
customField: 'language:de;country:DE;isIncluded:false;'
};
webappMappings['1011']=webappMappings['1011-ddp-gesund']={
webappId:    '1011',
documentId:  '15001',
internalId:  'ddp-gesund',
customField: 'language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '11180',
internalId:  '',
customField: '20101130-131920'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '11210',
internalId:  '',
customField: '20060328-224936'
};
webappMappings['1005']=webappMappings['1005-12f6e3ad8de.deb3fd38']={
webappId:    '1005',
documentId:  '33201',
internalId:  '12f6e3ad8de.deb3fd38',
customField: 'de:DE::;language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '26364',
internalId:  '',
customField: '20110419-133657'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '26385',
internalId:  '',
customField: '20110523-220458'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '11201',
internalId:  '',
customField: '20110504-184648'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '11237',
internalId:  '',
customField: '20101125-100929'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '32901',
internalId:  '',
customField: '20110419-164934'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '11336',
internalId:  '',
customField: '20060817-004130'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '15001',
internalId:  '',
customField: '20060913-070910'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '33201',
internalId:  '',
customField: '20110419-170717'
};
var canonHostname = 'c4awrk01.aul.t-online.de';
var accountId     = 'ATOIX0INL4YC';
var companyName   = 'Die+Pflegende+Hand';
var htmlTitle	  = 'ambulante+Pflege+in+Witten+%2CPflegedienste%2CKrankenpflege+Altenpflege%2CH%C3%A4usliche+Pflege';
var metaKeywords  = 'Die+Pflegende+Hand+%2Cambulante+Pflege+%2C+Grundpflege%2CBehandlungspflege%2C+Betreuung%2CBegleitung%2C+Krankenpflege%2CPflegedienst%2Cputzen%2Cwaschen%2Cb%C3%BCgeln%2CVerhinderungspflege%2CPflegeschulung%2CWundmanagement%2CNotruf%2CEssen+auf+R%C3%A4der%2CPalliativpflege%2CDiabetesmanagement%2CSchwangerschaftsbetreuung%2CMobilit%C3%A4tstraning%2CEinkaufsbetreung%2Ckochen%2Cbacken%2CBlumengie%C3%9Fen%2CBegleitung+bei+Amtsbesuchen+Begleitung+bei+Arztbesuchen+Begleitung+bei+MDK-besuchen.';
var metaContents  = 'ambulantePflegeexperten+f%C3%BCr+den+Gro%C3%9Fraum+Witten+und+angrenzende+Orte.Sie+suche+promte+Hilfe+Anruf+oder+Mail+gen%C3%BCgt+wir+kommen.';
					                                                                    
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 */					                                                            

