/* [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','4639',jdecode('Home'),jdecode(''),'/4639.html','true',[],''],
	['PAGE','9063',jdecode('%C3%9Cber+uns'),jdecode(''),'/9063.html','true',[],''],
	['PAGE','9171',jdecode('Naturheilpraxis'),jdecode(''),'/9171.html','true',[],''],
	['PAGE','51101',jdecode('Fibromyalgie'),jdecode(''),'/51101.html','true',[],''],
	['PAGE','23938',jdecode('Kosmetik'),jdecode(''),'/23938.html','true',[],''],
	['PAGE','91939',jdecode('Gutscheine%2FPreise+++++++++++++++++++++'),jdecode(''),'/91939/index.html','true',[ 
		['PAGE','92080',jdecode('Geschenkgutschein++++++++++++++++++++++%28Folgeseite%29'),jdecode(''),'/91939/92080.html','false',[],'']
	],''],
	['PAGE','55817',jdecode('Aktuell%2FNews'),jdecode(''),'/55817.html','true',[],''],
	['PAGE','9225',jdecode('Kontakt%2FLageplan'),jdecode(''),'/9225/index.html','true',[ 
		['PAGE','53318',jdecode('Kontakt+%28Folgeseite%29'),jdecode(''),'/9225/53318.html','false',[],'']
	],''],
	['PAGE','90951',jdecode('G%C3%A4stebuch'),jdecode(''),'/90951/index.html','true',[ 
		['PAGE','90950',jdecode('Eintr%C3%A4ge'),jdecode(''),'/90951/90950.html','false',[],'']
	],''],
	['PAGE','88475',jdecode('Links'),jdecode(''),'/88475.html','true',[],''],
	['PAGE','92899',jdecode('+'),jdecode(''),'/92899.html','true',[],''],
	['PAGE','92908',jdecode('+'),jdecode(''),'/92908.html','true',[],'']];
var siteelementCount=15;
theSitetree.topTemplateName='Dots';
theSitetree.paletteFamily='E7E9D5';
theSitetree.keyvisualId='431';
theSitetree.keyvisualName='feder.jpg';
theSitetree.fontsetId='43';
theSitetree.graphicsetId='50';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='E7E9D5';
var localeDef={
  language: 'de',
  country: 'CH'
};
var theTemplate={
				name: 			'Dots',
				paletteFamily: 	'E7E9D5',
				keyvisualId: 	'431',
				keyvisualName: 	'feder.jpg',
				fontsetId: 		'43',
				graphicsetId: 	'50',
				contentColor: 	'000000',
				contentBGColor: 'E7E9D5',
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				a_color: 		'E7E9D5',
				b_color: 		'CCCCCC',
				c_color: 		'000000',
				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:  '4639',
internalId:  '1006',
customField: '1006'
};
webappMappings['7008']=webappMappings['7008-5149']={
webappId:    '7008',
documentId:  '9225',
internalId:  '5149',
customField: 'language:de;country:CH;'
};
webappMappings['7008']=webappMappings['7008-5150']={
webappId:    '7008',
documentId:  '91939',
internalId:  '5150',
customField: 'language:de;country:CH;'
};
webappMappings['1002']=webappMappings['1002-90951abw0x0inxs35']={
webappId:    '1002',
documentId:  '90951',
internalId:  '90951abw0x0inxs35',
customField: 'icq=false'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '55817',
internalId:  '',
customField: '20090429-091426'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '9171',
internalId:  '',
customField: '20090429-093214'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '9063',
internalId:  '',
customField: '20090429-093818'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4639',
internalId:  '',
customField: '20071117-150513'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '9225',
internalId:  '',
customField: '20090429-094653'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '90951',
internalId:  '',
customField: '20070113-093640'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '88475',
internalId:  '',
customField: '20090429-095241'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '91939',
internalId:  '',
customField: '20090429-093016'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '23938',
internalId:  '',
customField: '20090429-093119'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '51101',
internalId:  '',
customField: '20090429-093147'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '92080',
internalId:  '',
customField: '20070418-143723'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '53318',
internalId:  '',
customField: '20061212-095855'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '90950',
internalId:  '',
customField: '20070113-184908'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '92899',
internalId:  '',
customField: '20070518-022736'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '92908',
internalId:  '',
customField: '20070518-023500'
};
var canonHostname = 'hptworkerdb01a.bluewin.ch';
var accountId     = 'ABW0X0INXS35';
var companyName   = '';
var htmlTitle	  = 'Natura+Vita+-+Naturheilpraxis+und+Kosmetik+im+Herzen+von+Murten';
var metaKeywords  = 'Natura+Vita+Naturheilpraxis+und+Kosmetik+im+Herzen+von+Murten+f%C3%BCr+Shiatsu+Spezialgebiet+Fibromyalgie+FMS+klassische+Massage+Akupunktur+Ohrkerzen+Schr%C3%B6pfen+Naturheilkunde+Phytotherapie+Bachbl%C3%BCten+Hot+-+Stone+Gesichts+und+Ganzk%C3%B6rpermassage+Gesichtspflege+Gesichtsbehandlung+Akne+Wimpern+f%C3%A4rben+Brauen+zupfen+und+f%C3%A4rben+Haarentfernung+mit+Wachs+R%C3%A4ucherung+Clearing+Haus+und+Wohnung+indianische+R%C3%A4ucherung+Meditation+20%25+Rabatt+auf+die+Erstbehandlung+Naturheilkunde+Kosmetik+Kosmetikinstitut+Sch%C3%B6nheit+Entspannung+Beauty+Wohlbefinden+Wellness+Murten+Kanton+Freiburg+Murtensee+Murtenbieter+Laupen+Anzeiger+Freiburger+Nachrichten+Murtentourismus+Rabatt+Klangmassage+Referenz++Hotel+Le+Vieux+Manoir+au+Lac+Murten+Region+Bern+Freiburg+Seeland+%C3%9Cber+uns+Aktuell+Kontakt+Lageplan+G%C3%A4stebuch+Links+Link+Geschenkgutschein+Geschenidee+Gutschein+Muttertag+Valentinstag+Geburt+Geburtstag+Hochzeit+Abschied+Tod+Sylvia+Eichmann+eidg.+gepr.+Kosmetikerin+Daniel+Probst+Naturarzt+NVS+Shiatsu+Therapeut+SGS+Fibro+Myalgie+Syndrom+R%C3%BCcken+Schulter+Nacken+Med+Medizinische+Massage+Behandlung+Gesundheit+Krankheit+Hilfe+Help+Fit+Herbst+Geschenk+von+Herzen+Kunst+des+Ber%C3%BChrens+Angebot+Verw%C3%B6hnen+Sprechstunde+telsearch+directories+weisse+Seiten+gelbe+Seiten+Telefon+026+670+05+05+wo+wie+was+wann+wer+Adresse+Hauptgasse+17+Therapie+Empfehlung+Stress+Burn+Out+Burnout+suche+Praxis+Prof.+Bauer+Baar+Preise+Preisliste+Behandlung+R%C3%BCcken+Schmerz+Gesundheitsmesse+2008+Laupen+Vortrag+Natura+Vita';
var metaContents  = 'Natura+Vita+Naturheilpraxis+und+Kosmetik+im+Herzen+von+Murten+f%C3%BCr+Shiatsu+Spezialgebiet+Fibromyalgie+FMS+klassische+Massage+Akupunktur+Ohrkerzen+Schr%C3%B6pfen+Naturheilkunde+Phytotherapie+Bachbl%C3%BCten+Hot+-+Stone+Gesichts+und+Ganzk%C3%B6rpermassage+Gesichtspflege+Gesichtsbehandlung+Akne+Wimpern+f%C3%A4rben+Brauen+zupfen+und+f%C3%A4rben+Haarentfernung+mit+Wachs+R%C3%A4ucherung+Clearing+Haus+und+Wohnung+indianische+R%C3%A4ucherung+Meditation+20%25+Rabatt+auf+die+Erstbehandlung+Naturheilkunde+Kosmetik+Kosmetikinstitut+Sch%C3%B6nheit+Entspannung+Beauty+Wohlbefinden+Wellness+Murten+Kanton+Freiburg+Murtensee+Murtenbieter+Laupen+Anzeiger+Freiburger+Nachrichten+Murtentourismus+Rabatt+Klangmassage+Referenz++Hotel+Le+Vieux+Manoir+au+Lac+Murten+Region+Bern+Freiburg+Seeland+%C3%9Cber+uns+Aktuell+Kontakt+Lageplan+G%C3%A4stebuch+Links+Link+Geschenkgutschein+Geschenidee+Gutschein+Muttertag+Valentinstag+Geburt+Geburtstag+Hochzeit+Abschied+Tod+Sylvia+Eichmann+eidg.+gepr.+Kosmetikerin+Daniel+Probst+Naturarzt+NVS+Shiatsu+Therapeut+SGS+Fibro+Myalgie+Syndrom+R%C3%BCcken+Schulter+Nacken+Med+Medizinische+Massage+Behandlung+Gesundheit+Krankheit+Hilfe+Help+Fit+Herbst+Geschenk+von+Herzen+Kunst+des+Ber%C3%BChrens+Angebot+Verw%C3%B6hnen+Sprechstunde+telsearch+directories+weisse+Seiten+gelbe+Seiten+Telefon+026+670+05+05+wo+wie+was+wann+wer+Adresse+Hauptgasse+17+Therapie+Empfehlung+Stress+Burn+Out+Burnout+suche+Praxis+Prof.+Bauer+Baar+Preise+Preisliste+Behandlung+R%C3%BCcken+Schmerz+Gesundheitsmesse+2008+Laupen+Vortrag+Natura+Vita';
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();
};
