/* [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','40614',jdecode('Urlaub+in+Bad+Neuenahr'),jdecode(''),'/40614.html','true',[],''],
	['PAGE','39994',jdecode('Das+Ahrtal+in+Rheinland-Pfalz'),jdecode(''),'/39994.html','true',[],''],
	['PAGE','40587',jdecode('Unsere++Wohnung'),jdecode(''),'/40587.html','true',[],''],
	['PAGE','40945',jdecode('K%C3%BCche'),jdecode(''),'/40945.html','true',[],''],
	['PAGE','40954',jdecode('Wohnzimmer'),jdecode(''),'/40954.html','true',[],''],
	['PAGE','40963',jdecode('Schlafzimmer'),jdecode(''),'/40963.html','true',[],''],
	['PAGE','40972',jdecode('Bad%2FWC'),jdecode(''),'/40972.html','true',[],''],
	['PAGE','40578',jdecode('Unser+Angebot'),jdecode(''),'/40578.html','true',[],''],
	['PAGE','40623',jdecode('Preis+%26+Leistung'),jdecode(''),'/40623.html','true',[],''],
	['PAGE','40653',jdecode('Anfahrt'),jdecode(''),'/40653.html','true',[],''],
	['PAGE','40926',jdecode('Impressum+und+rechtliche+Hinweise'),jdecode(''),'/40926.html','true',[],''],
	['PAGE','41025',jdecode('Veranstaltungen'),jdecode(''),'/41025.html','true',[],''],
	['PAGE','43101',jdecode('Links'),jdecode(''),'/43101.html','true',[],''],
	['PAGE','43491',jdecode('Belegungsplan'),jdecode(''),'/43491.html','true',[],'']];
var siteelementCount=14;
theSitetree.topTemplateName='Bewerbung10';
theSitetree.paletteFamily='9C918F';
theSitetree.keyvisualId='8655';
theSitetree.keyvisualName='kv_8655.jpg';
theSitetree.fontsetId='17159';
theSitetree.graphicsetId='12572';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='FFFFFF';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Bewerbung10',
				paletteFamily: 	'9C918F',
				keyvisualId: 	'8655',
				keyvisualName: 	'kv_8655.jpg',
				fontsetId: 		'17159',
				graphicsetId: 	'12572',
				contentColor: 	'000000',
				contentBGColor: 'FFFFFF',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'000000',
				f_color: 		'000000',
				hasCustomLogo: 	'false',
				contentFontFace:'Verdana, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '40614',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '39994',
internalId:  '',
customField: '20110909-125917'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40578',
internalId:  '',
customField: '20110411-084357'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40587',
internalId:  '',
customField: '20101108-172511'
};
webappMappings['2001']=webappMappings['2001-location']={
webappId:    '2001',
documentId:  '40653',
internalId:  'location',
customField: 'language:de;country:DE;isIncluded:false;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40623',
internalId:  '',
customField: '20120218-133642'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40926',
internalId:  '',
customField: '20120218-134103'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40614',
internalId:  '',
customField: '20111007-101048'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40653',
internalId:  '',
customField: '20100428-161544'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40945',
internalId:  '',
customField: '20120218-133142'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40954',
internalId:  '',
customField: '20120218-133319'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40972',
internalId:  '',
customField: '20111007-101613'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40963',
internalId:  '',
customField: '20120218-133440'
};
webappMappings['7090']=webappMappings['7090-556331']={
webappId:    '7090',
documentId:  '41025',
internalId:  '556331',
customField: 'type:rss-0.91;language:de;country:DE;'
};
webappMappings['7090']=webappMappings['7090-556329']={
webappId:    '7090',
documentId:  '41025',
internalId:  '556329',
customField: 'type:rss-0.91;language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41025',
internalId:  '',
customField: '20100525-193725'
};
webappMappings['7090']=webappMappings['7090-556328']={
webappId:    '7090',
documentId:  '41025',
internalId:  '556328',
customField: 'type:rss-0.91;language:de;country:DE;'
};
webappMappings['7090']=webappMappings['7090-556327']={
webappId:    '7090',
documentId:  '41025',
internalId:  '556327',
customField: 'type:rss-0.91;language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43491',
internalId:  '',
customField: '20110503-153142'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43101',
internalId:  '',
customField: '20111020-141955'
};
var canonHostname = 'c4awrk01.aul.t-online.de';
var accountId     = 'ATOIX0IRSQI9';
var companyName   = 'Ferienwohnung+in+Bad+Neuenahr+%22Mien+Ankerplatz%22+';
var htmlTitle	  = 'Ferienwohnung+%22Mien+Ankerplatz%22+in+Bad+Neuenahr';
var metaKeywords  = 'Unterkunft%2C+Ferienwohnung%2C+Urlaub%2C++Bad+Neuenahr%2C+Ahrweiler%2C++4+*+*+*+*+Sterne+Ferienwohnung%2C+Kletterpark%2C+Spielkasino%2C+Rotweinwanderweg%2C+Bad+Neuenahr-Ahrweiler%2C+Unterk%C3%BCnfte%2C+Sport%2C+Wandern';
var metaContents  = '4+*+*+*+*+Ferienwohnung+in+Bad+Neuenahr+f%C3%BCr+2-3+Personen%2C+neu+renoviert%2C+im+sch%C3%B6nen+Ahrtal+gelegen.+Zentrale+Lage+zu+den+Ahrthermen%2C+zum+Spielkasino%2C+zu+den+Tennispl%C3%A4tzen.+Ca.+5+Minuten+bis+zum+Stadtkern.+';
					                                                                    
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 */					                                                            

