/* [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('Tr%C3%B6sterb%C3%A4ren'),jdecode(''),'/44.html','true',[],''],
	['PAGE','41389',jdecode('Unser+Verein'),jdecode(''),'/41389.html','true',[],''],
	['PAGE','86866',jdecode('Kinderhospiz'),jdecode(''),'/86866.html','true',[],''],
	['PAGE','41398',jdecode('Clown-Auftritte'),jdecode(''),'/41398.html','true',[],''],
	['PAGE','91866',jdecode('Puppenspieler'),jdecode(''),'/91866.html','true',[],''],
	['PAGE','41407',jdecode('Sonstiges'),jdecode(''),'/41407.html','true',[],''],
	['PAGE','41751',jdecode('Tansania'),jdecode(''),'/41751.html','true',[],''],
	['PAGE','41223',jdecode('Bildergalerie'),jdecode(''),'/41223.html','true',[],''],
	['PAGE','40991',jdecode('Sponsoreninformationen'),jdecode(''),'/40991.html','true',[],''],
	['PAGE','41800',jdecode('Unsere+B%C3%A4renfamilie'),jdecode(''),'/41800.html','true',[],''],
	['PAGE','41280',jdecode('Gedicht'),jdecode(''),'/41280.html','true',[],''],
	['PAGE','41192',jdecode('Anfrageformular'),jdecode(''),'/41192/home.html','true',[ 
		['PAGE','41202',jdecode('Anfrageformular+%28Folgeseite%29'),jdecode(''),'/41192/41202.html','false',[],'']
	],''],
	['PAGE','41555',jdecode('Bestellung+Teddy'),jdecode(''),'/41555.html','true',[],''],
	['PAGE','41654',jdecode('Wir+sagen+DANKE'),jdecode(''),'/41654.html','true',[],''],
	['PAGE','41910',jdecode('Presseberichte'),jdecode(''),'/41910.html','true',[],''],
	['PAGE','85766',jdecode('Kinder+malen'),jdecode(''),'/85766.html','true',[],''],
	['PAGE','42185',jdecode('G%C3%A4stebuch'),jdecode(''),'/42185/home.html','true',[ 
		['PAGE','42184',jdecode('Eintr%C3%A4ge'),jdecode(''),'/42185/42184.html','true',[],'']
	],''],
	['PAGE','41090',jdecode('Impressum'),jdecode(''),'/41090.html','true',[],''],
	['PAGE','42567',jdecode('-'),jdecode(''),'/42567.html','false',[],'']];
var siteelementCount=21;
theSitetree.topTemplateName='TOI_Boutique_01';
theSitetree.paletteFamily='E33B28';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='33357';
theSitetree.graphicsetId='14230';
theSitetree.contentColor='FFFFFF';
theSitetree.contentBGColor='6A1A11';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'TOI_Boutique_01',
				paletteFamily: 	'E33B28',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'33357',
				graphicsetId: 	'14230',
				contentColor: 	'FFFFFF',
				contentBGColor: '6A1A11',
				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['1008']=webappMappings['1008-25266096']={
webappId:    '1008',
documentId:  '41555',
internalId:  '25266096',
customField: 'de:DE:'
};
webappMappings['1007']=webappMappings['1007-106cef72f7f']={
webappId:    '1007',
documentId:  '41223',
internalId:  '106cef72f7f',
customField: 'g.10r7f761a.oeqrovmucv.3o'
};
webappMappings['1501']=webappMappings['1501-2609390']={
webappId:    '1501',
documentId:  '44',
internalId:  '2609390',
customField: '1501'
};
webappMappings['1001']=webappMappings['1001-atoix0inzl2s106cd0e3514']={
webappId:    '1001',
documentId:  '41192',
internalId:  'atoix0inzl2s106cd0e3514',
customField: ''
};
webappMappings['1001']=webappMappings['1001-atoix0inzl2s106cd0e3514']={
webappId:    '1001',
documentId:  '41202',
internalId:  'atoix0inzl2s106cd0e3514',
customField: 'followUp'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44',
internalId:  '',
customField: '20090706-112025'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41398',
internalId:  '',
customField: '20100216-214347'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41389',
internalId:  '',
customField: '20090717-170136'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41407',
internalId:  '',
customField: '20061119-074724'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41223',
internalId:  '',
customField: '20090717-165907'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40991',
internalId:  '',
customField: '20080910-055949'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41280',
internalId:  '',
customField: '20061119-075100'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41192',
internalId:  '',
customField: '20090129-122141'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41202',
internalId:  '',
customField: '20051007-234812'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41555',
internalId:  '',
customField: '20080910-065411'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41090',
internalId:  '',
customField: '20080609-150950'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41654',
internalId:  '',
customField: '20100210-223634'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41751',
internalId:  '',
customField: '20080114-174149'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41800',
internalId:  '',
customField: '20081101-110551'
};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '44',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41910',
internalId:  '',
customField: '20100130-102728'
};
webappMappings['1002']=webappMappings['1002-42185atoix0inzl2s']={
webappId:    '1002',
documentId:  '42185',
internalId:  '42185atoix0inzl2s',
customField: 'action=form&icq=false'
};
webappMappings['1002']=webappMappings['1002-42185atoix0inzl2s']={
webappId:    '1002',
documentId:  '42184',
internalId:  '42185atoix0inzl2s',
customField: 'action=list'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42185',
internalId:  '',
customField: '20070914-143753'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42184',
internalId:  '',
customField: '20070914-143753'
};
webappMappings['7060']=webappMappings['7060-b3ae85267bd114dc8f763a83c2107cf5']={
webappId:    '7060',
documentId:  '42567',
internalId:  'b3ae85267bd114dc8f763a83c2107cf5',
customField: 'language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42567',
internalId:  '',
customField: '20081008-200641'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '85766',
internalId:  '',
customField: '20081119-133412'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '86866',
internalId:  '',
customField: '20090717-160206'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '91866',
internalId:  '',
customField: '20091001-134011'
};
var canonHostname = 'cfawrk04.aul.t-online.de';
var accountId     = 'ATOIX0INZL2S';
var companyName   = 'Verein+Kinderhilfe+e.V.';
var htmlTitle	  = 'TR%C3%96STERB%C3%84R';
var metaKeywords  = 'GBS-Serviceagentur%2C+Tr%C3%B6sterb%C3%A4r%2C+Sponsoringaktion%2C';
var metaContents  = 'GBS-Serviceagentur%2C+Tr%C3%B6sterb%C3%A4r%2C+Sponsoringatkion';
					                                                                    
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 */					                                                            
