/* [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','41444',jdecode('Start'),jdecode(''),'/41444.html','true',[],''],
	['PAGE','113601',jdecode('2012+Time+to+Change'),jdecode(''),'/113601.html','true',[],''],
	['PAGE','39994',jdecode('Die+Seelenreise'),jdecode(''),'/39994.html','true',[],''],
	['PAGE','43034',jdecode('Fogo+Sagrado'),jdecode(''),'/43034.html','true',[],''],
	['PAGE','125101',jdecode('Telefonische+Beratung'),jdecode(''),'/125101.html','true',[],''],
	['PAGE','43052',jdecode('Einzelsitzung'),jdecode(''),'/43052.html','true',[],''],
	['PAGE','120601',jdecode('Heilkreis'),jdecode(''),'/120601.html','true',[],''],
	['PAGE','42612',jdecode('Kontakt'),jdecode(''),'/42612.html','true',[],''],
	['PAGE','43061',jdecode('Impressum'),jdecode(''),'/43061.html','true',[],''],
	['PAGE','43601',jdecode('Links'),jdecode(''),'/43601.html','true',[],''],
	['PAGE','43778',jdecode('Sternenvorschau'),jdecode(''),'/43778.html','true',[],''],
	['PAGE','135801',jdecode('Weisheit'),jdecode(''),'/135801.html','true',[],'']];
var siteelementCount=12;
theSitetree.topTemplateName='TOI_Interieur_02';
theSitetree.paletteFamily='2B4008';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='33409';
theSitetree.graphicsetId='14271';
theSitetree.contentColor='1E2F02';
theSitetree.contentBGColor='B7D56A';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'TOI_Interieur_02',
				paletteFamily: 	'2B4008',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'33409',
				graphicsetId: 	'14271',
				contentColor: 	'1E2F02',
				contentBGColor: 'B7D56A',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'000000',
				f_color: 		'000000',
				hasCustomLogo: 	'true',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'true'
			  };
var webappMappings = {};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '41444',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '39994',
internalId:  '',
customField: '20100322-165202'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41444',
internalId:  '',
customField: '20100726-092113'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42612',
internalId:  '',
customField: '20100109-100057'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '125101',
internalId:  '',
customField: '20100109-102751'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43034',
internalId:  '',
customField: '20100328-203115'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43601',
internalId:  '',
customField: '20100527-122535'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43052',
internalId:  '',
customField: '20100707-121353'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43061',
internalId:  '',
customField: '20100328-202639'
};
webappMappings['1008']=webappMappings['1008-48361433']={
webappId:    '1008',
documentId:  '42612',
internalId:  '48361433',
customField: 'de:DE::;language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43778',
internalId:  '',
customField: '20100726-113044'
};
webappMappings['1501']=webappMappings['1501-46074064']={
webappId:    '1501',
documentId:  '41444',
internalId:  '46074064',
customField: '1501'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '113601',
internalId:  '',
customField: '20100705-103415'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '135801',
internalId:  '',
customField: '20100704-100950'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '120601',
internalId:  '',
customField: '20100627-120608'
};
var canonHostname = 'c4awrk04.aul.t-online.de';
var accountId     = 'ATOIX0IR94YF';
var companyName   = 'Astrologie+%26+Fogo+Sagrado';
var htmlTitle	  = 'Fogo+Sagrado';
var metaKeywords  = 'Fogo+Sagrado%2C+Astrologie%2CMunay+KI%2C+Schamanismus%2C2012+der+Weg+zur+eigenen+Sch%C3%B6pferkraft';
var metaContents  = 'Website+von+Gabriele+Kriesten%2C+Astrologin%2C+Fogo+Sagrado+Schamanin%2C+die+Seele+sprechen+lassen+durch+Fogo+Sagrado%2C+dein+Potenzial+erkennen+und+leben%2C+die+M%C3%B6glichkeiten+zeigen...';
					                                                                    
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 */					                                                            
