/* [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('Diagnose'),jdecode(''),'/40555.html','true',[],''],
	['PAGE','40671',jdecode('Erkrankungen'),jdecode(''),'/40671/home.html','true',[ 
		['PAGE','40850',jdecode('R%C3%BCckenschmerzen'),jdecode(''),'/40671/40850.html','true',[],''],
		['PAGE','40859',jdecode('Arteriosklerose'),jdecode(''),'/40671/40859.html','true',[],''],
		['PAGE','40886',jdecode('Allergie'),jdecode(''),'/40671/40886.html','true',[],''],
		['PAGE','40995',jdecode('Ich+halte+Vortr%C3%A4ge+zum+Thema%3A'),jdecode(''),'/40671/40995.html','true',[],'']
	],''],
	['PAGE','40564',jdecode('Therapie'),jdecode(''),'/40564/home.html','true',[ 
		['PAGE','40713',jdecode('SCIO-Bioresonanz'),jdecode(''),'/40564/40713.html','true',[],''],
		['PAGE','40680',jdecode('Dorn-Breu%C3%9F-Wirbels%C3%A4ulentherapie'),jdecode(''),'/40564/40680.html','true',[],''],
		['PAGE','40689',jdecode('Chelat-Schwermetallausleitung'),jdecode(''),'/40564/40689.html','true',[],''],
		['PAGE','40698',jdecode('Colon-Hydro-Therapie'),jdecode(''),'/40564/40698.html','true',[],'']
	],''],
	['PAGE','40895',jdecode('KREBS+-+Selbsthilfegruppe'),jdecode(''),'/40895.html','true',[],''],
	['PAGE','40618',jdecode('Kurse+%2F+Vortr%C3%A4ge+%2F+Infos'),jdecode(''),'/40618.html','true',[],''],
	['PAGE','40904',jdecode('Wissenswertes'),jdecode(''),'/40904.html','true',[],''],
	['PAGE','40913',jdecode('Tips'),jdecode(''),'/40913.html','true',[],''],
	['PAGE','40722',jdecode('Anfahrt'),jdecode(''),'/40722.html','true',[],''],
	['PAGE','40922',jdecode('Links'),jdecode(''),'/40922.html','true',[],''],
	['PAGE','40627',jdecode('Impressum'),jdecode(''),'/40627.html','true',[],'']];
var siteelementCount=19;
theSitetree.topTemplateName='FliegendeEcke';
theSitetree.paletteFamily='4DBB5E';
theSitetree.keyvisualId='11052';
theSitetree.keyvisualName='kv_11052.jpg';
theSitetree.fontsetId='31937';
theSitetree.graphicsetId='13777';
theSitetree.contentColor='FFFFFF';
theSitetree.contentBGColor='4DBB5E';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'FliegendeEcke',
				paletteFamily: 	'4DBB5E',
				keyvisualId: 	'11052',
				keyvisualName: 	'kv_11052.jpg',
				fontsetId: 		'31937',
				graphicsetId: 	'13777',
				contentColor: 	'FFFFFF',
				contentBGColor: '4DBB5E',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'000000',
				f_color: 		'000000',
				hasCustomLogo: 	'false',
				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: '20120207-134436'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40564',
internalId:  '',
customField: '20110725-224438'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40555',
internalId:  '',
customField: '20101231-205527'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40680',
internalId:  '',
customField: '20090423-013306'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40689',
internalId:  '',
customField: '20110910-123519'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40671',
internalId:  '',
customField: '20110725-222701'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40713',
internalId:  '',
customField: '20090423-021028'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40618',
internalId:  '',
customField: '20111031-154836'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40627',
internalId:  '',
customField: '20100503-095607'
};
webappMappings['2001']=webappMappings['2001-location']={
webappId:    '2001',
documentId:  '40722',
internalId:  'location',
customField: 'language:de;country:DE;isIncluded:false;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40698',
internalId:  '',
customField: '20090423-020029'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40722',
internalId:  '',
customField: '20090423-155513'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40895',
internalId:  '',
customField: '20120207-141712'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40904',
internalId:  '',
customField: '20110910-124422'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40850',
internalId:  '',
customField: '20111031-151811'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40859',
internalId:  '',
customField: '20101231-220358'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40886',
internalId:  '',
customField: '20101231-212737'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40995',
internalId:  '',
customField: '20120207-142652'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40913',
internalId:  '',
customField: '20110114-133810'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40922',
internalId:  '',
customField: '20111031-154929'
};
var canonHostname = 'c4awrk04.aul.t-online.de';
var accountId     = 'ATOIX0IR4KVS';
var companyName   = 'NaturheilPraxis+Osiander';
var htmlTitle	  = 'NaturheilPraxis+Osiander';
var metaKeywords  = 'Ihr+Name%2C+Dienstleistung%2C+Service%2C+Ihre+Leistungen%2C+Ihr+Angebot++';
var metaContents  = 'Willkommen+bei+Ihr+Name%2C+Ihrem+Dienstleistungspezialist+fuer+IhreBranche.++';
					                                                                    
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 */					                                                            

