/* [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','40992',jdecode('Praxen'),jdecode(''),'/40992/home.html','true',[ 
		['PAGE','41001',jdecode('Orthop%C3%A4die%2FPRM'),jdecode(''),'/40992/41001.html','true',[],''],
		['PAGE','41010',jdecode('Physiotherapie'),jdecode(''),'/40992/41010.html','true',[],'']
	],''],
	['PAGE','41200',jdecode('Indikationen'),jdecode(''),'/41200/home.html','true',[ 
		['PAGE','41209',jdecode('Orthop%C3%A4die'),jdecode(''),'/41200/41209.html','true',[],''],
		['PAGE','41245',jdecode('Neurologie'),jdecode(''),'/41200/41245.html','true',[],''],
		['PAGE','41254',jdecode('Sportmedizin'),jdecode(''),'/41200/41254.html','true',[],'']
	],''],
	['PAGE','43716',jdecode('Aktuelles'),jdecode(''),'/43716.html','true',[],''],
	['PAGE','49382',jdecode('Online-Doctoring'),jdecode(''),'/49382/home.html','true',[ 
		['PAGE','51582',jdecode('Anmeldung'),jdecode(''),'/49382/51582.html','true',[],'']
	],''],
	['PAGE','41227',jdecode('Termine'),jdecode(''),'/41227/home.html','true',[ 
		['PAGE','45124',jdecode('Termine+%28Folgeseite%29'),jdecode(''),'/41227/45124.html','false',[],''],
		['PAGE','41311',jdecode('Termine+%28Folgeseite%29'),jdecode(''),'/41227/41311.html','false',[],'']
	],''],
	['PAGE','41290',jdecode('Personalia'),jdecode(''),'/41290.html','true',[],''],
	['PAGE','41299',jdecode('Cornelius+Solingen'),jdecode(''),'/41299.html','true',[],''],
	['PAGE','41218',jdecode('Akademie'),jdecode(''),'/41218/home.html','true',[ 
		['PAGE','41272',jdecode('Anmeldung'),jdecode(''),'/41218/41272/home.html','true',[ 
			['PAGE','46129',jdecode('Anmeldung+%28Folgeseite%29'),jdecode(''),'/41218/41272/46129.html','false',[],''],
			['PAGE','41320',jdecode('Anmeldung+%28Folgeseite%29'),jdecode(''),'/41218/41272/41320.html','false',[],'']
		],'']
	],''],
	['PAGE','41186',jdecode('Anfahrt'),jdecode(''),'/41186.html','true',[],''],
	['PAGE','41236',jdecode('Impressum'),jdecode(''),'/41236.html','true',[],'']];
var siteelementCount=22;
theSitetree.topTemplateName='Startup';
theSitetree.paletteFamily='003366';
theSitetree.keyvisualId='1345';
theSitetree.keyvisualName='yoga.jpg';
theSitetree.fontsetId='232';
theSitetree.graphicsetId='274';
theSitetree.contentColor='000066';
theSitetree.contentBGColor='FFFFFF';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Startup',
				paletteFamily: 	'003366',
				keyvisualId: 	'1345',
				keyvisualName: 	'yoga.jpg',
				fontsetId: 		'232',
				graphicsetId: 	'274',
				contentColor: 	'000066',
				contentBGColor: 'FFFFFF',
				a_color: 		'003366',
				b_color: 		'333333',
				c_color: 		'000000',
				d_color: 		'FF0000',
				e_color: 		'FF0000',
				f_color: 		'FF0000',
				hasCustomLogo: 	'true',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '44',
internalId:  '1006',
customField: '1006'
};
webappMappings['1001']=webappMappings['1001-atoix0in363j105c8e88fee']={
webappId:    '1001',
documentId:  '41227',
internalId:  'atoix0in363j105c8e88fee',
customField: ''
};
webappMappings['1001']=webappMappings['1001-atoix0in363j1055de525d6']={
webappId:    '1001',
documentId:  '41311',
internalId:  'atoix0in363j1055de525d6',
customField: 'followUp'
};
webappMappings['2001']=webappMappings['2001-location']={
webappId:    '2001',
documentId:  '41186',
internalId:  'location',
customField: 'language:de;country:DE;isIncluded:false;'
};
webappMappings['1001']=webappMappings['1001-atoix0in363j1055df4fda1']={
webappId:    '1001',
documentId:  '41272',
internalId:  'atoix0in363j1055df4fda1',
customField: ''
};
webappMappings['1001']=webappMappings['1001-atoix0in363j1055df4fda1']={
webappId:    '1001',
documentId:  '41320',
internalId:  'atoix0in363j1055df4fda1',
customField: 'followUp'
};
webappMappings['1001']=webappMappings['1001-atoix0in363j105c8e88fee']={
webappId:    '1001',
documentId:  '45124',
internalId:  'atoix0in363j105c8e88fee',
customField: 'followUp'
};
webappMappings['1001']=webappMappings['1001-atoix0in363j1055df4fda1']={
webappId:    '1001',
documentId:  '46129',
internalId:  'atoix0in363j1055df4fda1',
customField: 'followUp'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44',
internalId:  '',
customField: '20071101-183354'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40992',
internalId:  '',
customField: '20070731-201716'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41200',
internalId:  '',
customField: '20050818-085152'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41290',
internalId:  '',
customField: '20071114-212124'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43716',
internalId:  '',
customField: '20070731-190339'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41001',
internalId:  '',
customField: '20060119-180017'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41010',
internalId:  '',
customField: '20050818-090516'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41209',
internalId:  '',
customField: '20050731-213456'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41245',
internalId:  '',
customField: '20050731-213428'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41254',
internalId:  '',
customField: '20050731-213518'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41227',
internalId:  '',
customField: '20071017-173101'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45124',
internalId:  '',
customField: '20050818-112550'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41311',
internalId:  '',
customField: '20050728-164243'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41299',
internalId:  '',
customField: '20050807-113017'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41218',
internalId:  '',
customField: '20080424-172102'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '51582',
internalId:  '',
customField: '20071201-162009'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41272',
internalId:  '',
customField: '20050729-155006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '46129',
internalId:  '',
customField: '20050818-113255'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41320',
internalId:  '',
customField: '20050728-170001'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41186',
internalId:  '',
customField: '20050802-091142'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41236',
internalId:  '',
customField: '20050807-113415'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '49382',
internalId:  '',
customField: '20071115-095850'
};
var canonHostname = 'c4awrk03.aul.t-online.de';
var accountId     = 'ATOIX0IN363J';
var companyName   = 'CORNELIUS-Praxisgruppe';
var htmlTitle	  = 'CORNELIUS-Praxisgruppe';
var metaKeywords  = '%5BB%404b7dda';
var metaContents  = '%5BB%403385d3';
					                                                                    
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 */					                                                            

