/* [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','46025',jdecode('Eine+alte+Kulturlandschaft'),jdecode(''),'/46025.html','true',[],''],
	['PAGE','41061',jdecode('MERIAN-Empfehlung'),jdecode(''),'/41061.html','true',[],''],
	['PAGE','46416',jdecode('Fotos%2Faktuelles+Programm'),jdecode(''),'/46416/home.html','true',[ 
		['PAGE','51901',jdecode('Fotos%3A+neue+Wegziele+2011'),jdecode(''),'/46416/51901.html','true',[],'']
	],''],
	['PAGE','45931',jdecode('Das+Konzept'),jdecode(''),'/45931.html','true',[],''],
	['PAGE','46125',jdecode('Die+Wanderungen'),jdecode(''),'/46125.html','true',[],''],
	['PAGE','46518',jdecode('Der+Reiseleiter'),jdecode(''),'/46518.html','true',[],''],
	['PAGE','41070',jdecode('Die+Unterk%C3%BCnfte'),jdecode(''),'/41070.html','true',[],''],
	['PAGE','46245',jdecode('Verpflegung'),jdecode(''),'/46245.html','true',[],''],
	['PAGE','45940',jdecode('Anreise'),jdecode(''),'/45940/home.html','true',[ 
		['PAGE','46576',jdecode('Verl%C3%A4ngerung'),jdecode(''),'/45940/46576.html','true',[],'']
	],''],
	['PAGE','45949',jdecode('Termine'),jdecode(''),'/45949/home.html','true',[ 
		['PAGE','46585',jdecode('Verl%C3%A4ngerung'),jdecode(''),'/45949/46585.html','true',[],'']
	],''],
	['PAGE','45958',jdecode('Preise'),jdecode(''),'/45958.html','true',[],''],
	['PAGE','46034',jdecode('+E-bike+Cevennentour'),jdecode(''),'/46034.html','true',[],''],
	['PAGE','55601',jdecode('Angebote+f%C3%BCr+Individualreisen'),jdecode(''),'/55601.html','true',[],''],
	['PAGE','46566',jdecode('Kleingruppen+und+Vereine'),jdecode(''),'/46566.html','true',[],''],
	['PAGE','40411',jdecode('Kontaktformular%2Fweitere+Infos'),jdecode(''),'/40411.html','true',[],''],
	['PAGE','40402',jdecode('Service'),jdecode(''),'/40402.html','true',[],'']];
var siteelementCount=20;
theSitetree.topTemplateName='Inspiration';
theSitetree.paletteFamily='CCCC99';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='102';
theSitetree.graphicsetId='120';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='CCCC99';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Inspiration',
				paletteFamily: 	'CCCC99',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'102',
				graphicsetId: 	'120',
				contentColor: 	'000000',
				contentBGColor: 'CCCC99',
				a_color: 		'CCCC99',
				b_color: 		'99667A',
				c_color: 		'000000',
				d_color: 		'FFFFFF',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'true',
				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: '20111119-163637'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40402',
internalId:  '',
customField: '20110622-162300'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40411',
internalId:  '',
customField: '20110911-072716'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45931',
internalId:  '',
customField: '20120127-182845'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41070',
internalId:  '',
customField: '20110914-204007'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41061',
internalId:  '',
customField: '20111112-211605'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '46025',
internalId:  '',
customField: '20111110-204020'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '46034',
internalId:  '',
customField: '20120115-144338'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45940',
internalId:  '',
customField: '20110304-111545'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45949',
internalId:  '',
customField: '20120210-182521'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45958',
internalId:  '',
customField: '20120204-213346'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '46125',
internalId:  '',
customField: '20110618-194221'
};
webappMappings['7090']=webappMappings['7090-525316']={
webappId:    '7090',
documentId:  '45940',
internalId:  '525316',
customField: 'type:rss-2.0;language:de;country:DE;'
};
webappMappings['7090']=webappMappings['7090-525316']={
webappId:    '7090',
documentId:  '46125',
internalId:  '525316',
customField: 'type:rss-2.0;language:de;country:DE;'
};
webappMappings['7090']=webappMappings['7090-525316']={
webappId:    '7090',
documentId:  '39994',
internalId:  '525316',
customField: 'type:rss-2.0;language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '46245',
internalId:  '',
customField: '20111110-170953'
};
webappMappings['7090']=webappMappings['7090-525316']={
webappId:    '7090',
documentId:  '40402',
internalId:  '525316',
customField: 'type:rss-2.0;language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '46416',
internalId:  '',
customField: '20120129-074125'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '46518',
internalId:  '',
customField: '20100313-101817'
};
webappMappings['1008']=webappMappings['1008-70122517']={
webappId:    '1008',
documentId:  '40411',
internalId:  '70122517',
customField: 'de:DE::;language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '46566',
internalId:  '',
customField: '20100427-193018'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '46576',
internalId:  '',
customField: '20110129-173310'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '46585',
internalId:  '',
customField: '20100506-211705'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '55601',
internalId:  '',
customField: '20111218-195729'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '51901',
internalId:  '',
customField: '20110304-124701'
};
var canonHostname = 'c4awrk01.aul.t-online.de';
var accountId     = 'ATOIX0IRQAWK';
var companyName   = '50+plus+-+Wanderurlaub+in+den+Cevennen+';
var htmlTitle	  = 'cevennenwandern+gef%C3%BChrte+Wanderungen+f%C3%BCr+Senioren+in+der+Ardecheregion+Cevennen';
var metaKeywords  = '++Cevennen+Wandern+Senioren+Wohnen+in+alten+Steinh%C3%A4usern+gef%C3%BChrte+Wanderungen';
var metaContents  = '++Wandern+in+den+Cevennen+Wanderurlaub+f%C3%BCr+Senioren+gef%C3%BChrte+Wanderungen+in+der+Region+Ardeche+55plus';
					                                                                    
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 */					                                                            

