/* [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('Startseite'),jdecode(''),'/39994.html','true',[],''],
	['PAGE','139901',jdecode('Mein+Bilderbuch'),jdecode(''),'/139901.html','true',[],''],
	['PAGE','41663',jdecode('Nach+Vollerwiek+und+zum+Badestrand+'),jdecode(''),'/41663.html','true',[],''],
	['PAGE','67301',jdecode('Saison+%26+Preise+%26+Mietbedingungen%28AGB%29'),jdecode(''),'/67301.html','true',[],''],
	['PAGE','122501',jdecode('Belegungsplan+FeWo+I+%26+II'),jdecode(''),'/122501.html','true',[],''],
	['PAGE','41436',jdecode('Ihre+Anfrage+%26+Buchung+'),jdecode(''),'/41436.html','true',[],''],
	['PAGE','41118',jdecode('Anreise'),jdecode(''),'/41118.html','true',[],''],
	['PAGE','130701',jdecode('Ihre+Anfahrt+zum+Ferienhaus'),jdecode(''),'/130701.html','true',[],''],
	['PAGE','41872',jdecode('Spiele'),jdecode(''),'/41872.html','true',[],''],
	['PAGE','41796',jdecode('+'),jdecode(''),'/41796.html','true',[],''],
	['PAGE','41287',jdecode('Impressum+und+Rechtshinweis'),jdecode(''),'/41287.html','true',[],'']];
var siteelementCount=11;
theSitetree.topTemplateName='Dynamics';
theSitetree.paletteFamily='94B9DE';
theSitetree.keyvisualId='11181';
theSitetree.keyvisualName='kv_11181.jpg';
theSitetree.fontsetId='32092';
theSitetree.graphicsetId='13890';
theSitetree.contentColor='0F4687';
theSitetree.contentBGColor='94B9DE';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Dynamics',
				paletteFamily: 	'94B9DE',
				keyvisualId: 	'11181',
				keyvisualName: 	'kv_11181.jpg',
				fontsetId: 		'32092',
				graphicsetId: 	'13890',
				contentColor: 	'0F4687',
				contentBGColor: '94B9DE',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'000000',
				f_color: 		'000000',
				hasCustomLogo: 	'true',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'true'
			  };
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: '20120122-144443'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41118',
internalId:  '',
customField: '20110303-132700'
};
webappMappings['7091']=webappMappings['7091-35572']={
webappId:    '7091',
documentId:  '122501',
internalId:  '35572',
customField: 'align:left;language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41796',
internalId:  '',
customField: '20110303-132809'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '122501',
internalId:  '',
customField: '20110303-132546'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '139901',
internalId:  '',
customField: '20110303-132239'
};
webappMappings['7091']=webappMappings['7091-44382']={
webappId:    '7091',
documentId:  '139901',
internalId:  '44382',
customField: 'align:left;language:de;country:DE;'
};
webappMappings['7091']=webappMappings['7091-44382']={
webappId:    '7091',
documentId:  '39994',
internalId:  '44382',
customField: 'align:left;language:de;country:DE;'
};
webappMappings['7091']=webappMappings['7091-45581']={
webappId:    '7091',
documentId:  '130701',
internalId:  '45581',
customField: 'align:left;language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41663',
internalId:  '',
customField: '20110303-132407'
};
webappMappings['1008']=webappMappings['1008-45674907']={
webappId:    '1008',
documentId:  '41436',
internalId:  '45674907',
customField: 'de:DE::;language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41872',
internalId:  '',
customField: '20090109-002415'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41287',
internalId:  '',
customField: '20110814-122832'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '67301',
internalId:  '',
customField: '20120122-190250'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41436',
internalId:  '',
customField: '20110508-145657'
};
webappMappings['7091']=webappMappings['7091-35568']={
webappId:    '7091',
documentId:  '122501',
internalId:  '35568',
customField: 'align:left;language:de;country:DE;'
};
webappMappings['7091']=webappMappings['7091-44382']={
webappId:    '7091',
documentId:  '41796',
internalId:  '44382',
customField: 'align:left;language:de;country:DE;'
};
webappMappings['7091']=webappMappings['7091-44382']={
webappId:    '7091',
documentId:  '41118',
internalId:  '44382',
customField: 'align:left;language:de;country:DE;'
};
webappMappings['7091']=webappMappings['7091-44382']={
webappId:    '7091',
documentId:  '41436',
internalId:  '44382',
customField: 'align:left;language:de;country:DE;'
};
webappMappings['7091']=webappMappings['7091-44382']={
webappId:    '7091',
documentId:  '122501',
internalId:  '44382',
customField: 'align:left;language:de;country:DE;'
};
webappMappings['7091']=webappMappings['7091-44382']={
webappId:    '7091',
documentId:  '67301',
internalId:  '44382',
customField: 'align:left;language:de;country:DE;'
};
webappMappings['7091']=webappMappings['7091-44382']={
webappId:    '7091',
documentId:  '130701',
internalId:  '44382',
customField: 'align:left;language:de;country:DE;'
};
webappMappings['7091']=webappMappings['7091-44382']={
webappId:    '7091',
documentId:  '41663',
internalId:  '44382',
customField: 'align:left;language:de;country:DE;'
};
webappMappings['1007']=webappMappings['1007-12768ce9456']={
webappId:    '1007',
documentId:  '139901',
internalId:  '12768ce9456',
customField: 'g.14tkbvd31.ircr9sovp.1s'
};
webappMappings['7091']=webappMappings['7091-36486']={
webappId:    '7091',
documentId:  '39994',
internalId:  '36486',
customField: 'align:right;language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '130701',
internalId:  '',
customField: '20110303-132731'
};
var canonHostname = 'c4awrk04.aul.t-online.de';
var accountId     = 'ATOIX0IRKAKW';
var companyName   = 'Ferien+im+Haus+Andresen+Koog+an+der+Nordsee';
var htmlTitle	  = '+Ferienhaus%2C+Ferienwohnung%2C+FeWo%2C+Nordsee%2C+Halbinsel+Eiderstedt%2C+Nordfriesland%2C+Nichtraucherhaus%2C+Nichtraucher%2C';
var metaKeywords  = 'Familienfreundlich%2C+Kinderfreundlich%2C+Babyausstattung%2C+Badeurlaub%2C+Fahrradtouren%2CSt+Peter+Ording%2C+Relaxen%2CWickeltisch%2C+Gartenm%C3%B6bel++';
var metaContents  = 'Familien+freundliches+Ferienhaus+mit+2+Ferienwohnungen++mit+Baby+und+Kleinkindausstattung+im+S%C3%BCden+der+Nordsee+Halbinsel+Eiderstedt%2C+gelegen+auf+einem+2400+m%C2%B2+gro%C3%9Fem+Gartengrundst%C3%BCck+im+UNESCO+Weltnaturerbe+Schleswig-Holsteinisches+Wattenmeer%2C+und+nahe+dem+Seebad+St.+Peter-Ording';
					                                                                    
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 */					                                                            

