/* [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','41542',jdecode('Haus+K%C3%B6lfhamm'),jdecode(''),'/41542/home.html','true',[ 
		['PAGE','40376',jdecode('die+Wohnungen'),jdecode(''),'/41542/40376.html','true',[],''],
		['PAGE','40385',jdecode('Wohnung+1'),jdecode(''),'/41542/40385.html','true',[],''],
		['PAGE','40575',jdecode('Wohnung+2'),jdecode(''),'/41542/40575.html','true',[],''],
		['PAGE','40584',jdecode('Wohnung+3'),jdecode(''),'/41542/40584.html','true',[],''],
		['PAGE','40394',jdecode('Wohnung+4'),jdecode(''),'/41542/40394.html','true',[],''],
		['PAGE','41117',jdecode('das+Ferienhaus'),jdecode(''),'/41542/41117.html','true',[],''],
		['PAGE','40612',jdecode('Erdgeschoss'),jdecode(''),'/41542/40612.html','true',[],''],
		['PAGE','41071',jdecode('Dachgeschoss'),jdecode(''),'/41542/41071.html','true',[],''],
		['PAGE','40412',jdecode('Preis+%26+Leistung'),jdecode(''),'/41542/40412.html','true',[],'']
	],''],
	['PAGE','41574',jdecode('Haus+Gl%C3%BCcksklee'),jdecode(''),'/41574/home.html','true',[ 
		['PAGE','41583',jdecode('Wohnung+1'),jdecode(''),'/41574/41583.html','true',[],''],
		['PAGE','41637',jdecode('Wohnung+2'),jdecode(''),'/41574/41637.html','true',[],''],
		['PAGE','41752',jdecode('Preise+und+Leistung'),jdecode(''),'/41574/41752.html','true',[],'']
	],''],
	['PAGE','41558',jdecode('Haus+Ekke+Nekkepenn'),jdecode(''),'/41558/home.html','true',[ 
		['PAGE','41592',jdecode('Wohnung+3'),jdecode(''),'/41558/41592.html','true',[],''],
		['PAGE','41601',jdecode('Wohnung+4'),jdecode(''),'/41558/41601.html','true',[],''],
		['PAGE','41610',jdecode('Wohnung+5'),jdecode(''),'/41558/41610.html','true',[],''],
		['PAGE','41619',jdecode('Wohnung+6'),jdecode(''),'/41558/41619.html','true',[],''],
		['PAGE','41628',jdecode('Wohnung+7'),jdecode(''),'/41558/41628.html','true',[],''],
		['PAGE','41788',jdecode('Preise+und+Leistung'),jdecode(''),'/41558/41788.html','true',[],'']
	],''],
	['PAGE','40657',jdecode('Urlaub+im+Winter'),jdecode(''),'/40657.html','true',[],''],
	['PAGE','41241',jdecode('das+Biikebrennen'),jdecode(''),'/41241/home.html','true',[ 
		['PAGE','41267',jdecode('unser+Biike-Angebot'),jdecode(''),'/41241/41267.html','false',[],'']
	],''],
	['PAGE','40503',jdecode('Kontakt'),jdecode(''),'/40503.html','true',[],''],
	['PAGE','40421',jdecode('Online-Anfrage'),jdecode(''),'/40421.html','true',[],''],
	['PAGE','40491',jdecode('Anfahrt'),jdecode(''),'/40491.html','true',[],''],
	['PAGE','40679',jdecode('Bildergalerie'),jdecode(''),'/40679.html','true',[],''],
	['PAGE','40635',jdecode('Ausflugstipps'),jdecode(''),'/40635.html','true',[],'']];
var siteelementCount=30;
theSitetree.topTemplateName='Saeule';
theSitetree.paletteFamily='FEFDFD';
theSitetree.keyvisualId='10849';
theSitetree.keyvisualName='kv_10849.jpg';
theSitetree.fontsetId='31861';
theSitetree.graphicsetId='13663';
theSitetree.contentColor='353434';
theSitetree.contentBGColor='FEFDFD';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Saeule',
				paletteFamily: 	'FEFDFD',
				keyvisualId: 	'10849',
				keyvisualName: 	'kv_10849.jpg',
				fontsetId: 		'31861',
				graphicsetId: 	'13663',
				contentColor: 	'353434',
				contentBGColor: 'FEFDFD',
				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:     '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: '20120209-093439'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40376',
internalId:  '',
customField: '20111013-195044'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40584',
internalId:  '',
customField: '20111013-195152'
};
webappMappings['2001']=webappMappings['2001-location']={
webappId:    '2001',
documentId:  '40491',
internalId:  'location',
customField: 'language:de;country:DE;isIncluded:false;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40385',
internalId:  '',
customField: '20111013-195109'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40394',
internalId:  '',
customField: '20111226-190445'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40412',
internalId:  '',
customField: '20120129-172915'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40421',
internalId:  '',
customField: '20111014-171521'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40491',
internalId:  '',
customField: '20111024-181752'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40503',
internalId:  '',
customField: '20111014-115808'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40657',
internalId:  '',
customField: '20120129-173430'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40575',
internalId:  '',
customField: '20111013-195130'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40612',
internalId:  '',
customField: '20111013-195515'
};
webappMappings['1008']=webappMappings['1008-66663934']={
webappId:    '1008',
documentId:  '40421',
internalId:  '66663934',
customField: 'de:DE::;language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40635',
internalId:  '',
customField: '20110607-181508'
};
webappMappings['1007']=webappMappings['1007-125eb430554']={
webappId:    '1007',
documentId:  '40679',
internalId:  '125eb430554',
customField: 'g.14nljut6c.2c5eh0gi5h.1s'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40679',
internalId:  '',
customField: '20110102-191813'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41071',
internalId:  '',
customField: '20111013-195543'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41592',
internalId:  '',
customField: '20120205-171033'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41117',
internalId:  '',
customField: '20120106-093158'
};
webappMappings['7091']=webappMappings['7091-61212']={
webappId:    '7091',
documentId:  '39994',
internalId:  '61212',
customField: 'align:left;language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41241',
internalId:  '',
customField: '20120208-212037'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41267',
internalId:  '',
customField: '20110105-182701'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41558',
internalId:  '',
customField: '20120213-183512'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41574',
internalId:  '',
customField: '20120213-183424'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41542',
internalId:  '',
customField: '20111013-195422'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41583',
internalId:  '',
customField: '20120129-170532'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41637',
internalId:  '',
customField: '20111127-213548'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41752',
internalId:  '',
customField: '20111014-180638'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41601',
internalId:  '',
customField: '20120129-171723'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41610',
internalId:  '',
customField: '20111024-181359'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41619',
internalId:  '',
customField: '20111108-093400'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41628',
internalId:  '',
customField: '20120205-171214'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41788',
internalId:  '',
customField: '20111014-181434'
};
webappMappings['7091']=webappMappings['7091-64388']={
webappId:    '7091',
documentId:  '41117',
internalId:  '64388',
customField: 'align:left;language:de;country:DE;'
};
webappMappings['1501']=webappMappings['1501-68413227']={
webappId:    '1501',
documentId:  '39994',
internalId:  '68413227',
customField: '1501'
};
var canonHostname = 'c4awrk02.aul.t-online.de';
var accountId     = 'ATOIX0IRTWV6';
var companyName   = 'Bartels+Ferienwohnungen+St.+Peter-Ording';
var htmlTitle	  = 'Herzlich+Willkommen+in+Bartels+Ferienwohnungen';
var metaKeywords  = 'Haus+K%C3%B6lfhamm%2C+Strand%2C+Kurzentrum%2C+D%C3%BCnentherme%2C+Ferien%2C+Urlaub%2C+Erholung%2C+Angebot%2C+Westk%C3%BCstenpark%2C+Wellness%2C+Westerhever+Leuchtturm%2C+Deich%2C+Ferienwohnung%2C+Ferienhaus%2C+Spielplatz%2C+Kinder%2C+Last+Minute+Angebot%2C+Haus+Ekke+Nekkepenn%2C+Haus+Gl%C3%BCcksklee%2C+N%C3%A4he+Reha+Kliniken%2C+Hund%2C+Hunde%2C+Ortsteil+Ording%2C+Ortsteil+B%C3%B6hl%2C+Bartels+Ferienwohnungen+';
var metaContents  = 'Urlaub+in+St.+Peter-Ording.+Ferienwohnungen+und+Ferienhaus+in+den+Ortsteilen+B%C3%B6hl+und+Ording+.+G%C3%BCnstige+Winterangebote.+Unmittelbare+Strandn%C3%A4he+in+Ording%2C+N%C3%A4he+Reha+Kliniken+in+B%C3%B6hl.+Besuchen+Sie++Bartels+Ferienwohnungen.';
					                                                                    
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 */					                                                            

