/* [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','4579',jdecode('Home'),jdecode(''),'/4579.html','true',[],''],
	['PAGE','14201',jdecode('Energiefelder'),jdecode(''),'/14201.html','true',[],''],
	['PAGE','14222',jdecode('Chakra+allgemein'),jdecode(''),'/14222.html','true',[],''],
	['PAGE','14243',jdecode('Chakra+klassisch'),jdecode(''),'/14243.html','true',[],''],
	['PAGE','13922',jdecode('Chakra+neu'),jdecode(''),'/13922/home.html','true',[ 
		['PAGE','13943',jdecode('Chakra+bewegt'),jdecode(''),'/13922/13943.html','true',[],''],
		['PAGE','13964',jdecode('Chakra+blockiert'),jdecode(''),'/13922/13964.html','true',[],'']
	],''],
	['PAGE','13985',jdecode('Chakra+heilen'),jdecode(''),'/13985/home.html','true',[ 
		['PAGE','14006',jdecode('Inhalt+Buch'),jdecode(''),'/13985/14006.html','true',[],'']
	],''],
	['PAGE','14048',jdecode('Impressum'),jdecode(''),'/14048.html','true',[],'']];
var siteelementCount=10;
theSitetree.topTemplateName='Seifenblase';
theSitetree.paletteFamily='69C151';
theSitetree.keyvisualId='2353';
theSitetree.keyvisualName='blanko.jpg';
theSitetree.fontsetId='379';
theSitetree.graphicsetId='428';
theSitetree.contentColor='555555';
theSitetree.contentBGColor='FFFFFF';
var theTemplate={
				name: 			'Seifenblase',
				paletteFamily: 	'69C151',
				keyvisualId: 	'2353',
				keyvisualName: 	'blanko.jpg',
				fontsetId: 		'379',
				graphicsetId: 	'428',
				contentColor: 	'555555',
				contentBGColor: 'FFFFFF',
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				a_color: 		'FFFFFF',
				b_color: 		'FFFFFF',
				c_color: 		'FFFFFF',
				d_color: 		'339900',
				e_color: 		'33CC00',
				f_color: 		'66CC66',
				hasCustomLogo: 	'false',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12'
			  };
var webappMappings = {};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4579',
internalId:  '',
customField: '20070919-084618'
};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '4579',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14201',
internalId:  '',
customField: '20070121-105000'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14222',
internalId:  '',
customField: '20070122-120822'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14243',
internalId:  '',
customField: '20070122-120939'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13922',
internalId:  '',
customField: '20070122-121053'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13985',
internalId:  '',
customField: '20070615-193706'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13943',
internalId:  '',
customField: '20070122-121228'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13964',
internalId:  '',
customField: '20070121-110225'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14006',
internalId:  '',
customField: '20071111-170553'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14048',
internalId:  '',
customField: '20070328-161916'
};
var canonHostname = 'cfawrk05.aul.t-online.de';
var accountId     = 'ATOIX0IN20C5';
var companyName   = 'Chakrenphysik';
var htmlTitle	  = 'Chakrenphysik';
var metaKeywords  = 'Energiefeld%2C+EM%2C+Feld%2C+Chakra%2C+Seele%2C+blockiert%2C+ankh%2C+heilen%2C+Heilung%2C+Erdmagnetfeld%2C+Chakren%2C+Tai+Chi%2C+Reiki%2C+Yoga%2C+gesund%2C+Vorleben%2C+Farbtherapie%2C+Klangtherapie%2C+Atemrhythmus%2C+Atmung%2C+Tachyonen%2C+Akupunktur%2C+K%C3%B6rbler%2C+Farben%2C+Klang%2C+Magnetfeldtherapie%2C+Bachbl%C3%BCten%2C+Hom%C3%B6opathie%2C+Meditation%2C+Konfliktl%C3%B6sung%2C+Archetypen%2C+Chakrenphysik%2C+Chakraphysik%2C+Psychokinesologie%2CARAKI%2C+Verlag%2C+Psychokinesologie';
var metaContents  = 'Die+physikalischen+Hintergr%C3%BCnde+der+Funktionsweise+von+Chakren+und+der+Zusammenhang+zur+Gesundheit+des+Menschen.';
					                                                                    
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;                                                                     
	};                                                                               
/* EOF */					                                                            

