/* [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('HERZLICH+Willkommen'),jdecode(''),'/39994.html','true',[],''],
	['PAGE','41910',jdecode('WIR+sind....'),jdecode(''),'/41910.html','true',[],''],
	['PAGE','41322',jdecode('Entstehung'),jdecode(''),'/41322.html','true',[],''],
	['PAGE','49101',jdecode('Von+A+bis+Z'),jdecode(''),'/49101.html','true',[],''],
	['PAGE','43101',jdecode('GRUNDS%C3%84TZE'),jdecode(''),'/43101.html','true',[],''],
	['PAGE','42243',jdecode('Unsere+ZIELE'),jdecode(''),'/42243.html','true',[],''],
	['PAGE','42326',jdecode('Wir+suchen+PATEN'),jdecode(''),'/42326.html','true',[],''],
	['PAGE','41746',jdecode('PATENSCHAFT'),jdecode(''),'/41746.html','true',[],''],
	['PAGE','41755',jdecode('Ihre+HILFE'),jdecode(''),'/41755.html','true',[],''],
	['PAGE','43070',jdecode('DANKE'),jdecode(''),'/43070.html','true',[],''],
	['PAGE','43117',jdecode('Unsere+PARTNER'),jdecode(''),'/43117.html','true',[],''],
	['PAGE','43079',jdecode('NEWS-Aktuelles'),jdecode(''),'/43079.html','true',[],''],
	['PAGE','42665',jdecode('Auslauf'),jdecode(''),'/42665.html','false',[],''],
	['PAGE','54301',jdecode('Paula+und+Pauline'),jdecode(''),'/54301.html','false',[],''],
	['PAGE','64501',jdecode('STERNENKINDER'),jdecode(''),'/64501.html','true',[],''],
	['PAGE','41856',jdecode('Links'),jdecode(''),'/41856.html','true',[],''],
	['PAGE','41782',jdecode('KONTAKT+%2F+Impressum'),jdecode(''),'/41782.html','true',[],''],
	['PAGE','43052',jdecode('G%C3%A4stebuch'),jdecode(''),'/43052/home.html','true',[ 
		['PAGE','43051',jdecode('Eintr%C3%A4ge'),jdecode(''),'/43052/43051.html','true',[],'']
	],'']];
var siteelementCount=19;
theSitetree.topTemplateName='Breeze';
theSitetree.paletteFamily='A2B4E0';
theSitetree.keyvisualId='3674';
theSitetree.keyvisualName='kv_3674.jpg';
theSitetree.fontsetId='10470';
theSitetree.graphicsetId='10931';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='FFFFFF';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Breeze',
				paletteFamily: 	'A2B4E0',
				keyvisualId: 	'3674',
				keyvisualName: 	'kv_3674.jpg',
				fontsetId: 		'10470',
				graphicsetId: 	'10931',
				contentColor: 	'000000',
				contentBGColor: 'FFFFFF',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'909190',
				e_color: 		'909190',
				f_color: 		'909190',
				hasCustomLogo: 	'false',
				contentFontFace:'Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'true'
			  };
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: '20111025-183512'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41322',
internalId:  '',
customField: '20110412-101242'
};
webappMappings['1501']=webappMappings['1501-60814099']={
webappId:    '1501',
documentId:  '39994',
internalId:  '60814099',
customField: '1501'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41746',
internalId:  '',
customField: '20110412-095313'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41755',
internalId:  '',
customField: '20110412-094735'
};
webappMappings['1002']=webappMappings['1002-43052atoix0iroqvi']={
webappId:    '1002',
documentId:  '43051',
internalId:  '43052atoix0iroqvi',
customField: 'action=list'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41782',
internalId:  '',
customField: '20110412-094106'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41856',
internalId:  '',
customField: '20110529-105950'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41910',
internalId:  '',
customField: '20110412-101026'
};
webappMappings['1002']=webappMappings['1002-43052atoix0iroqvi']={
webappId:    '1002',
documentId:  '43052',
internalId:  '43052atoix0iroqvi',
customField: 'action=form&icq=false'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42243',
internalId:  '',
customField: '20090604-211658'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42326',
internalId:  '',
customField: '20111025-183116'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42665',
internalId:  '',
customField: '20091111-122409'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43052',
internalId:  '',
customField: '20091002-204850'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43051',
internalId:  '',
customField: '20091002-204850'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43070',
internalId:  '',
customField: '20091003-193415'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43079',
internalId:  '',
customField: '20110412-095759'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43117',
internalId:  '',
customField: '20110412-095537'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43101',
internalId:  '',
customField: '20091015-213007'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '49101',
internalId:  '',
customField: '20100905-093230'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '54301',
internalId:  '',
customField: '20100103-201113'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '64501',
internalId:  '',
customField: '20110412-100734'
};
var canonHostname = 'c4awrk02.aul.t-online.de';
var accountId     = 'ATOIX0IROQVI';
var companyName   = '+++++++++++++++++++++++T+I+E+R+H+I+L+F+E++-++A+L+T+A+++++V+I+S+T+A+';
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 */					                                                            

