/* [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','19105',jdecode('Start'),jdecode(''),'/19105.html','true',[],''],
	['PAGE','20619',jdecode('Sehenswertes'),jdecode(''),'/20619/home.html','true',[ 
		['PAGE','20828',jdecode('aus+dem+Ort'),jdecode(''),'/20619/20828.html','true',[],''],
		['PAGE','20801',jdecode('in+der+n%C3%A4heren+Umgebung'),jdecode(''),'/20619/20801.html','true',[],'']
	],''],
	['PAGE','19189',jdecode('Bilder+der+Wohnung'),jdecode(''),'/19189.html','true',[],''],
	['PAGE','19243',jdecode('Preis+%26+Leistung'),jdecode(''),'/19243.html','true',[],''],
	['PAGE','19297',jdecode('Anfrage+schreiben'),jdecode(''),'/19297/home.html','true',[ 
		['PAGE','20543',jdecode('Kontakt+%28Folgeseite%29'),jdecode(''),'/19297/20543.html','false',[],'']
	],''],
	['PAGE','20401',jdecode('Wo+liegt+Kleinwelka+%3F'),jdecode(''),'/20401.html','true',[],''],
	['PAGE','19888',jdecode('G%C3%A4stebuch'),jdecode(''),'/19888/home.html','true',[ 
		['PAGE','19889',jdecode('Eintr%C3%A4ge'),jdecode(''),'/19888/19889.html','true',[],'']
	],''],
	['PAGE','22255',jdecode('Anfahrt'),jdecode(''),'/22255.html','true',[],'']];
var siteelementCount=12;
theSitetree.topTemplateName='Profile';
theSitetree.paletteFamily='766455';
theSitetree.keyvisualId='1248';
theSitetree.keyvisualName='weinglaeser.jpg';
theSitetree.fontsetId='193';
theSitetree.graphicsetId='235';
theSitetree.contentColor='666666';
theSitetree.contentBGColor='FFFFFF';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Profile',
				paletteFamily: 	'766455',
				keyvisualId: 	'1248',
				keyvisualName: 	'weinglaeser.jpg',
				fontsetId: 		'193',
				graphicsetId: 	'235',
				contentColor: 	'666666',
				contentBGColor: 'FFFFFF',
				a_color: 		'766455',
				b_color: 		'52443C',
				c_color: 		'000000',
				d_color: 		'FFFFFF',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'true',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'true'
			  };
var webappMappings = {};
webappMappings['1002']=webappMappings['1002-19888ATOIX0INFURJ']={
webappId:    '1002',
documentId:  '19888',
internalId:  '19888ATOIX0INFURJ',
customField: 'action=form&icq=false'
};
webappMappings['1001']=webappMappings['1001-atoix0infurja09e9311ed5322da']={
webappId:    '1001',
documentId:  '19297',
internalId:  'atoix0infurja09e9311ed5322da',
customField: ''
};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '19105',
internalId:  '1006',
customField: '1006'
};
webappMappings['1001']=webappMappings['1001-atoix0infurja09e9311ed5322da']={
webappId:    '1001',
documentId:  '20543',
internalId:  'atoix0infurja09e9311ed5322da',
customField: 'followUp'
};
webappMappings['1002']=webappMappings['1002-19888ATOIX0INFURJ']={
webappId:    '1002',
documentId:  '19889',
internalId:  '19888ATOIX0INFURJ',
customField: 'action=list'
};
webappMappings['2001']=webappMappings['2001-location']={
webappId:    '2001',
documentId:  '22255',
internalId:  'location',
customField: 'language:de;country:DE;isIncluded:false;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '19105',
internalId:  '',
customField: '20110610-072109'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '19243',
internalId:  '',
customField: '20110608-192144'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '19888',
internalId:  '',
customField: '20040328-131946'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '20619',
internalId:  '',
customField: '20100514-174828'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '20828',
internalId:  '',
customField: '20080529-152945'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '20801',
internalId:  '',
customField: '20040613-132316'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '19189',
internalId:  '',
customField: '20110610-073234'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '19297',
internalId:  '',
customField: '20080603-095005'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '20543',
internalId:  '',
customField: '20040328-145417'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '20401',
internalId:  '',
customField: '20110610-073437'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '19889',
internalId:  '',
customField: '20040328-124012'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '22255',
internalId:  '',
customField: '20080603-095643'
};
webappMappings['1501']=webappMappings['1501-3183552']={
webappId:    '1501',
documentId:  '19105',
internalId:  '3183552',
customField: '1501'
};
var canonHostname = 'c4awrk01.aul.t-online.de';
var accountId     = 'ATOIX0INFURJ';
var companyName   = '++++++++++++Ferien+in+der+sch%C3%B6nen+Oberlausitz';
var htmlTitle	  = 'Ferien+in+der+sch%C3%B6nen+Oberlausitz';
var metaKeywords  = 'Fewo%2C+Ferienwohnung%2C+Urlaub%2C+Lausitz%2C+Sachsen%2C+Bautzen%2C+%C3%9Cbernachtung%2C+Saurierpark+Kleinwelka';
var metaContents  = 'modern+eingerichtete+Ferienwohnung%2C+separater+Eingang%2C+Parkplatz+vor+dem+Haus%2C+ideal+f%C3%BCr+2+Personen%2C+Aufbettung+f%C3%BCr+ein+Kind+m%C3%B6glich';
					                                                                    
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 */					                                                            

