/* [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','40874',jdecode('Wir+%C3%BCber+uns+%2F+Flyer'),jdecode(''),'/40874.html','true',[],''],
	['PAGE','57201',jdecode('Termine'),jdecode(''),'/57201.html','true',[],''],
	['PAGE','41157',jdecode('CFO-Nepal'),jdecode(''),'/41157.html','true',[],''],
	['PAGE','42774',jdecode('Aktuelles+CFO+'),jdecode(''),'/42774.html','true',[],''],
	['PAGE','80601',jdecode('Infobriefe+CFO-Nepal'),jdecode(''),'/80601.html','true',[],''],
	['PAGE','56001',jdecode('Bauprojekt+Kinderdorf'),jdecode(''),'/56001.html','true',[],''],
	['PAGE','83801',jdecode('Himalaya-Kalender'),jdecode(''),'/83801/home.html','true',[ 
		['PAGE','60801',jdecode('Himalaya-Kalender+2011'),jdecode(''),'/83801/60801.html','true',[],'']
	],''],
	['PAGE','42765',jdecode('Spenden+%2F+Patenschaften'),jdecode(''),'/42765.html','true',[],''],
	['PAGE','78801',jdecode('Aktivit%C3%A4tenarchiv'),jdecode(''),'/78801/home.html','true',[ 
		['PAGE','64501',jdecode('2009'),jdecode(''),'/78801/64501.html','true',[],''],
		['PAGE','41166',jdecode('2010'),jdecode(''),'/78801/41166.html','true',[],'']
	],''],
	['PAGE','46001',jdecode('Bildergalerie'),jdecode(''),'/46001.html','true',[],''],
	['PAGE','41175',jdecode('Links'),jdecode(''),'/41175.html','true',[],''],
	['PAGE','41185',jdecode('G%C3%A4stebuch'),jdecode(''),'/41185/home.html','true',[ 
		['PAGE','41184',jdecode('Eintr%C3%A4ge'),jdecode(''),'/41185/41184.html','true',[],'']
	],''],
	['PAGE','40813',jdecode('Impressum+%2F+Kontakt'),jdecode(''),'/40813.html','true',[],''],
	['PAGE','43490',jdecode('Anfahrt'),jdecode(''),'/43490.html','true',[],'']];
var siteelementCount=19;
theSitetree.topTemplateName='Lifecycle';
theSitetree.paletteFamily='EF9043';
theSitetree.keyvisualId='4479';
theSitetree.keyvisualName='kv_4479.jpg';
theSitetree.fontsetId='10817';
theSitetree.graphicsetId='11260';
theSitetree.contentColor='FCB77F';
theSitetree.contentBGColor='7F7F7F';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Lifecycle',
				paletteFamily: 	'EF9043',
				keyvisualId: 	'4479',
				keyvisualName: 	'kv_4479.jpg',
				fontsetId: 		'10817',
				graphicsetId: 	'11260',
				contentColor: 	'FCB77F',
				contentBGColor: '7F7F7F',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'000000',
				f_color: 		'000000',
				hasCustomLogo: 	'true',
				contentFontFace:'Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'true'
			  };
var webappMappings = {};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41166',
internalId:  '',
customField: '20101106-155453'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '39994',
internalId:  '',
customField: '20120221-114818'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40813',
internalId:  '',
customField: '20101216-214948'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40874',
internalId:  '',
customField: '20111230-170423'
};
webappMappings['1002']=webappMappings['1002-41185atoix0i7haqx']={
webappId:    '1002',
documentId:  '41185',
internalId:  '41185atoix0i7haqx',
customField: 'action=form&icq=false'
};
webappMappings['1002']=webappMappings['1002-41185atoix0i7haqx']={
webappId:    '1002',
documentId:  '41184',
internalId:  '41185atoix0i7haqx',
customField: 'action=list'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41157',
internalId:  '',
customField: '20100924-123428'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41175',
internalId:  '',
customField: '20120221-121023'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41185',
internalId:  '',
customField: '20100215-113303'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41184',
internalId:  '',
customField: '20090511-190402'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42774',
internalId:  '',
customField: '20120120-160911'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42765',
internalId:  '',
customField: '20111229-164209'
};
webappMappings['2001']=webappMappings['2001-location']={
webappId:    '2001',
documentId:  '43490',
internalId:  'location',
customField: 'language:de;country:DE;isIncluded:false;'
};
webappMappings['1501']=webappMappings['1501-61069638']={
webappId:    '1501',
documentId:  '39994',
internalId:  '61069638',
customField: '1501'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43490',
internalId:  '',
customField: '20090927-122630'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '46001',
internalId:  '',
customField: '20100423-140220'
};
webappMappings['1007']=webappMappings['1007-125a24e5820']={
webappId:    '1007',
documentId:  '46001',
internalId:  '125a24e5820',
customField: 'g.14mh4j9rg.kq97389hl6.1s'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '56001',
internalId:  '',
customField: '20120120-163731'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '57201',
internalId:  '',
customField: '20120217-114017'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '60801',
internalId:  '',
customField: '20110308-204802'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '64501',
internalId:  '',
customField: '20100531-165043'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '78801',
internalId:  '',
customField: '20120113-125300'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '80601',
internalId:  '',
customField: '20120120-161234'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '83801',
internalId:  '',
customField: '20111015-173032'
};
var canonHostname = 'c4awrk04.aul.t-online.de';
var accountId     = 'ATOIX0I7HAQX';
var companyName   = 'Kinderhilfe+Nepal+-+Neustadt+Weinstrasse';
var htmlTitle	  = 'Kinderhilfe+Nepal-Lothar+Schmid%3A+Initiative+zu+Unterst%C3%BCtzung+von+CFO%2C+Spenden+f%C3%BCr+nepalesische+Kinderheime';
var metaKeywords  = 'Kinderhilfe+Nepal%2C+Kinderhilfe+Nepal+-+Lothar+Schmid%2C+Spenden+f%C3%BCr+CFO+Nepal%2C+www.cfonepal.org.de%2C+Lasota%2C+Nepal%2C+Kinder%2C+CFO%2C+Kathmandu%2C+Lothar+Schmid%2C+Schmid-Moritz%2C+Namaste%2C+Children%C2%B4s+Future+Organisation%2C+Kinderhilfe-Nepal%40t-online.de%2C';
var metaContents  = 'Kinderhilfe+Nepal+Lothar+Schmid+Unterst%C3%BCtzung+von+CFO+Kinderheimen+in+Kathmandu+Nepal%3B+Kinderhilfe-Nepal.eu%3B+Spenden+sammeln+f%C3%BCr+CFO%3B+CFO+Kathmandu%3B+CFO+Nepal%3B+cfonepal.org.np%3B';
					                                                                    
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 */					                                                            

