/* [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','45501',jdecode('Neue+Kurse+2012'),jdecode(''),'/45501.html','true',[],''],
	['PAGE','41367',jdecode('Kurs%3A+Engel'),jdecode(''),'/41367.html','true',[],''],
	['PAGE','41287',jdecode('Kurs%3A+Reiki+'),jdecode(''),'/41287.html','true',[],''],
	['PAGE','41506',jdecode('Kurs%3A+Loslassen'),jdecode(''),'/41506.html','true',[],''],
	['PAGE','41754',jdecode('Kurs%3A+Kartenlegen'),jdecode(''),'/41754.html','true',[],''],
	['PAGE','41958',jdecode('Kurs%3A+R%C3%BCckf%C3%BChrung'),jdecode(''),'/41958.html','true',[],''],
	['PAGE','41949',jdecode('Kurs%3A+Einzelsitzung'),jdecode(''),'/41949.html','true',[],''],
	['PAGE','40943',jdecode('Kurs%3A+Auralesen'),jdecode(''),'/40943.html','true',[],''],
	['PAGE','41826',jdecode('Kurs%3A+Geistiges+Heilen+%2F+Energiearbeit'),jdecode(''),'/41826.html','true',[],''],
	['PAGE','43601',jdecode('Kurs%3A+Erfolgreich+kommunizieren'),jdecode(''),'/43601.html','true',[],''],
	['PAGE','40952',jdecode('Phytotherapie+%28Pflanzenheilkunde%29'),jdecode(''),'/40952.html','true',[],''],
	['PAGE','41691',jdecode('Themen-Abend'),jdecode(''),'/41691.html','true',[],''],
	['PAGE','41458',jdecode('Heilstein+des+Monats'),jdecode(''),'/41458.html','true',[],''],
	['PAGE','40555',jdecode('Kurs%3A+Sternzeichen-Geschenke'),jdecode(''),'/40555.html','true',[],''],
	['PAGE','40934',jdecode('Rezept+des+Monats'),jdecode(''),'/40934.html','true',[],''],
	['PAGE','40963',jdecode('+Kontakt+%2F+Impressum'),jdecode(''),'/40963.html','true',[],''],
	['PAGE','41163',jdecode('Anfahrt'),jdecode(''),'/41163.html','true',[],''],
	['PAGE','101301',jdecode('Monatsblattl'),jdecode(''),'/101301.html','true',[],''],
	['PAGE','40608',jdecode('Verkaufsstellen+f%C3%BCr+unser+Buch'),jdecode(''),'/40608.html','true',[],'']];
var siteelementCount=20;
theSitetree.topTemplateName='Circles';
theSitetree.paletteFamily='DDF3C8';
theSitetree.keyvisualId='10971';
theSitetree.keyvisualName='kv_10971.jpg';
theSitetree.fontsetId='31911';
theSitetree.graphicsetId='13726';
theSitetree.contentColor='3C7B00';
theSitetree.contentBGColor='DDF3C8';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Circles',
				paletteFamily: 	'DDF3C8',
				keyvisualId: 	'10971',
				keyvisualName: 	'kv_10971.jpg',
				fontsetId: 		'31911',
				graphicsetId: 	'13726',
				contentColor: 	'3C7B00',
				contentBGColor: 'DDF3C8',
				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: '20120129-105305'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40555',
internalId:  '',
customField: '20100828-201248'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40608',
internalId:  '',
customField: '20111228-174433'
};
webappMappings['2001']=webappMappings['2001-location']={
webappId:    '2001',
documentId:  '41163',
internalId:  'location',
customField: 'language:de;country:DE;isIncluded:false;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40934',
internalId:  '',
customField: '20120129-103439'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40943',
internalId:  '',
customField: '20111008-172146'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40952',
internalId:  '',
customField: '20120203-102312'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40963',
internalId:  '',
customField: '20080821-224637'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41163',
internalId:  '',
customField: '20080816-203512'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41287',
internalId:  '',
customField: '20110919-215536'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41367',
internalId:  '',
customField: '20120108-105210'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41458',
internalId:  '',
customField: '20091025-003503'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41506',
internalId:  '',
customField: '20111216-184150'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41691',
internalId:  '',
customField: '20120208-130038'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41754',
internalId:  '',
customField: '20120201-194031'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41826',
internalId:  '',
customField: '20110614-085733'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41949',
internalId:  '',
customField: '20111112-180523'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41958',
internalId:  '',
customField: '20111216-184655'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45501',
internalId:  '',
customField: '20111101-112445'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '101301',
internalId:  '',
customField: '20120129-104721'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43601',
internalId:  '',
customField: '20110714-190802'
};
var canonHostname = 'c4awrk03.aul.t-online.de';
var accountId     = 'ATOIX0IRWKVW';
var companyName   = 'Lebensberatung+in+Oberaudorf+mit+Martha';
var htmlTitle	  = 'Adlmeier+Martha%60s+Lebensberatung';
var metaKeywords  = 'Unterbewusstseins-Aktivierung%2C+Auralesen%2C+mit+Engel+Heilen%2C+R%C3%BCckf%C3%BChrung%2C+Energiearbeit%2C+Volksheilkund%2C+Kartenlegen';
var metaContents  = 'Lebensberatung+und+Kurse+In+Oberaudorf';
					                                                                    
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 */					                                                            

