/* [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','39994',jdecode('Ferienwohnungen'),jdecode(''),'/39994.html','true',[],''],
	['PAGE','40976',jdecode('Burg%2FFehmarn'),jdecode(''),'/40976/home.html','true',[ 
		['PAGE','40985',jdecode('Preise%26Leistung'),jdecode(''),'/40976/40985.html','true',[],''],
		['PAGE','41506',jdecode('Bilder'),jdecode(''),'/40976/41506.html','true',[],''],
		['PAGE','41716',jdecode('Belegungsplan'),jdecode(''),'/40976/41716.html','true',[],''],
		['PAGE','41525',jdecode('Aktionsw.+Fehmarn'),jdecode(''),'/40976/41525.html','true',[],''],
		['PAGE','41776',jdecode('Anfahrt'),jdecode(''),'/40976/41776.html','true',[],'']
	],''],
	['PAGE','41003',jdecode('Mallorca'),jdecode(''),'/41003/home.html','true',[ 
		['PAGE','41012',jdecode('Preise%26Leistung'),jdecode(''),'/41003/41012.html','true',[],''],
		['PAGE','41407',jdecode('Bilder'),jdecode(''),'/41003/41407.html','true',[],''],
		['PAGE','41707',jdecode('Belegungsplan'),jdecode(''),'/41003/41707.html','true',[],''],
		['PAGE','41534',jdecode('Aktionsw.+Mallorca'),jdecode(''),'/41003/41534.html','true',[],'']
	],''],
	['PAGE','41030',jdecode('Impressum%26Kontakt'),jdecode(''),'/41030.html','true',[],''],
	['PAGE','41671',jdecode('Englisch'),jdecode(''),'/41671.html','true',[],''],
	['PAGE','41680',jdecode('Schwedisch'),jdecode(''),'/41680.html','true',[],''],
	['PAGE','42196',jdecode('Links'),jdecode(''),'/42196.html','true',[],''],
	['PAGE','42205',jdecode('neu'),jdecode(''),'/42205.html','true',[],'']];
var siteelementCount=17;
theSitetree.topTemplateName='Enjoy';
theSitetree.paletteFamily='FF9F21';
theSitetree.keyvisualId='2251';
theSitetree.keyvisualName='reise1.jpg';
theSitetree.fontsetId='364';
theSitetree.graphicsetId='418';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='FF9F21';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Enjoy',
				paletteFamily: 	'FF9F21',
				keyvisualId: 	'2251',
				keyvisualName: 	'reise1.jpg',
				fontsetId: 		'364',
				graphicsetId: 	'418',
				contentColor: 	'000000',
				contentBGColor: 'FF9F21',
				a_color: 		'FF9F21',
				b_color: 		'FFFFFF',
				c_color: 		'FFFFFF',
				d_color: 		'FFFFFF',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'false',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '39994',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '39994',
internalId:  '',
customField: '20120113-233218'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41003',
internalId:  '',
customField: '20110111-225703'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40976',
internalId:  '',
customField: '20090427-152401'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40985',
internalId:  '',
customField: '20120113-205007'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41012',
internalId:  '',
customField: '20120113-205427'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41030',
internalId:  '',
customField: '20080326-191121'
};
webappMappings['1008']=webappMappings['1008-46930658']={
webappId:    '1008',
documentId:  '41030',
internalId:  '46930658',
customField: 'de:DE::;language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41506',
internalId:  '',
customField: '20111013-132135'
};
webappMappings['1007']=webappMappings['1007-118ad9bdf69']={
webappId:    '1007',
documentId:  '41407',
internalId:  '118ad9bdf69',
customField: 'g.132mp94pa.cp56e4b31no.1s'
};
webappMappings['1007']=webappMappings['1007-118adfd6c26']={
webappId:    '1007',
documentId:  '41506',
internalId:  '118adfd6c26',
customField: 'g.132mvciuj.rrbt5g8dei.1s'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41407',
internalId:  '',
customField: '20110111-224319'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41525',
internalId:  '',
customField: '20100120-155226'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41534',
internalId:  '',
customField: '20120213-113803'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41671',
internalId:  '',
customField: '20100125-180004'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41680',
internalId:  '',
customField: '20100125-180019'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42196',
internalId:  '',
customField: '20120113-205107'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41707',
internalId:  '',
customField: '20111028-131630'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41716',
internalId:  '',
customField: '20111028-185514'
};
webappMappings['2001']=webappMappings['2001-location']={
webappId:    '2001',
documentId:  '41776',
internalId:  'location',
customField: 'language:de;country:DE;isIncluded:false;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41776',
internalId:  '',
customField: '20110205-174020'
};
webappMappings['7091']=webappMappings['7091-63343']={
webappId:    '7091',
documentId:  '41716',
internalId:  '63343',
customField: 'align:left;language:de;country:DE;'
};
webappMappings['7091']=webappMappings['7091-63344']={
webappId:    '7091',
documentId:  '41716',
internalId:  '63344',
customField: 'align:left;language:de;country:DE;'
};
webappMappings['7091']=webappMappings['7091-63345']={
webappId:    '7091',
documentId:  '41716',
internalId:  '63345',
customField: 'align:left;language:de;country:DE;'
};
webappMappings['7091']=webappMappings['7091-63341']={
webappId:    '7091',
documentId:  '41707',
internalId:  '63341',
customField: 'align:left;language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42205',
internalId:  '',
customField: '20111226-171510'
};
webappMappings['7091']=webappMappings['7091-63340']={
webappId:    '7091',
documentId:  '41707',
internalId:  '63340',
customField: 'align:left;language:de;country:DE;'
};
var canonHostname = 'c4awrk03.aul.t-online.de';
var accountId     = 'ATOIX0I72M13';
var companyName   = 'Ferienwohnung+Detjen';
var htmlTitle	  = 'Ferienwohnungen+Detjen+auf+Fehmarn+und+Mallorca';
var metaKeywords  = 'Ferien%2CFerienwohnungen%2CFehmarn%2CUrlaub%2CInsel-Fehmarn%2CMallorca%2CCala-Rajada%2CMittelmeer%2CBaden%2Cleilighet+mallorca%2C+mallorca%2C+rent+an+appartment%2C+cala+ratjada%2C+leie+leilighet+p%C3%A5+mallorca%2C+vista+azul%2C+appartment%2C+finca%2C+leilighet%2C+lejlighed%2C+leie+p%C3%A5+mallorca%2C+vista+azul%2C+leilighet+p%C3%A5+mallorca';
var metaContents  = 'Ferienwohnungen+auf+der+Insel+Fehmarn+und+auf+Mallorca%2C+Cala+Rajada';
					                                                                    
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 */					                                                            

