/* [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','13776',jdecode('Home'),jdecode(''),'/13776.html','true',[],''],
	['PAGE','14101',jdecode('Hom%C3%B6opathie'),jdecode(''),'/14101/home.html','true',[ 
		['PAGE','14901',jdecode('Brosch%C3%BCre'),jdecode(''),'/14101/14901.html','true',[],'']
	],''],
	['PAGE','14002',jdecode('Anfahrt+und+Preise'),jdecode(''),'/14002.html','true',[],''],
	['PAGE','16022',jdecode('Seminare'),jdecode(''),'/16022.html','true',[],''],
	['PAGE','14911',jdecode('Literatur'),jdecode(''),'/14911.html','true',[],''],
	['PAGE','14106',jdecode('Kollegen'),jdecode(''),'/14106.html','true',[],''],
	['PAGE','27101',jdecode('Wissmut'),jdecode(''),'/27101.html','true',[],''],
	['PAGE','35401',jdecode('Impressum'),jdecode(''),'/35401.html','true',[],'']];
var siteelementCount=9;
theSitetree.topTemplateName='Caribic';
theSitetree.paletteFamily='8A2A2A';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='10419';
theSitetree.graphicsetId='10711';
theSitetree.contentColor='FFFFFF';
theSitetree.contentBGColor='B63636';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Caribic',
				paletteFamily: 	'8A2A2A',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'10419',
				graphicsetId: 	'10711',
				contentColor: 	'FFFFFF',
				contentBGColor: 'B63636',
				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['2001']=webappMappings['2001-location']={
webappId:    '2001',
documentId:  '14002',
internalId:  'location',
customField: 'language:de;country:DE;isIncluded:false;'
};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '13776',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13776',
internalId:  '',
customField: '20091213-140405'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '16022',
internalId:  '',
customField: '20100128-131224'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14101',
internalId:  '',
customField: '20050211-234621'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14901',
internalId:  '',
customField: '20050211-234003'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14002',
internalId:  '',
customField: '20080125-093543'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '35401',
internalId:  '',
customField: '20080126-090620'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14911',
internalId:  '',
customField: '20050130-165038'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14106',
internalId:  '',
customField: '20090915-090027'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '27101',
internalId:  '',
customField: '20100212-210535'
};
var canonHostname = 'cfawrk05.aul.t-online.de';
var accountId     = 'ATOIX0INEAUT';
var companyName   = 'Karl-Josef+M%C3%BCller';
var htmlTitle	  = 'Karl-Josef+M%C3%BCller+Klassische+Hom%C3%B6opathie';
var metaKeywords  = 'Karl-Josef%2C+Karl%2C+Josef%2C+M%C3%BCller%2C+Mueller%2C+Klassische%2C+Hom%C3%B6opathie%2C+Homeoeopathie%2C+Klassischer%2C+Hom%C3%B6opath%2C+Homoeopath%2C+Heilpraktiker%2C+Naturheilpraxis%2C+Zweibr%C3%BCcken%2C+Zweibruecken%2C+Brosch%C3%BCre%2C+Broschuere%2C%0AB%C3%BCcher%2C+Buecher%2C+Weiterbildung%2C+Seminare%2C+Kurse%2C+Verlag%2C+Saarland%2C+Rheinland%2C+Pfalz%2C+Rheinland-Pfalz%2C+Saarland%2C+Homburg%2C+Blieskastel%2C+Pirmasens';
var metaContents  = 'Heilpraktiker+Praxis+von+Karl+Josef+M%C3%BCller+in+Zweibr%C3%BCcken.+Klassische+Homoeopathie+als+einzige+Therapieform.+Angebote+an+B%C3%BCchern%2C+Seminaren+und+Weiterbildung.';
					                                                                    
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 */					                                                            
