/* [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','13801',jdecode('Home'),jdecode(''),'/13801.html','true',[],''],
	['PAGE','13807',jdecode('Unser+Angebot'),jdecode(''),'/13807/home.html','true',[ 
		['PAGE','13812',jdecode('Die+Wohnungen'),jdecode(''),'/13807/13812.html','true',[],''],
		['PAGE','13817',jdecode('Der+Garten'),jdecode(''),'/13807/13817.html','true',[],'']
	],''],
	['PAGE','13827',jdecode('Preis+%26+Leistung'),jdecode(''),'/13827.html','true',[],''],
	['PAGE','13842',jdecode('Kontakt'),jdecode(''),'/13842/home.html','true',[ 
		['PAGE','17502',jdecode('Kontakt+%28Folgeseite%29'),jdecode(''),'/13842/17502.html','false',[],'']
	],''],
	['PAGE','14161',jdecode('G%C3%A4stebuch'),jdecode(''),'/14161/home.html','true',[ 
		['PAGE','14160',jdecode('mein+Eintrag'),jdecode(''),'/14161/14160.html','true',[],'']
	],''],
	['PAGE','19504',jdecode('Anreise'),jdecode(''),'/19504.html','true',[],''],
	['PAGE','17601',jdecode('was+gibt+es+noch'),jdecode(''),'/17601.html','true',[],'']];
var siteelementCount=11;
theSitetree.topTemplateName='Roadsign';
theSitetree.paletteFamily='3E3C83';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='10356';
theSitetree.graphicsetId='10498';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='FFFFFF';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Roadsign',
				paletteFamily: 	'3E3C83',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'10356',
				graphicsetId: 	'10498',
				contentColor: 	'000000',
				contentBGColor: 'FFFFFF',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'666666',
				e_color: 		'999999',
				f_color: 		'663300',
				hasCustomLogo: 	'false',
				contentFontFace:'Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['1002']=webappMappings['1002-14160atoix0inej7f']={
webappId:    '1002',
documentId:  '14160',
internalId:  '14160atoix0inej7f',
customField: 'action=form&icq=false'
};
webappMappings['1002']=webappMappings['1002-14160atoix0inej7f']={
webappId:    '1002',
documentId:  '14161',
internalId:  '14160atoix0inej7f',
customField: 'action=list'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13801',
internalId:  '',
customField: '20071003-181102'
};
webappMappings['1501']=webappMappings['1501-7927014']={
webappId:    '1501',
documentId:  '13801',
internalId:  '7927014',
customField: '1501'
};
webappMappings['1001']=webappMappings['1001-atoix0inej7f101d9f66e88']={
webappId:    '1001',
documentId:  '13842',
internalId:  'atoix0inej7f101d9f66e88',
customField: ''
};
webappMappings['1001']=webappMappings['1001-atoix0inej7f101d9f66e88']={
webappId:    '1001',
documentId:  '17502',
internalId:  'atoix0inej7f101d9f66e88',
customField: 'followUp'
};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '13801',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14161',
internalId:  '',
customField: '20050126-221639'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13807',
internalId:  '',
customField: '20100810-201206'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13812',
internalId:  '',
customField: '20100517-222541'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13817',
internalId:  '',
customField: '20071003-181627'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13827',
internalId:  '',
customField: '20100519-205546'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13842',
internalId:  '',
customField: '20050203-214355'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '17502',
internalId:  '',
customField: '20050203-214321'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14160',
internalId:  '',
customField: '20050126-221639'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '19504',
internalId:  '',
customField: '20050310-151153'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '17601',
internalId:  '',
customField: '20090525-203958'
};
var canonHostname = 'c4awrk03.aul.t-online.de';
var accountId     = 'ATOIX0INEJ7F';
var companyName   = 'Ferienwohnung+bei+Hammon%27s';
var htmlTitle	  = 'Urlaub+an+der+Nahe';
var metaKeywords  = 'Ferienwohnung%2C+Nahe%2C+Monzingen%2C+Hammon%2C+Wein%2C+TV%2C+Garten%2C+Grillplatz%2C+Parkplatz';
var metaContents  = '';
					                                                                    
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 */					                                                            

