/* [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('Das+Ferienhaus'),jdecode(''),'/4579/home.html','true',[ 
		['PAGE','33229',jdecode('Bildergalerie'),jdecode(''),'/4579/33229.html','true',[],'']
	],''],
	['PAGE','22634',jdecode('Dornumersiel'),jdecode(''),'/22634.html','true',[],''],
	['PAGE','22629',jdecode('Preise+%2F+Prospekt'),jdecode(''),'/22629.html','true',[],''],
	['PAGE','29729',jdecode('Buchungsanfragen'),jdecode(''),'/29729.html','true',[],''],
	['PAGE','40729',jdecode('Termine'),jdecode(''),'/40729.html','true',[],''],
	['PAGE','29930',jdecode('Anfahrt'),jdecode(''),'/29930.html','true',[],''],
	['PAGE','29744',jdecode('Impressum'),jdecode(''),'/29744.html','true',[],''],
	['PAGE','42329',jdecode('Datenschutz'),jdecode(''),'/42329.html','true',[],''],
	['PAGE','29739',jdecode('Links'),jdecode(''),'/29739.html','true',[],'']];
var siteelementCount=10;
theSitetree.topTemplateName='Enjoy';
theSitetree.paletteFamily='93A6CC';
theSitetree.keyvisualId='2254';
theSitetree.keyvisualName='reise4.jpg';
theSitetree.fontsetId='364';
theSitetree.graphicsetId='415';
theSitetree.contentColor='FFFFFF';
theSitetree.contentBGColor='93A6CC';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Enjoy',
				paletteFamily: 	'93A6CC',
				keyvisualId: 	'2254',
				keyvisualName: 	'reise4.jpg',
				fontsetId: 		'364',
				graphicsetId: 	'415',
				contentColor: 	'FFFFFF',
				contentBGColor: '93A6CC',
				a_color: 		'93A6CC',
				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['1007']=webappMappings['1007-105be8e15fd']={
webappId:    '1007',
documentId:  '33229',
internalId:  '105be8e15fd',
customField: 'g.10mv8cbqi.1ntkdpk027h.3o'
};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '4579',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4579',
internalId:  '',
customField: '20111013-190653'
};
webappMappings['2001']=webappMappings['2001-location']={
webappId:    '2001',
documentId:  '29930',
internalId:  'location',
customField: 'language:de;country:DE;isIncluded:false;'
};
webappMappings['1008']=webappMappings['1008-27533333']={
webappId:    '1008',
documentId:  '29729',
internalId:  '27533333',
customField: 'de:DE:'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '33229',
internalId:  '',
customField: '20090127-170024'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '22634',
internalId:  '',
customField: '20070606-143026'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '22629',
internalId:  '',
customField: '20110103-135221'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '29729',
internalId:  '',
customField: '20111013-190908'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '29930',
internalId:  '',
customField: '20090624-154809'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '29739',
internalId:  '',
customField: '20081229-210832'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '29744',
internalId:  '',
customField: '20090525-092953'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40729',
internalId:  '',
customField: '20110208-125951'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42329',
internalId:  '',
customField: '20070606-145136'
};
var canonHostname = 'c4awrk03.aul.t-online.de';
var accountId     = 'ATOIX0INEVV4';
var companyName   = '';
var htmlTitle	  = 'Ferienhaus+-+Merlin+in+Dornumersiel+%2F+Nordsee';
var metaKeywords  = 'Dornumersiel%2C+Ferienhaus%2C+Ferienwohnung%2C+Ferienhaus+Dornumersiel%2C+Ferienwohnung+Dornumersiel%2C+Norddeutschland%2C+Nordsee%2C+Ostfriesland%2C+K%C3%BCste%2C+Urlaub%2C+Strand%2C+Sonne%2C+Baden%2C+Ferien%2C+Mieten%2C+Wohnen%2C+Erholung%2C+Ostfriesische+K%C3%BCste%2C+Merlin%2C+Meer%2C+Tretboot%2C+Paddeln%2C+Wattwanderung%2C+Wattwandern%2C+Inseln%2C+Strandkorb%2C+Ramm%2C+Siedlung%2C+Feriengebiet%2C+Ne%C3%9Fmersiel%2C+Aurich%2C+Norden%2C+Norddeich%2C+Neuharlingersiel%2C+Bensersiel%2C+Dornum%2C+Accumersiel%2C+Altharlingersiel%2C+Zauberhaus%2C+Traumurlaub%2C+Last%2C+Minute%2C+Restpl%C3%A4tze%2C+Sommertermine%2C+Sommerferien%2C+Herbstferien%2C+Winterferien%2C+Osterferien%2C+Pfingsten%2C+Frei+Termin';
var metaContents  = 'Das+Ferienhaus+-+Merlin+in+Dornumersiel+%2F+Nordsee+steht+in+unmittelbarer+Strandn%C3%A4he%2C+direkt+hinterm+Deich.+Es+bietet+Platz+f%C3%BCr+7+Personen+und+ist+vollst%C3%A4ndig+eingerichtet.+';
					                                                                    
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 */					                                                            

