/* [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('Startseite'),jdecode(''),'/39994.html','true',[],''],
	['PAGE','40555',jdecode('Wer+bin+Ich'),jdecode(''),'/40555.html','true',[],''],
	['PAGE','40564',jdecode('Impressum'),jdecode(''),'/40564.html','true',[],'']];
var siteelementCount=3;
theSitetree.topTemplateName='TOI_Wellness_1';
theSitetree.paletteFamily='FFFFFF';
theSitetree.keyvisualId='10614';
theSitetree.keyvisualName='kv_10614.jpg';
theSitetree.fontsetId='31759';
theSitetree.graphicsetId='13531';
theSitetree.contentColor='474747';
theSitetree.contentBGColor='F5F4F1';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'TOI_Wellness_1',
				paletteFamily: 	'FFFFFF',
				keyvisualId: 	'10614',
				keyvisualName: 	'kv_10614.jpg',
				fontsetId: 		'31759',
				graphicsetId: 	'13531',
				contentColor: 	'474747',
				contentBGColor: 'F5F4F1',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'000000',
				f_color: 		'000000',
				hasCustomLogo: 	'false',
				contentFontFace:'Verdana, 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: '20100116-123628'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40555',
internalId:  '',
customField: '20100116-124005'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40564',
internalId:  '',
customField: '20090702-222757'
};
webappMappings['1501']=webappMappings['1501-43526829']={
webappId:    '1501',
documentId:  '39994',
internalId:  '43526829',
customField: '1501'
};
var canonHostname = 'cfawrk04.aul.t-online.de';
var accountId     = 'ATOIX0IRC00O';
var companyName   = 'Privatpraxis+Dr.+med.+Claudia+Ludwig';
var htmlTitle	  = 'Privatpraxis+Dr.+Claudia+Ludwig%2C+Koeln%2C+Orthopaedie';
var metaKeywords  = 'Dr.+Claudia+Ludwig%2C+Dr.+Ludwig%2C+Arzt%2C+Orthop%C3%A4die%2C+Orthop%C3%A4de%2C+Orthop%C3%A4din%2C+S%C3%BClz%2C+K%C3%B6ln%2C+K%C3%B6ln-S%C3%BClz%2C+Psychotherapie%2C+Psychotherapeut%2C+Schmerz%2C+Schmerztherapie%2C+Chirotherapie%2C+Manuelle+Medizin%2C+Sportmedizin%2C+TCM%2C+Akupunktur%2C+Moxibustion%2C+Laserpunktur%2C+Lasertherapie%2C+Arthrose%2C+Osteoporose%2C+Osteologie%2C+Qualit%C3%A4tsmanagement%2C+Kinderorthop%C3%A4die%2C+Kniegelenk%2C+R%C3%BCckenschmerz%2C+Bandscheibe%2C+Rheumatologie%2C+Rheumatologe%2C+Rehabilitation%2C+physikalische+Therapie%2C+myofaszialer+Schmerz%2C+Achillodynie%2C+chronische+Schmerzen%2C+Polyarthrose%2C+Polyarthritis%2C+H%C3%BCftgelenk%2C+Fussgelenk%2C+Schultergelenk%2C+Lumbalgie%2C+Ischias%2C+Lumboischialgie%2C+Nervenschmerz%2C+neuropathischer+Schmerz%2C+Gutachten%2C+Depression%2C+Angst%2C+Neuralgie%2C+Skoliose%2C+H%C3%BCftdysplasie%2C+H%C3%BCftluxation%2C+Fuss%2C+Wirbels%C3%A4ule%2C+Wirbel%2C+Muskel%2C+Gelenk%2C+Triggerpunkt%2C+Laser';
var metaContents  = 'Privatpraxis+Orthopaedie+Dr.+Claudia+Ludwig%2C+Koeln-Suelz...Kleine%2C+barrierefreie+Privatpraxis+in+einem+ruhigen+Wohngebiet+in+Koeln-Suelz.+Neben+eingehender+Untersuchung+und+Beratung+bei+jeder+Form+von+akuten+und+chronischen+Beschwerden+am+Bewegungsapparat+koennen+auch+Termine+zum+Einholen+einer+Zweitmeinung%2C+auch+fuer+Selbstzahler%2C+vereinbart+werden.+';
					                                                                    
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 */					                                                            
