/* [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','15801',jdecode('Home'),jdecode(''),'/15801.html','true',[],''],
	['PAGE','15928',jdecode('Die+Zimmer'),jdecode(''),'/15928.html','true',[],''],
	['PAGE','17201',jdecode('Preis+%26+Leistung'),jdecode(''),'/17201.html','true',[],''],
	['PAGE','15901',jdecode('Anreise'),jdecode(''),'/15901.html','true',[],''],
	['PAGE','16009',jdecode('Die+Umgebung'),jdecode(''),'/16009.html','true',[],''],
	['PAGE','16036',jdecode('Veranstaltungen'),jdecode(''),'/16036/home.html','true',[ 
		['PAGE','31733',jdecode('Freizeitgestaltung'),jdecode(''),'/16036/31733.html','true',[],'']
	],''],
	['PAGE','16090',jdecode('Kontakt+und+Anfragen'),jdecode(''),'/16090.html','true',[],''],
	['PAGE','16117',jdecode('Links'),jdecode(''),'/16117.html','true',[],''],
	['PAGE','32420',jdecode('Impressum'),jdecode(''),'/32420.html','true',[],'']];
var siteelementCount=10;
theSitetree.topTemplateName='Urlaub5';
theSitetree.paletteFamily='E1D5B5';
theSitetree.keyvisualId='8575';
theSitetree.keyvisualName='kv_8575.jpg';
theSitetree.fontsetId='17110';
theSitetree.graphicsetId='12506';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='A2AE37';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Urlaub5',
				paletteFamily: 	'E1D5B5',
				keyvisualId: 	'8575',
				keyvisualName: 	'kv_8575.jpg',
				fontsetId: 		'17110',
				graphicsetId: 	'12506',
				contentColor: 	'000000',
				contentBGColor: 'A2AE37',
				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:  '15801',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '15801',
internalId:  '',
customField: '20110816-111322'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '16036',
internalId:  '',
customField: '20100722-141413'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '15901',
internalId:  '',
customField: '20090613-191310'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '15928',
internalId:  '',
customField: '20100722-135651'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '16009',
internalId:  '',
customField: '20100722-141238'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '31733',
internalId:  '',
customField: '20090626-182734'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '16090',
internalId:  '',
customField: '20090613-222731'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '17201',
internalId:  '',
customField: '20110106-124953'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '16117',
internalId:  '',
customField: '20100722-141651'
};
webappMappings['1008']=webappMappings['1008-60091623']={
webappId:    '1008',
documentId:  '16090',
internalId:  '60091623',
customField: 'de:DE::;language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '32420',
internalId:  '',
customField: '20100427-204837'
};
var canonHostname = 'c4awrk01.aul.t-online.de';
var accountId     = 'ATOIX0INL547';
var companyName   = 'Raffelsteiner+Hof';
var htmlTitle	  = 'Raffelsteiner+Hof+im+Altm%C3%BChltal+%2F+Gailachtal+die+Adresse+f%C3%BCr+den+entspannten+Urlaub';
var metaKeywords  = '0';
var metaContents  = 'Raffelsteiner+Hof+im+Altm%C3%BChltal+%2F+Gailachtal+die+Adresse+f%C3%BCr+den+entspannten+Urlaub+hier+kann+man+noch+echte+Natur+und+Ruhe+erleben.+Im+Gr%C3%B6ssten+Naturpark+Deutschland%C2%B4s+kann+man+Wandern+%283000+km+langes+gut+ausgeschildertes+Wegenetz%29%2C+Radfahren+%28Radwegenetz+umfasst+mehr+als+800+Kilometer%29und+Bootfahren+%28Die+Altm%C3%BChl+ist+der+langsamste+Fluss+Deutschlands+und+deshalb+sind+die+etwa+100+Km+bis+zum+Beginn+des+Main-Donau-Kanals+auch+f%C3%BCr+Anf%C3%A4nger+hervorragend+geeignet.%29';
					                                                                    
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 */					                                                            

