/* [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/home.html','true',[ 
		['PAGE','40649',jdecode('St.+Spyridon'),jdecode(''),'/39994/40649.html','true',[],'']
	],''],
	['PAGE','40569',jdecode('Willkommen'),jdecode(''),'/40569.html','true',[],''],
	['PAGE','40578',jdecode('Wer+wir+sind'),jdecode(''),'/40578/home.html','true',[ 
		['PAGE','40717',jdecode('Was+wir+tun'),jdecode(''),'/40578/40717.html','true',[],'']
	],''],
	['PAGE','40587',jdecode('Gottesdienste'),jdecode(''),'/40587/home.html','true',[ 
		['PAGE','40735',jdecode('Vor-Osterzeit'),jdecode(''),'/40587/40735.html','true',[],'']
	],''],
	['PAGE','41899',jdecode('F%C3%BCr+Pilger'),jdecode(''),'/41899/home.html','true',[ 
		['PAGE','41928',jdecode('Anfahrt'),jdecode(''),'/41899/41928.html','true',[],''],
		['PAGE','41937',jdecode('%C3%9Cbernachtung'),jdecode(''),'/41899/41937.html','true',[],'']
	],''],
	['PAGE','41880',jdecode('Kontakt'),jdecode(''),'/41880.html','true',[],''],
	['PAGE','41210',jdecode('Bildergalerie'),jdecode(''),'/41210.html','true',[],''],
	['PAGE','41795',jdecode('Test'),jdecode(''),'/41795/home.html','false',[ 
		['PAGE','41820',jdecode('Multimedia+Show+1'),jdecode(''),'/41795/41820.html','true',[],''],
		['PAGE','41826',jdecode('aktuelle+Gottesdienste'),jdecode(''),'/41795/41826.html','true',[],'']
	],''],
	['PAGE','41833',jdecode('Kontakt+2'),jdecode(''),'/41833.html','false',[],'']];
var siteelementCount=16;
theSitetree.topTemplateName='Education';
theSitetree.paletteFamily='004D3D';
theSitetree.keyvisualId='7321';
theSitetree.keyvisualName='kv_7321.jpg';
theSitetree.fontsetId='16462';
theSitetree.graphicsetId='12156';
theSitetree.contentColor='FFFFFF';
theSitetree.contentBGColor='60786B';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Education',
				paletteFamily: 	'004D3D',
				keyvisualId: 	'7321',
				keyvisualName: 	'kv_7321.jpg',
				fontsetId: 		'16462',
				graphicsetId: 	'12156',
				contentColor: 	'FFFFFF',
				contentBGColor: '60786B',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'000000',
				f_color: 		'000000',
				hasCustomLogo: 	'false',
				contentFontFace:'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: '20091223-114911'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40649',
internalId:  '',
customField: '20071114-002054'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40569',
internalId:  '',
customField: '20071114-000940'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40578',
internalId:  '',
customField: '20100310-014006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40587',
internalId:  '',
customField: '20100216-213400'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41937',
internalId:  '',
customField: '20100310-010948'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41795',
internalId:  '',
customField: '20100114-232237'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40717',
internalId:  '',
customField: '20091117-232700'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40735',
internalId:  '',
customField: '20100303-003232'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41899',
internalId:  '',
customField: '20100310-003643'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41210',
internalId:  '',
customField: '20080327-210927'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41880',
internalId:  '',
customField: '20100310-002054'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41833',
internalId:  '',
customField: '20100120-235011'
};
webappMappings['7060']=webappMappings['7060-b50b1bea34b39739018a6d610d95ffc4']={
webappId:    '7060',
documentId:  '41820',
internalId:  'b50b1bea34b39739018a6d610d95ffc4',
customField: 'language:de;country:DE;'
};
webappMappings['7050']=webappMappings['7050-49025']={
webappId:    '7050',
documentId:  '41826',
internalId:  '49025',
customField: 'language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41820',
internalId:  '',
customField: '20100114-235253'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41826',
internalId:  '',
customField: '20100115-000933'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41928',
internalId:  '',
customField: '20100310-010948'
};
var canonHostname = 'cfawrk09.aul.t-online.de';
var accountId     = 'ATOIX0I7HOD4';
var companyName   = 'Orthodoxe+M%C3%B6nchs-Skite+St.+Spyridon';
var htmlTitle	  = 'Orthodoxe+M%C3%B6nchs+Skite+St.+Spyridon';
var metaKeywords  = 'meta+name%3Dverify-v1+content%3DQ8%2FoxPKbrBQGB8FI2a4wIOzmLdOGwpnIDBz9%2FqueBjw%3D+%2F+kloster%2C+orthodoxie%2C+orthodox%2C+orthodoxer%2C+skite%2C+serbish%2C+christlich%2C+Geilnau%2C+Basilius%2C+Grolimund%2C+Limburg%2C+urchristen%2C+berg+athos%2C+Paisius%2C+moench%2C+M%C3%B6nch%2C+M%C3%B6nchsgemeinschaft%2C+christlich%2C+christen%2C+Kirche%2C++Gottesdienst%2C+Pilger%2C+Seelsorge%2C+deutsch%2C+spyridon%2C+spyridon-skite%2C+orthodoxen%2C+askese%2C+asketisch%2C+russisch%2C+';
var metaContents  = 'Die+M%C3%B6nchsgemeinschaft+wahrt+die+Tradition+des+christlich+orthodoxen+Glaubens.+Sie+widmet+sich+dem+mildt%C3%A4tigen+und+asketisch-kontemplativen+Leben+im+Geiste+der+Orthodoxen+Kirche.';
					                                                                    
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 */					                                                            
