/* [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','40967',jdecode('Home'),jdecode(''),'/40967/home.html','true',[ 
		['PAGE','41593',jdecode('Eure+Bilder'),jdecode(''),'/40967/41593.html','true',[],'']
	],''],
	['PAGE','40978',jdecode('Unser+Schullandheim'),jdecode(''),'/40978/home.html','true',[ 
		['PAGE','40987',jdecode('Der+Verein'),jdecode(''),'/40978/40987.html','true',[],'']
	],''],
	['PAGE','41390',jdecode('Unsere+Ferienh%C3%A4user'),jdecode(''),'/41390.html','true',[],''],
	['PAGE','41438',jdecode('Aktuell+und+Interessant'),jdecode(''),'/41438.html','true',[],''],
	['PAGE','41141',jdecode('Bilder'),jdecode(''),'/41141/home.html','false',[ 
		['PAGE','42098',jdecode('Silvester+09+-+10'),jdecode(''),'/41141/42098.html','false',[],'']
	],''],
	['PAGE','42261',jdecode('Downloads'),jdecode(''),'/42261.html','true',[],''],
	['PAGE','41625',jdecode('Ausflugsziele+%26+Partner'),jdecode(''),'/41625/home.html','true',[ 
		['PAGE','41005',jdecode('Satzung'),jdecode(''),'/41625/41005.html','false',[],'']
	],''],
	['PAGE','41601',jdecode('G%C3%A4stebuch'),jdecode(''),'/41601/home.html','true',[ 
		['PAGE','41600',jdecode('Eintr%C3%A4ge'),jdecode(''),'/41601/41600.html','false',[],'']
	],''],
	['PAGE','42396',jdecode('Erlebisse+in+Geraberg'),jdecode(''),'/42396.html','true',[],''],
	['PAGE','41207',jdecode('Anfahrt'),jdecode(''),'/41207.html','false',[],''],
	['PAGE','41050',jdecode('Kontakt+%26+Impressum'),jdecode(''),'/41050.html','true',[],'']];
var siteelementCount=16;
theSitetree.topTemplateName='Moonflight';
theSitetree.paletteFamily='708B50';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='446';
theSitetree.graphicsetId='500';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='FFFFFF';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Moonflight',
				paletteFamily: 	'708B50',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'446',
				graphicsetId: 	'500',
				contentColor: 	'000000',
				contentBGColor: 'FFFFFF',
				a_color: 		'476A1E',
				b_color: 		'FFFFFF',
				c_color: 		'FFFFFF',
				d_color: 		'FFFFFF',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'false',
				contentFontFace:'Times New Roman, Times, serif',
				contentFontSize:'12',
				useFavicon:     'true'
			  };
var webappMappings = {};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42396',
internalId:  '',
customField: '20100730-214259'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40967',
internalId:  '',
customField: '20110429-222959'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40978',
internalId:  '',
customField: '20100730-220202'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41050',
internalId:  '',
customField: '20100730-222317'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40987',
internalId:  '',
customField: '20080915-224256'
};
webappMappings['1007']=webappMappings['1007-1105fd55e44']={
webappId:    '1007',
documentId:  '41141',
internalId:  '1105fd55e44',
customField: 'g.121fpgvij.9hnbuk3qbd.1s'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41141',
internalId:  '',
customField: '20071012-181426'
};
webappMappings['2001']=webappMappings['2001-location']={
webappId:    '2001',
documentId:  '41207',
internalId:  'location',
customField: 'language:de;country:DE;isIncluded:false;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41207',
internalId:  '',
customField: '20070126-223028'
};
webappMappings['7060']=webappMappings['7060-87a4bebfac73d66f54faa378424a9147']={
webappId:    '7060',
documentId:  '41593',
internalId:  '87a4bebfac73d66f54faa378424a9147',
customField: 'language:de;country:DE;'
};
webappMappings['1008']=webappMappings['1008-29865864']={
webappId:    '1008',
documentId:  '40987',
internalId:  '29865864',
customField: 'de:DE:'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41005',
internalId:  '',
customField: '20070219-214608'
};
webappMappings['1002']=webappMappings['1002-41601atoix0i7bsk2']={
webappId:    '1002',
documentId:  '41601',
internalId:  '41601atoix0i7bsk2',
customField: 'action=form&icq=false'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42261',
internalId:  '',
customField: '20100708-222724'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41390',
internalId:  '',
customField: '20100911-131017'
};
webappMappings['1008']=webappMappings['1008-31096392']={
webappId:    '1008',
documentId:  '41050',
internalId:  '31096392',
customField: 'de:DE:'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41438',
internalId:  '',
customField: '20120116-092910'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41593',
internalId:  '',
customField: '20071111-181039'
};
webappMappings['1002']=webappMappings['1002-41601atoix0i7bsk2']={
webappId:    '1002',
documentId:  '41600',
internalId:  '41601atoix0i7bsk2',
customField: 'action=list'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41601',
internalId:  '',
customField: '20120116-092157'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41600',
internalId:  '',
customField: '20071224-193414'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41625',
internalId:  '',
customField: '20081003-131259'
};
webappMappings['1007']=webappMappings['1007-125fac73dac']={
webappId:    '1007',
documentId:  '42098',
internalId:  '125fac73dac',
customField: 'g.14ntbs7r5.bq41gho184.1s'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42098',
internalId:  '',
customField: '20100104-201939'
};
var canonHostname = 'c4awrk02.aul.t-online.de';
var accountId     = 'ATOIX0I7BSK2';
var companyName   = 'Schullandheim+Geraberg+e.V.';
var htmlTitle	  = 'Schullandheim+Geraberg';
var metaKeywords  = 'Schullandheim+Geraberg%2C+Geraberg%2C+Schullandheim%2C+Landschulheim%2C+Jugendherberge%2C+Gruppenunterkunft%2C+Ferienheim%2C+Ferien%2C+Schule%2C+Projekt%2C+Projekte%2C+Projektt%C3%A4tigkeit%2C+Projektangebote%2C+Angebote%2C+Klassenfahrten%2C+Klassenfahrt%2C+Sch%C3%BCler%2C+Lehrer%2C+Lehrerbildung%2C++Gruppenfahrten%2C+Feiern%2C+Erlebnisreisen%2C+Schullungsreisen%2C+Schule+im+Gr%C3%BCnen%2C+J%C3%BCchnitztal%2C+Hertwig%2C+Fereinh%C3%A4user%2C+Wald%2C+Disco%2C+Party%2C+Feiern%2C+Vereinsfeiern%2C+Verein%2C+Ganztagestouren%2C+Winter%2C+Sommer%2C+Fr%C3%BChling%2C+Herbst%2C+Schulungen%2C+Seminare%2C+Seminarunterkunft%2C+Ilmkreis%2C+g%C3%BCnstig%2C+Seminarreise%2C+Th%C3%BCringen%2C+Exkursion%2C+Exkursionen%2C+Erholung%2C+Schulung%2C+Tourismus%2C+Th%C3%BCringentourismus%2C+Th%C3%BCringer+Wald%2C+Wald%2C+%C3%96ko%2C+%C3%96kologie%2C+Natur%2C+Wasser%2C+Bach%2C+th%C3%BCringer+K%C3%BCche%2C+th%C3%BCringer+Bratwurst%2C+Bagpacker%2C+Rucksack%2C+P%C3%A4dagogik%2C+p%C3%A4dagogische+Angebote%2C+Paradies%2C+Integration%2C+integrativ%2C+integrative%2C+Talent%2C+Talente%2C+Sch%C3%BClerfirmen%2C';
var metaContents  = 'Eine+moderne+Herberge+in+idyllischer+Lage.+Mitten+im+Wald+an+einem+Bach+gelegen+bietet+es+neben+p%C3%A4dagogischen+Inhalten+auch+Spiel%2C+Spa%C3%9F%2C+Erholung+und+Entpanunng+f%C3%BCr+G%C3%A4ste+jeden+Alters.';
					                                                                    
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 */					                                                            

