/* [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','41274',jdecode('Praxisspektrum%2FLeistungen'),jdecode(''),'/41274.html','true',[],''],
	['PAGE','48201',jdecode('Niedrigschwellige+Leistungen'),jdecode(''),'/48201.html','true',[],''],
	['PAGE','41301',jdecode('Fachbereiche'),jdecode(''),'/41301.html','true',[],''],
	['PAGE','41265',jdecode('Sprechzeiten+%2F+Kontakt'),jdecode(''),'/41265/home.html','true',[ 
		['PAGE','42246',jdecode('Anfahrt+Leipzig-Wiederitzsch'),jdecode(''),'/41265/42246.html','true',[],''],
		['PAGE','42323',jdecode('Anfahrt+Leipzig-Reudnitz'),jdecode(''),'/41265/42323.html','true',[],''],
		['PAGE','43632',jdecode('Anfahrt+Halle'),jdecode(''),'/41265/43632.html','true',[],'']
	],''],
	['PAGE','43376',jdecode('Team%2FPraxis+Leipzig'),jdecode(''),'/43376.html','true',[],''],
	['PAGE','43388',jdecode('Team%2FPraxis+Halle'),jdecode(''),'/43388.html','true',[],''],
	['PAGE','43471',jdecode('Team%2FPraxis+Eisenberg'),jdecode(''),'/43471.html','true',[],''],
	['PAGE','48401',jdecode('Neuer%C3%B6ffnung+in+Leipzig'),jdecode(''),'/48401.html','true',[],''],
	['PAGE','47801',jdecode('Job+aktuell'),jdecode(''),'/47801.html','true',[],''],
	['PAGE','42394',jdecode('Entspannungsmassagen'),jdecode(''),'/42394/home.html','true',[ 
		['PAGE','42417',jdecode('Breu%C3%9Fmassage'),jdecode(''),'/42394/42417.html','true',[],'']
	],''],
	['PAGE','43793',jdecode('G%C3%A4stebuch'),jdecode(''),'/43793/home.html','true',[ 
		['PAGE','43792',jdecode('Eintr%C3%A4ge'),jdecode(''),'/43793/43792.html','true',[],'']
	],''],
	['PAGE','42354',jdecode('Impressum'),jdecode(''),'/42354.html','true',[],'']];
var siteelementCount=18;
theSitetree.topTemplateName='Litfass';
theSitetree.paletteFamily='CE636A';
theSitetree.keyvisualId='11035';
theSitetree.keyvisualName='kv_11035.jpg';
theSitetree.fontsetId='32075';
theSitetree.graphicsetId='13771';
theSitetree.contentColor='FFFFFF';
theSitetree.contentBGColor='CE636A';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Litfass',
				paletteFamily: 	'CE636A',
				keyvisualId: 	'11035',
				keyvisualName: 	'kv_11035.jpg',
				fontsetId: 		'32075',
				graphicsetId: 	'13771',
				contentColor: 	'FFFFFF',
				contentBGColor: 'CE636A',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'000000',
				f_color: 		'000000',
				hasCustomLogo: 	'true',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['1002']=webappMappings['1002-43793atoix0i7mcis']={
webappId:    '1002',
documentId:  '43793',
internalId:  '43793atoix0i7mcis',
customField: 'action=form&icq=false'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44',
internalId:  '',
customField: '20100330-152610'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42323',
internalId:  '',
customField: '20070917-140228'
};
webappMappings['2001']=webappMappings['2001-location']={
webappId:    '2001',
documentId:  '43632',
internalId:  'location',
customField: 'language:de;country:DE;isIncluded:false;'
};
webappMappings['1007']=webappMappings['1007-120cd078690']={
webappId:    '1007',
documentId:  '43388',
internalId:  '120cd078690',
customField: 'g.1436gbh66.42m1hjockj.3o'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42246',
internalId:  '',
customField: '20070917-140803'
};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '44',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41265',
internalId:  '',
customField: '20120111-101300'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41301',
internalId:  '',
customField: '20110321-232642'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41274',
internalId:  '',
customField: '20100925-125529'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43471',
internalId:  '',
customField: '20090715-142820'
};
webappMappings['1007']=webappMappings['1007-1218c5b4865']={
webappId:    '1007',
documentId:  '43471',
internalId:  '1218c5b4865',
customField: 'g.14664956i.3bl6sdpo9t.3o'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42354',
internalId:  '',
customField: '20100330-150207'
};
webappMappings['1002']=webappMappings['1002-43793atoix0i7mcis']={
webappId:    '1002',
documentId:  '43792',
internalId:  '43793atoix0i7mcis',
customField: 'action=list'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42394',
internalId:  '',
customField: '20110321-232530'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42417',
internalId:  '',
customField: '20090302-212240'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43376',
internalId:  '',
customField: '20090422-105847'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43388',
internalId:  '',
customField: '20090422-105920'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '48201',
internalId:  '',
customField: '20110725-143052'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43793',
internalId:  '',
customField: '20100330-111420'
};
webappMappings['1007']=webappMappings['1007-120cd0276c0']={
webappId:    '1007',
documentId:  '43376',
internalId:  '120cd0276c0',
customField: 'g.1436g21n6.b256f1vckh.3o'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43632',
internalId:  '',
customField: '20100324-125420'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '48401',
internalId:  '',
customField: '20120125-161922'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '47801',
internalId:  '',
customField: '20120125-150758'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43792',
internalId:  '',
customField: '20100330-111420'
};
var canonHostname = 'c4awrk01.aul.t-online.de';
var accountId     = 'ATOIX0I7MCIS';
var companyName   = 'Ergotherapie+Siebert+%22+zur%C3%BCck+zur+Selbstst%C3%A4ndigkeit++%22';
var htmlTitle	  = 'Praxis+f%C3%BCr+Ergotherapie+Siebert+in+Leipzig';
var metaKeywords  = 'Heilung%2C+Ergotherapie%2C+Siebert%2C++Sabine%2C+Hilfsmittel%2C+Ergo';
var metaContents  = 'Willkommen+bei+der+Ergotherapie+Siebert+%21+Hier+erfahren+Sie+alles+%C3%BCber+uns%2C+unsere+Leistungen+und+Angebote+';
					                                                                    
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 */					                                                            

