/* [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','4579',jdecode('Die+Rh%C3%B6n'),jdecode(''),'/4579.html','true',[],''],
	['PAGE','13701',jdecode('Ihre+Feriendomizile'),jdecode(''),'/13701.html','true',[],''],
	['PAGE','13706',jdecode('Infos+und+Pauschalen'),jdecode(''),'/13706/home.html','true',[ 
		['PAGE','17002',jdecode('Infos+und+Pauschalen+%28Folgeseite%29'),jdecode(''),'/13706/17002.html','false',[],'']
	],'']];
var siteelementCount=4;
theSitetree.topTemplateName='Stripes';
theSitetree.paletteFamily='009900';
theSitetree.keyvisualId='1597';
theSitetree.keyvisualName='tulpen.jpg';
theSitetree.fontsetId='249';
theSitetree.graphicsetId='318';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='FCFCFB';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Stripes',
				paletteFamily: 	'009900',
				keyvisualId: 	'1597',
				keyvisualName: 	'tulpen.jpg',
				fontsetId: 		'249',
				graphicsetId: 	'318',
				contentColor: 	'000000',
				contentBGColor: 'FCFCFB',
				a_color: 		'009900',
				b_color: 		'DEDECA',
				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['1001']=webappMappings['1001-atoix0ineof510254af36e0']={
webappId:    '1001',
documentId:  '13706',
internalId:  'atoix0ineof510254af36e0',
customField: ''
};
webappMappings['1001']=webappMappings['1001-atoix0ineof510254af36e0']={
webappId:    '1001',
documentId:  '17002',
internalId:  'atoix0ineof510254af36e0',
customField: 'followUp'
};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '4579',
internalId:  '1006',
customField: '1006'
};
webappMappings['1501']=webappMappings['1501-10797191']={
webappId:    '1501',
documentId:  '4579',
internalId:  '10797191',
customField: '1501'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4579',
internalId:  '',
customField: '20100131-125735'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13701',
internalId:  '',
customField: '20110316-164720'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13706',
internalId:  '',
customField: '20101205-153205'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '17002',
internalId:  '',
customField: '20050227-173851'
};
var canonHostname = 'c4awrk04.aul.t-online.de';
var accountId     = 'ATOIX0INEOF5';
var companyName   = 'Hotel-Ferienpark+Rh%C3%B6n+Residence';
var htmlTitle	  = 'Ferien+in+der+Rh%C3%B6n+%2F+Fulda';
var metaKeywords  = 'Fulda%2C+Rh%C3%B6n%2C+Rhoen%2C+Hotel%2C+Ferienwohnungen%2C+Lastminute%2C+Pension%2C+Ferienappartements%2C+Unterkuenfte%2C+Urlaub+auf+dem+Bauernhof%2C++Familienurlaub%2C+Schwimmbad%2C+Reisen%2C+Sporthotel%2C+Naturpark%2C+Tagungshotel%2C+Familienferien%2C+Familienurlaub%2C+Wanderhotel%2C+Wanderurlaub%2C+Kletterurlaub%2C+Golfurlaub%2C+Seminare%2C+Trainingscamp%2C+Wochenendurlaub%2C+Kurzurlaub%2C+Ferienhaus%2C+Landurlaub%2C+Kegeltour%2C+Tennisurlaub%2C+Angelurlaub%2C+Kegelurlaub%2C+Kletterferien%2C+Kegelreise%2C+Wanderferien%2C+Naturferien%2C+Gruppenreisen%2C+Busreisen%2C+Tagungen%2C+Seminarhotel%2C+Erholungsort%2C+Seniorenurlaub%2C+Seniorenferien%2C+Wellnessurlaub%2C+Wellnesshotel%2C+Natururlaub%2C+Skiurlaub%2C+Segelflug%2C+Sch%C3%BClerreisen%2C+Hofbieber%2C+Gersfeld%2C+Poppenhausen%2C+Wasserkuppe%2C+K%C3%BCnzell%2C+Petersberg%2C+Hilders%2C+Tann%2C+Dipperz%2C+Nordic+Walking%2C+Kinderurlaub%2C+Singleurlaub%2C+Sporturlaub%2C+Fahrradurlaub%2C+Tourismus%2C+Tagungsr%C3%A4ume%2C+Wandertouren%2C+Last+minute%2C+bed+and+breakfast%2C+Ferienzentrum%2C+Biker%2C+Dreilaendereck%2C+Meiningen%2C+Kissingen%2C+Biosphaerenreservat%2C+Loipen%2C+Sportangebote%2C+Bauernhof%2C+Touristinfo%2C';
var metaContents  = 'Herrlich+gelegener+Ferienpark+mit+Hotel+***%2C++Ferienwohnungen%2C+Bungalows%2C+Schwimmbad+im+Naturpark+Rh%C3%B6n+bei+Fulda.+Bestens+f%C3%BCr+Individual-+und+Gruppenurlaub+mit+vielen+Freizeitm%C3%B6glichkeiten.';
					                                                                    
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 */					                                                            

