/* [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.html','true',[],''],
	['PAGE','42043',jdecode('Bilder+Ausflugsziele'),jdecode(''),'/42043.html','true',[],''],
	['PAGE','43102',jdecode('Bilder+Kategorie'),jdecode(''),'/43102.html','true',[],''],
	['PAGE','42178',jdecode('Links'),jdecode(''),'/42178.html','true',[],''],
	['PAGE','42169',jdecode('Wetter'),jdecode(''),'/42169.html','true',[],''],
	['PAGE','42652',jdecode('G%C3%A4stebuch'),jdecode(''),'/42652/home.html','true',[ 
		['PAGE','42651',jdecode('Eintr%C3%A4ge'),jdecode(''),'/42652/42651.html','true',[],'']
	],''],
	['PAGE','42063',jdecode('Kontakt'),jdecode(''),'/42063.html','true',[],'']];
var siteelementCount=8;
theSitetree.topTemplateName='Kreis';
theSitetree.paletteFamily='4CD28A';
theSitetree.keyvisualId='1674';
theSitetree.keyvisualName='radsport.jpg';
theSitetree.fontsetId='129';
theSitetree.graphicsetId='141';
theSitetree.contentColor='FFFFFF';
theSitetree.contentBGColor='000000';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Kreis',
				paletteFamily: 	'4CD28A',
				keyvisualId: 	'1674',
				keyvisualName: 	'radsport.jpg',
				fontsetId: 		'129',
				graphicsetId: 	'141',
				contentColor: 	'FFFFFF',
				contentBGColor: '000000',
				a_color: 		'4CD28A',
				b_color: 		'77F897',
				c_color: 		'000000',
				d_color: 		'FFFFFF',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'false',
				contentFontFace:'Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['7091']=webappMappings['7091-27057']={
webappId:    '7091',
documentId:  '42169',
internalId:  '27057',
customField: 'align:left;language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44',
internalId:  '',
customField: '20100806-230250'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42043',
internalId:  '',
customField: '20100806-230519'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42169',
internalId:  '',
customField: '20100806-230654'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42178',
internalId:  '',
customField: '20100521-205151'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42063',
internalId:  '',
customField: '20090208-225336'
};
webappMappings['1008']=webappMappings['1008-44990760']={
webappId:    '1008',
documentId:  '42063',
internalId:  '44990760',
customField: 'de:DE::;language:de;country:DE;'
};
webappMappings['1002']=webappMappings['1002-42652atoix0inf489']={
webappId:    '1002',
documentId:  '42652',
internalId:  '42652atoix0inf489',
customField: 'action=form&icq=false'
};
webappMappings['1002']=webappMappings['1002-42652atoix0inf489']={
webappId:    '1002',
documentId:  '42651',
internalId:  '42652atoix0inf489',
customField: 'action=list'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42652',
internalId:  '',
customField: '20081030-234817'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42651',
internalId:  '',
customField: '20080326-190630'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43102',
internalId:  '',
customField: '20100615-230800'
};
var canonHostname = 'c4awrk06.aul.t-online.de';
var accountId     = 'ATOIX0INF489';
var companyName   = 'bayerwaldler.de';
var htmlTitle	  = 'Bilder+Fotos+Ausflugsziele+Wandern+Bayerischer+Wald';
var metaKeywords  = 'Rupert+Peter%2C+Lusen%2C+Rachel%2C+Arber%2C+Falkenstein%2C+Osser%2C+Dreisessel%2C+Buchberger+Leite%2C+Waldkirchen%2C+Ilz%2C+Bayerischer+Wald%2C+Bayrischer+Wald%2C+Bilder%2C+Fotos%2C+Wandern%2C+Sonnenuntergang%2C+Haidel%2C+Freyung%2C+Grafenau%2C+Dachstein%2C+%C3%96sterreich%2C+Urlaub%2C+Wetter%2C+Wollaberg%2C+Schachten%2C+Filze%2C+Moore%2C+Reschbach%2C+Reschbachtal%2C+Frauenau%2C+Hochschachten%2C+Kohlschachten%2C+Almschachten%2C+Naturfotographie%2C+Wildbachklamm';
var metaContents  = 'Naturfotografie+im+Bayerischen+Wald+und+Nationalpark+Bayerischer+Wald.+Informationen+und+Wandertouren+rund+um+den+Naturpark+Bayerwald.';
					                                                                    
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 */					                                                            
