/* [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','44',jdecode('Startseite'),jdecode(''),'/44.html','true',[],''],
	['PAGE','41265',jdecode('Wir+%C3%BCber+uns'),jdecode(''),'/41265.html','true',[],''],
	['PAGE','41292',jdecode('Veranstaltungen'),jdecode(''),'/41292.html','true',[],''],
	['PAGE','87204',jdecode('Bilder+Symposium+'),jdecode(''),'/87204.html','true',[],''],
	['PAGE','44533',jdecode('Aktuell+und+Geschichte'),jdecode(''),'/44533.html','true',[],''],
	['PAGE','41417',jdecode('B%C3%BCcher+DVD'),jdecode(''),'/41417.html','true',[],''],
	['PAGE','41426',jdecode('Links'),jdecode(''),'/41426.html','true',[],''],
	['PAGE','41310',jdecode('Kontakt'),jdecode(''),'/41310.html','true',[],''],
	['PAGE','41563',jdecode('Impressum'),jdecode(''),'/41563.html','true',[],'']];
var siteelementCount=9;
theSitetree.topTemplateName='TOI_Health_1';
theSitetree.paletteFamily='F1ECE2';
theSitetree.keyvisualId='10596';
theSitetree.keyvisualName='kv_10596.jpg';
theSitetree.fontsetId='31746';
theSitetree.graphicsetId='13518';
theSitetree.contentColor='A05B2A';
theSitetree.contentBGColor='FFFFFF';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'TOI_Health_1',
				paletteFamily: 	'F1ECE2',
				keyvisualId: 	'10596',
				keyvisualName: 	'kv_10596.jpg',
				fontsetId: 		'31746',
				graphicsetId: 	'13518',
				contentColor: 	'A05B2A',
				contentBGColor: 'FFFFFF',
				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:  '44',
internalId:  '1006',
customField: '1006'
};
webappMappings['1501']=webappMappings['1501-16984902']={
webappId:    '1501',
documentId:  '44',
internalId:  '16984902',
customField: '1501'
};
webappMappings['1008']=webappMappings['1008-25572209']={
webappId:    '1008',
documentId:  '41417',
internalId:  '25572209',
customField: 'de:DE::;language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44',
internalId:  '',
customField: '20111204-193120'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41265',
internalId:  '',
customField: '20110725-214013'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41292',
internalId:  '',
customField: '20111204-193257'
};
webappMappings['1007']=webappMappings['1007-11e138aba66']={
webappId:    '1007',
documentId:  '87204',
internalId:  '11e138aba66',
customField: 'g.13o9no8bg.2qave0cs3dr.1s'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44533',
internalId:  '',
customField: '20120106-134153'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41417',
internalId:  '',
customField: '20111017-003001'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41426',
internalId:  '',
customField: '20080501-142540'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41310',
internalId:  '',
customField: '20101113-162300'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41563',
internalId:  '',
customField: '20120106-135013'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '87204',
internalId:  '',
customField: '20100223-185341'
};
webappMappings['1008']=webappMappings['1008-25575890']={
webappId:    '1008',
documentId:  '41310',
internalId:  '25575890',
customField: 'de:DE::;language:de;country:DE;'
};
var canonHostname = 'c4awrk01.aul.t-online.de';
var accountId     = 'ATOIX0I7NC2O';
var companyName   = 'efi+Heidenheim';
var htmlTitle	  = 'efi-heidenheim.de';
var metaKeywords  = 'Impfkritik%2C+Impfkritische+Literatur%2C+impfkritische+Abende%2C+wichtige+Informationen+und+Argumente+f%C3%BCr+die+Impfentscheidung.';
var metaContents  = 'Wir+besch%C3%A4ftigen+uns+mit+Impfkritik.+Wir+bieten+Vortr%C3%A4ge%2C+B%C3%BCcheraustasch+und+monatliche+Infotreffen+zum+Thema%3A+Warum+Impfen+oder+warum+nicht%3F+Wir+sind+eine+Elterngemeinschaft.+';
					                                                                    
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 */					                                                            

