/* [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','88301',jdecode('Velkommen%2FWillkommen'),jdecode(''),'/88301.html','true',[],''],
	['PAGE','4598',jdecode('Home'),jdecode(''),'/4598.html','true',[],''],
	['PAGE','4655',jdecode('%C3%9Cber+uns'),jdecode(''),'/4655/index.html','true',[ 
		['PAGE','47501',jdecode('Marcel'),jdecode(''),'/4655/47501.html','true',[],''],
		['PAGE','47522',jdecode('Eveline'),jdecode(''),'/4655/47522.html','true',[],''],
		['PAGE','47543',jdecode('Okia'),jdecode(''),'/4655/47543.html','true',[],'']
	],''],
	['PAGE','46201',jdecode('Angebot'),jdecode(''),'/46201/index.html','true',[ 
		['PAGE','45801',jdecode('Blockhaus+%22Nala%22+mit+G%C3%A4stehaus+%22Okia%22'),jdecode(''),'/46201/45801.html','true',[],''],
		['PAGE','4682',jdecode('Bilder+%22Nala%22+und+%22Okia%22'),jdecode(''),'/46201/4682.html','true',[],''],
		['PAGE','45843',jdecode('Wohnung+%22Lykkens-Perle%22'),jdecode(''),'/46201/45843.html','true',[],''],
		['PAGE','87001',jdecode('Bilder+%22Lykkens-Perle%22'),jdecode(''),'/46201/87001.html','true',[],''],
		['PAGE','45864',jdecode('Erweitertes+Angebot'),jdecode(''),'/46201/45864.html','true',[],'']
	],''],
	['PAGE','86201',jdecode('Preise'),jdecode(''),'/86201.html','true',[],''],
	['PAGE','77201',jdecode('Bed+%26+Breakfast'),jdecode(''),'/77201.html','true',[],''],
	['PAGE','4709',jdecode('Anreise'),jdecode(''),'/4709/index.html','true',[ 
		['PAGE','45002',jdecode('Auto'),jdecode(''),'/4709/45002.html','true',[],''],
		['PAGE','45011',jdecode('Autozug'),jdecode(''),'/4709/45011.html','true',[],''],
		['PAGE','45020',jdecode('Zug'),jdecode(''),'/4709/45020.html','true',[],''],
		['PAGE','45029',jdecode('Flugzeug'),jdecode(''),'/4709/45029.html','true',[],''],
		['PAGE','44944',jdecode('Anfahrt'),jdecode(''),'/4709/44944.html','true',[],'']
	],''],
	['PAGE','4736',jdecode('Westj%C3%BCtland'),jdecode(''),'/4736/index.html','true',[ 
		['PAGE','50501',jdecode('Lyngvig+Fyr'),jdecode(''),'/4736/50501.html','true',[],''],
		['PAGE','50522',jdecode('Vindm%C3%B8llepark'),jdecode(''),'/4736/50522.html','true',[],''],
		['PAGE','62201',jdecode('Holmsland+Klit'),jdecode(''),'/4736/62201.html','true',[],''],
		['PAGE','64601',jdecode('Ringk%C3%B8bing'),jdecode(''),'/4736/64601.html','true',[],'']
	],''],
	['PAGE','4790',jdecode('Kontakt'),jdecode(''),'/4790.html','true',[],''],
	['PAGE','4763',jdecode('Aktuelles'),jdecode(''),'/4763.html','true',[],''],
	['PAGE','47585',jdecode('Links'),jdecode(''),'/47585.html','true',[],''],
	['PAGE','96601',jdecode('Fotoalbum'),jdecode(''),'/96601.html','true',[],''],
	['PAGE','81306',jdecode('G%C3%A4stebuch'),jdecode(''),'/81306/index.html','true',[ 
		['PAGE','81301',jdecode('Eintr%C3%A4ge'),jdecode(''),'/81306/81301.html','false',[],'']
	],''],
	['PAGE','100701',jdecode('Blog'),jdecode(''),'/100701.html','true',[],'']];
var siteelementCount=32;
theSitetree.topTemplateName='Sportive';
theSitetree.paletteFamily='F6F6E6';
theSitetree.keyvisualId='2665';
theSitetree.keyvisualName='freizeit1.jpg';
theSitetree.fontsetId='223';
theSitetree.graphicsetId='260';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='F6F6E6';
var localeDef={
  language: 'de',
  country: 'CH'
};
var theTemplate={
				name: 			'Sportive',
				paletteFamily: 	'F6F6E6',
				keyvisualId: 	'2665',
				keyvisualName: 	'freizeit1.jpg',
				fontsetId: 		'223',
				graphicsetId: 	'260',
				contentColor: 	'000000',
				contentBGColor: 'F6F6E6',
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				a_color: 		'F6F6E6',
				b_color: 		'CCCCC0',
				c_color: 		'000000',
				d_color: 		'FFFFFF',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'true',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '88301',
internalId:  '1006',
customField: '1006'
};
webappMappings['2001']=webappMappings['2001-location']={
webappId:    '2001',
documentId:  '44944',
internalId:  'location',
customField: 'language:de;country:CH;isIncluded:false;'
};
webappMappings['1002']=webappMappings['1002-81306abw0x0inxfwz']={
webappId:    '1002',
documentId:  '81306',
internalId:  '81306abw0x0inxfwz',
customField: 'icq=false'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '88301',
internalId:  '',
customField: '20090901-224719'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4598',
internalId:  '',
customField: '20090322-191435'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4655',
internalId:  '',
customField: '20090322-191452'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '47501',
internalId:  '',
customField: '20080113-233228'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '47522',
internalId:  '',
customField: '20080113-233253'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '47543',
internalId:  '',
customField: '20090322-191517'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '46201',
internalId:  '',
customField: '20090322-191627'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45801',
internalId:  '',
customField: '20090322-191656'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4682',
internalId:  '',
customField: '20080115-185246'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45843',
internalId:  '',
customField: '20090322-191739'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '87001',
internalId:  '',
customField: '20080115-185120'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45864',
internalId:  '',
customField: '20080115-191655'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '86201',
internalId:  '',
customField: '20090901-202747'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '77201',
internalId:  '',
customField: '20090322-191802'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4709',
internalId:  '',
customField: '20080113-233812'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45002',
internalId:  '',
customField: '20080113-233937'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45011',
internalId:  '',
customField: '20080115-185434'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45020',
internalId:  '',
customField: '20080115-185545'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45029',
internalId:  '',
customField: '20080115-185640'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44944',
internalId:  '',
customField: '20080113-234156'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4736',
internalId:  '',
customField: '20090322-191825'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '50501',
internalId:  '',
customField: '20061111-141209'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '50522',
internalId:  '',
customField: '20061111-131046'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '62201',
internalId:  '',
customField: '20080126-145103'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '64601',
internalId:  '',
customField: '20061111-113400'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4763',
internalId:  '',
customField: '20090901-225107'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4790',
internalId:  '',
customField: '20061019-085820'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '47585',
internalId:  '',
customField: '20090318-130715'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '81306',
internalId:  '',
customField: '20070907-172011'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '81301',
internalId:  '',
customField: '20070905-211315'
};
webappMappings['7060']=webappMappings['7060-330aee39042b3031a09d7f3468db7c2d']={
webappId:    '7060',
documentId:  '96601',
internalId:  '330aee39042b3031a09d7f3468db7c2d',
customField: 'language:de;country:CH;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '96601',
internalId:  '',
customField: '20090322-184609'
};
webappMappings['7050']=webappMappings['7050-977']={
webappId:    '7050',
documentId:  '100701',
internalId:  '977',
customField: 'language:de;country:CH;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '100701',
internalId:  '',
customField: '20090901-205646'
};
var canonHostname = 'hptworkerdb01b.bluewin.ch';
var accountId     = 'ABW0X0INXFWZ';
var companyName   = 'Einfach+mal+Urlaub+-+Urlaub+mal+einfach';
var htmlTitle	  = 'thut.dk%3A+Einfach+mal+Urlaub+-+Urlaub+mal+einfach';
var metaKeywords  = 'Ferien%2C+Ferien+in+D%C3%A4nemark%2C+D%C3%A4nemark%2C+Blockhaus%2C+Loft-Blockhaus%2C+Westk%C3%BCste%2C+Meer%2C+Nordsee%2C+Eveline%2C+Eveline+Reusser%2C+Marcel%2C+Marcel+Thut%2C+Okia%2C+Nala%2C+Bed++Breakfast%2C+BB%2C+bb';
var metaContents  = 'Ferien+in+D%C3%A4nemark%2C+Loft-Block-G%C3%A4stehaus%2C+Thut%2C+Reusser%2C+Bed++Breakfast%2C+BB%2C+bb';
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) {
	if(__path_prefix__ == "/servlet/CMServeRES" && typeof (changePage) == 'function'){
		changePage(lookup);
		return;
	}
	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();
};
