/* [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','43724',jdecode('Gr%C3%BCndung'),jdecode(''),'/43724.html','true',[],''],
	['PAGE','43746',jdecode('Die+Vorstandschaft'),jdecode(''),'/43746.html','true',[],''],
	['PAGE','43764',jdecode('Unser+Programm'),jdecode(''),'/43764.html','true',[],''],
	['PAGE','43936',jdecode('Unsere+Hilfe'),jdecode(''),'/43936.html','true',[],''],
	['PAGE','46807',jdecode('Hilfsfahrt+1993+%28Teil+1%29'),jdecode(''),'/46807.html','true',[],''],
	['PAGE','53301',jdecode('Hilfsfahrt+1993+%28Teil+2%29'),jdecode(''),'/53301.html','true',[],''],
	['PAGE','61201',jdecode('Hilfsfahrt+Mai+1994'),jdecode(''),'/61201.html','true',[],''],
	['PAGE','44261',jdecode('Hilfsfahrt+2007'),jdecode(''),'/44261.html','true',[],''],
	['PAGE','45757',jdecode('Hilfsfahrt+2008'),jdecode(''),'/45757.html','true',[],''],
	['PAGE','46099',jdecode('Hilfsfahrt+2009'),jdecode(''),'/46099.html','true',[],''],
	['PAGE','46419',jdecode('Hilfsfahrt+2010'),jdecode(''),'/46419.html','true',[],''],
	['PAGE','46688',jdecode('Hilfsfahrt+2011'),jdecode(''),'/46688.html','true',[],''],
	['PAGE','44356',jdecode('Informationen'),jdecode(''),'/44356.html','true',[],''],
	['PAGE','44874',jdecode('Pressespiegel'),jdecode(''),'/44874.html','true',[],''],
	['PAGE','45618',jdecode('G%C3%A4stebuch'),jdecode(''),'/45618/home.html','true',[ 
		['PAGE','45617',jdecode('Eintr%C3%A4ge'),jdecode(''),'/45618/45617.html','true',[],'']
	],''],
	['PAGE','45514',jdecode('Links'),jdecode(''),'/45514.html','true',[],''],
	['PAGE','45586',jdecode('Impressum'),jdecode(''),'/45586.html','true',[],'']];
var siteelementCount=19;
theSitetree.topTemplateName='Powering';
theSitetree.paletteFamily='A73F07';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='10735';
theSitetree.graphicsetId='10569';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='808080';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Powering',
				paletteFamily: 	'A73F07',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'10735',
				graphicsetId: 	'10569',
				contentColor: 	'000000',
				contentBGColor: '808080',
				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: '20111114-162715'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43724',
internalId:  '',
customField: '20080301-202602'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43746',
internalId:  '',
customField: '20100508-204410'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43764',
internalId:  '',
customField: '20110722-222655'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43936',
internalId:  '',
customField: '20111018-121804'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '46688',
internalId:  '',
customField: '20110729-101718'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44261',
internalId:  '',
customField: '20081224-165412'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44356',
internalId:  '',
customField: '20111018-123729'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45514',
internalId:  '',
customField: '20100720-200114'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44874',
internalId:  '',
customField: '20111018-122855'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45586',
internalId:  '',
customField: '20080319-201825'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45618',
internalId:  '',
customField: '20090911-222655'
};
webappMappings['1002']=webappMappings['1002-45618atoix0irct1f']={
webappId:    '1002',
documentId:  '45618',
internalId:  '45618atoix0irct1f',
customField: 'action=form&icq=false'
};
webappMappings['1002']=webappMappings['1002-45618atoix0irct1f']={
webappId:    '1002',
documentId:  '45617',
internalId:  '45618atoix0irct1f',
customField: 'action=list'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45617',
internalId:  '',
customField: '20080325-162639'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '46419',
internalId:  '',
customField: '20100808-153219'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45757',
internalId:  '',
customField: '20081224-164804'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '46099',
internalId:  '',
customField: '20090911-153429'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '46807',
internalId:  '',
customField: '20111106-204301'
};
webappMappings['1007']=webappMappings['1007-13318874b09']={
webappId:    '1007',
documentId:  '46807',
internalId:  '13318874b09',
customField: 'g.16cc85re9.3vnou37gogr.3o'
};
webappMappings['1007']=webappMappings['1007-133698a9ffb']={
webappId:    '1007',
documentId:  '53301',
internalId:  '133698a9ffb',
customField: 'g.16dko9nn7.j2872prfkk.1s'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '53301',
internalId:  '',
customField: '20111114-114951'
};
webappMappings['1007']=webappMappings['1007-133a2c98db5']={
webappId:    '1007',
documentId:  '61201',
internalId:  '133a2c98db5',
customField: 'g.16ehb71b1.8vart60udd.1s'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '61201',
internalId:  '',
customField: '20111114-165437'
};
var canonHostname = 'c4awrk02.aul.t-online.de';
var accountId     = 'ATOIX0IRCT1F';
var companyName   = 'Kinder+in+Tschernobyl+Pfalzgrafenweiler+e.V.';
var htmlTitle	  = '';
var metaKeywords  = '';
var metaContents  = '';
					                                                                    
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 */					                                                            

