/* [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','41703',jdecode('%C3%9Cber+mich'),jdecode(''),'/41703.html','true',[],''],
	['PAGE','40581',jdecode('Diagnose+Krebs'),jdecode(''),'/40581.html','true',[],''],
	['PAGE','41042',jdecode('Krebsberatung'),jdecode(''),'/41042.html','true',[],''],
	['PAGE','42144',jdecode('Liste+der+ganzheitlichen+Krebsberater'),jdecode(''),'/42144.html','true',[],''],
	['PAGE','40590',jdecode('Gesundheits.-und+Ern%C3%A4hrungsberatung'),jdecode(''),'/40590.html','true',[],''],
	['PAGE','42128',jdecode('Fasten+f%C3%BCr+Frauen+und+M%C3%A4nner'),jdecode(''),'/42128.html','true',[],''],
	['PAGE','40599',jdecode('Kontakt'),jdecode(''),'/40599.html','true',[],''],
	['PAGE','41051',jdecode('Impressum'),jdecode(''),'/41051.html','true',[],''],
	['PAGE','41927',jdecode('Links'),jdecode(''),'/41927.html','true',[],'']];
var siteelementCount=10;
theSitetree.topTemplateName='Wellen';
theSitetree.paletteFamily='CECECE';
theSitetree.keyvisualId='10995';
theSitetree.keyvisualName='kv_10995.jpg';
theSitetree.fontsetId='31926';
theSitetree.graphicsetId='13745';
theSitetree.contentColor='303031';
theSitetree.contentBGColor='CECECE';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Wellen',
				paletteFamily: 	'CECECE',
				keyvisualId: 	'10995',
				keyvisualName: 	'kv_10995.jpg',
				fontsetId: 		'31926',
				graphicsetId: 	'13745',
				contentColor: 	'303031',
				contentBGColor: 'CECECE',
				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: '20111116-104952'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40581',
internalId:  '',
customField: '20110119-165618'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41927',
internalId:  '',
customField: '20120206-134743'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41042',
internalId:  '',
customField: '20110119-170552'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40599',
internalId:  '',
customField: '20110119-172321'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40590',
internalId:  '',
customField: '20110119-173132'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41051',
internalId:  '',
customField: '20110721-124240'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41703',
internalId:  '',
customField: '20120209-181133'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42128',
internalId:  '',
customField: '20110119-160214'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42144',
internalId:  '',
customField: '20110817-185915'
};
var canonHostname = 'c4awrk02.aul.t-online.de';
var accountId     = 'ATOIX0IR71AJ';
var companyName   = 'Krebs%2C-+und+Gesundheitsberatung+Zeller';
var htmlTitle	  = 'Krebs%2C-+und+Gesundheitsberatung+Zeller%2C+Hilfe+zur+Selbsthilfe';
var metaKeywords  = 'Ganzheitliche+Krebsberatung%2C+L%C3%B6sungsstrategien+bei+Krebs%2C+Krebsdiagnose%2C+Hilfe+zur+Selbsthilfe%2C+Krebs21+e.V..+Lothar+Hirneise%2C+Dr.+Johanna+Budwig%2C+Ern%C3%A4hrung%2C+Entgiftung%2C+Energiearbeit%2C+3E+Zentrum%2C%C3%84ngste%2C+Verunsicherung%2C+erprobte+alternative+Krebstherapien%2C+Krebsprophylaxe%2C+konventionelle+Krebsbehandlung%2C+Individuelle+Beratung%2C+Wedererlangung+der+Gesundheit%2C+Kompetenznetzwerk+von+%C3%84rzten+und+Heilpraktikern%2C+Krebsgeschehen%2C+t%C3%B6dliche+Krankheit%2CSteigerung+der+Lebensqualit%C3%A4t%2C+Visualisierung%2C+Tumor%2C+Alzenau%2C+Aschaffenburg%2C+Bayern%2C+Krebs%2C+Angst%2C+Tod%2C+Austherapiert%2C+Chemotherapie%2C+';
var metaContents  = 'Krebs+ist+eine+den+Menschen+als+Ganzes+betreffende+Krankheit.+K%C3%B6rper+Geist+und+Seele+bilden+eine+Einheit.+Auch+Sie+sind+deshalb+nicht+hilflos+einem+Schicksal+Krebs+ausgeliefert%2C+sondern+k%C3%B6nnen+in+hohem+Ma%C3%9Fe+zu+einer+erfolgreichen+Bew%C3%A4ltigung+beitragen.Ich+gebe+Ihnen+die+Anleitung+Hilfe+zur+Selbsthilfe+um+Ihre+Selbstheilungskr%C3%A4fte+anzuregen.';
					                                                                    
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 */					                                                            

