/* [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/home.html','true',[ 
		['PAGE','42115',jdecode('News'),jdecode(''),'/44/42115.html','true',[],'']
	],''],
	['PAGE','41397',jdecode('Es+begann+...'),jdecode(''),'/41397/home.html','true',[ 
		['PAGE','41482',jdecode('Warum+f%C3%BCr+Jungs%3F'),jdecode(''),'/41397/41482.html','true',[],''],
		['PAGE','41901',jdecode('Kwa+Watoto+Centre%26School'),jdecode(''),'/41397/41901.html','true',[],''],
		['PAGE','42009',jdecode('Einscheidungshilfe'),jdecode(''),'/41397/42009.html','true',[],'']
	],''],
	['PAGE','41406',jdecode('Das+Boys+House+'),jdecode(''),'/41406/home.html','true',[ 
		['PAGE','41415',jdecode('Wohnung'),jdecode(''),'/41406/41415.html','true',[],''],
		['PAGE','41424',jdecode('Bewohner'),jdecode(''),'/41406/41424.html','true',[],''],
		['PAGE','41433',jdecode('Leben+im+Boys+House'),jdecode(''),'/41406/41433.html','true',[],''],
		['PAGE','41532',jdecode('Lernen+im+Boys+House'),jdecode(''),'/41406/41532.html','true',[],'']
	],''],
	['PAGE','41442',jdecode('Unsere+Schule'),jdecode(''),'/41442/home.html','true',[ 
		['PAGE','42106',jdecode('Die+neue+St.+Mathew'),jdecode(''),'/41442/42106.html','true',[],'']
	],''],
	['PAGE','42080',jdecode('+Das+Land+Kenya'),jdecode(''),'/42080/home.html','true',[ 
		['PAGE','42097',jdecode('Nairobi'),jdecode(''),'/42080/42097.html','true',[],'']
	],''],
	['PAGE','41451',jdecode('Links'),jdecode(''),'/41451.html','true',[],''],
	['PAGE','41460',jdecode('Kontakt'),jdecode(''),'/41460.html','true',[],''],
	['PAGE','41469',jdecode('Impressum'),jdecode(''),'/41469.html','true',[],''],
	['PAGE','41548',jdecode('G%C3%A4stebuch'),jdecode(''),'/41548/home.html','true',[ 
		['PAGE','41547',jdecode('Eintr%C3%A4ge'),jdecode(''),'/41548/41547.html','true',[],'']
	],'']];
var siteelementCount=20;
theSitetree.topTemplateName='Abstract';
theSitetree.paletteFamily='FAFBC9';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='10551';
theSitetree.graphicsetId='10578';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='FAFBC9';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Abstract',
				paletteFamily: 	'FAFBC9',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'10551',
				graphicsetId: 	'10578',
				contentColor: 	'000000',
				contentBGColor: 'FAFBC9',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'000000',
				f_color: 		'000000',
				hasCustomLogo: 	'true',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['1002']=webappMappings['1002-41548atoix0i79xtj']={
webappId:    '1002',
documentId:  '41548',
internalId:  '41548atoix0i79xtj',
customField: 'action=form&icq=false'
};
webappMappings['1002']=webappMappings['1002-41548atoix0i79xtj']={
webappId:    '1002',
documentId:  '41547',
internalId:  '41548atoix0i79xtj',
customField: 'action=list'
};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '44',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44',
internalId:  '',
customField: '20070617-132517'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41406',
internalId:  '',
customField: '20060513-125613'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42115',
internalId:  '',
customField: '20070518-145227'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41397',
internalId:  '',
customField: '20060619-174936'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41482',
internalId:  '',
customField: '20060510-143823'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41901',
internalId:  '',
customField: '20060619-175942'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42009',
internalId:  '',
customField: '20060619-175727'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41415',
internalId:  '',
customField: '20060516-164507'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41424',
internalId:  '',
customField: '20060908-155758'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41433',
internalId:  '',
customField: '20060512-155246'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41532',
internalId:  '',
customField: '20060530-183608'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41442',
internalId:  '',
customField: '20060619-180632'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42106',
internalId:  '',
customField: '20060530-134232'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42080',
internalId:  '',
customField: '20060429-123702'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42097',
internalId:  '',
customField: '20060513-145415'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41451',
internalId:  '',
customField: '20070405-234740'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41460',
internalId:  '',
customField: '20060411-151857'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41469',
internalId:  '',
customField: '20060529-150558'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41548',
internalId:  '',
customField: '20060218-172637'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41547',
internalId:  '',
customField: '20060218-172637'
};
var canonHostname = 'cfawrk01.aul.t-online.de';
var accountId     = 'ATOIX0I79XTJ';
var companyName   = 'Boys+House%2C+Kangundo+Rd%2C+Nairobi%2FKenya';
var htmlTitle	  = 'Boys+House+Nairobi';
var metaKeywords  = 'Boy+House%2C+Schulpatenschaft%2C++Ausbildungshilfe%2C++Boarding%2C+St.Mathew+Secondary%2C+Kayole%2C+Sowetoslum%2C+Wohngemeinschaft%2C++KCSE%2C+Chapati%2C+Ugali%2C+Kenya%2C+Nairobi%2C+Slumschule';
var metaContents  = 'Boys+House+ist+eine+Wohngemeinschaft+jugendlicher+obdachloser+Sch%C3%BCler++zur+Sicherstellung+ihres+Schulabschlusses%2C++und+versteht+sich+als++Alternative+zur+teueren+Unterbringung+in+Boarding+Houses.';
					                                                                    
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 */					                                                            
