/* [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 POS_TARGET=8;
var theSitetree=[ 
	['PAGE','5501',jdecode('Home'),jdecode(''), jdecode('%2F5501%2Findex.html'), 'true',[ 
		['PAGE','26001',jdecode('Portr%C3%A4t'),jdecode(''), jdecode('%2F5501%2F26001.html'), 'true',[],'',''],
		['PAGE','5552',jdecode('Team'),jdecode(''), jdecode('%2F5501%2F5552.html'), 'true',[],'','']
	],'',''],
	['PAGE','5720',jdecode('Kontakt'),jdecode(''), jdecode('%2F5720%2Findex.html'), 'true',[ 
		['PAGE','41801',jdecode('Kontaktformular'),jdecode(''), jdecode('%2F5720%2F41801.html'), 'true',[],'','']
	],'',''],
	['PAGE','28901',jdecode('Dienstleistungen'),jdecode(''), jdecode('%2F28901.html'), 'true',[],'',''],
	['PAGE','5573',jdecode('Forstarbeiten'),jdecode(''), jdecode('%2F5573.html'), 'true',[],'',''],
	['PAGE','111812',jdecode('Forstschutz'),jdecode(''), jdecode('%2F111812.html'), 'true',[],'',''],
	['PAGE','5594',jdecode('Gartenarbeiten+%2F+Gartenpflege'),jdecode(''), jdecode('%2F5594.html'), 'true',[],'',''],
	['PAGE','5615',jdecode('Gartenm%C3%B6bel'),jdecode(''), jdecode('%2F5615%2Findex.html'), 'true',[ 
		['PAGE','121612',jdecode('Spezialanfertigungen'),jdecode(''), jdecode('%2F5615%2F121612.html'), 'true',[],'','']
	],'',''],
	['PAGE','5636',jdecode('Spielger%C3%A4te'),jdecode(''), jdecode('%2F5636.html'), 'true',[],'',''],
	['PAGE','47401',jdecode('Pergolalatten+Pf%C3%A4hle'),jdecode(''), jdecode('%2F47401.html'), 'true',[],'',''],
	['PAGE','90512',jdecode('Brennholz'),jdecode(''), jdecode('%2F90512.html'), 'true',[],'',''],
	['PAGE','5657',jdecode('Pflanzgarten'),jdecode(''), jdecode('%2F5657%2Findex.html'), 'true',[ 
		['PAGE','54601',jdecode('Preis-+und+Bestellliste'),jdecode(''), jdecode('%2F5657%2F54601.html'), 'true',[],'',''],
		['PAGE','5678',jdecode('Standort'),jdecode(''), jdecode('%2F5657%2F5678.html'), 'true',[],'','']
	],'',''],
	['PAGE','5699',jdecode('Aktuell'),jdecode(''), jdecode('%2F5699%2Findex.html'), 'true',[ 
		['PAGE','56401',jdecode('Presse'),jdecode(''), jdecode('%2F5699%2F56401.html'), 'true',[],'','']
	],'',''],
	['PAGE','24801',jdecode('Links'),jdecode(''), jdecode('%2F24801.html'), 'true',[],'',''],
	['PAGE','45501',jdecode('Fotos'),jdecode(''), jdecode('%2F45501.html'), 'true',[],'',''],
	['PAGE','69012',jdecode('Mitglieder+Interner+Bereich'),jdecode(''), jdecode('%2F69012%2Findex.html'), 'true',[ 
		['PAGE','74512',jdecode('Forstrevier+R-W-D'),jdecode(''), jdecode('%2F69012%2F74512.html'), 'true',[],'',''],
		['PAGE','70012',jdecode('PV-Scheidegg'),jdecode(''), jdecode('%2F69012%2F70012.html'), 'true',[],'',''],
		['PAGE','69612',jdecode('PV-Bachtel'),jdecode(''), jdecode('%2F69012%2F69612.html'), 'true',[],'',''],
		['PAGE','74533',jdecode('PV-Laupen-G%C3%BCntisberg'),jdecode(''), jdecode('%2F69012%2F74533.html'), 'true',[],'',''],
		['PAGE','74554',jdecode('PV-R%C3%BCti'),jdecode(''), jdecode('%2F69012%2F74554.html'), 'true',[],'',''],
		['PAGE','74575',jdecode('Privatwald+D%C3%BCrnten'),jdecode(''), jdecode('%2F69012%2F74575.html'), 'true',[],'','']
	],'',''],
	['PAGE','5741',jdecode('Suche'),jdecode(''), jdecode('%2F5741.html'), 'true',[],'','']];
var siteelementCount=29;
theSitetree.topTemplateName='Delta';
theSitetree.paletteFamily='024405';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='10440';
theSitetree.graphicsetId='10803';
theSitetree.contentColor='FFFFFF';
theSitetree.contentBGColor='024405';
var localeDef={
  language: 'de',
  country: 'CH'
};
var prodDef={
  wl_name: 'hostpoint',
  product: 'WSCSYSSSSLYTC21Y'
};
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Delta',
				paletteFamily: 	'024405',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'10440',
				graphicsetId: 	'10803',
				contentColor: 	'FFFFFF',
				contentBGColor: '024405',
				a_color: 		'327435',
				b_color: 		'226425',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'000000',
				f_color: 		'000000',
				hasCustomLogo: 	'true',
				contentFontFace:'Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45501',
internalId:  '',
customField: '20111026-070816'
};
webappMappings['7008']=webappMappings['7008-2033']={
webappId:    '7008',
documentId:  '41801',
internalId:  '2033',
customField: 'language:de;country:CH;'
};
webappMappings['8002']=webappMappings['8002-search']={
webappId:    '8002',
documentId:  '5741',
internalId:  'search',
customField: 'language:de;country:CH;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5501',
internalId:  '',
customField: '20120213-160114'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5552',
internalId:  '',
customField: '20111220-155142'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5615',
internalId:  '',
customField: '20111117-073035'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5657',
internalId:  '',
customField: '20120213-161224'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5678',
internalId:  '',
customField: '20100726-091306'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5720',
internalId:  '',
customField: '20101007-062541'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5573',
internalId:  '',
customField: '20110616-125221'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5594',
internalId:  '',
customField: '20101005-060429'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5636',
internalId:  '',
customField: '20111117-072540'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5699',
internalId:  '',
customField: '20120213-160003'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5741',
internalId:  '',
customField: '20100923-132601'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '24801',
internalId:  '',
customField: '20110617-061242'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '26001',
internalId:  '',
customField: '20100727-090828'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '28901',
internalId:  '',
customField: '20101005-060924'
};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '5501',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '111812',
internalId:  '',
customField: '20110829-072953'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '121612',
internalId:  '',
customField: '20111215-100704'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '74575',
internalId:  '',
customField: '20110623-091310'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '74554',
internalId:  '',
customField: '20110623-085417'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '74533',
internalId:  '',
customField: '20110623-085341'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '74512',
internalId:  '',
customField: '20111215-101534'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '70012',
internalId:  '',
customField: '20120109-143701'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '69612',
internalId:  '',
customField: '20120109-143630'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '69012',
internalId:  '',
customField: '20111117-081715'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '90512',
internalId:  '',
customField: '20111116-080939'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '56401',
internalId:  '',
customField: '20110617-061717'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '54601',
internalId:  '',
customField: '20120220-081527'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '47401',
internalId:  '',
customField: '20111117-072817'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41801',
internalId:  '',
customField: '20100727-091754'
};
var webAppHostname = 'cgi.webomat.ch:80';
var canonHostname = 'webomat02.hostpoint.ch';
var accountId     = 'AHP340INVA40';
var companyName   = 'Forstrevier+R%C3%BCti-Wald-D%C3%BCrnten';
var htmlTitle	  = 'Forstrevier+R%C3%BCti-Wald-D%C3%BCrnten';
var metaKeywords  = 'Forstrevier%2C+R%C3%BCti-Wald-D%C3%BCrnten%2C+Forstarbeiten%2CGartenarbeiten+Gartenpflege+Gartenholzerei%2C+Gartenunterhalt%2C+F%C3%A4llarbeiten%2C+Kronenschnitte%2C+Spezialholzereien%2C+Wildpflanzen%2C+Waldpflanzen%2C+Forstgarten%2C+Pflanzgarten%2C+Spielpl%C3%A4tze%2C+Spielger%C3%A4te%2C+Klettert%C3%BCrme%2C+Gartentische%2C+B%C3%A4nke%2C+Bank+mit+Lehne%2C+Gartenm%C3%B6bel%2C+Pergola%2C+Pergolen%2C+Holzhandel%2C+Brennholz%2C+Schnitzelholz%2C+Bachverbauungen%2C+Gew%C3%A4sserarbeiten%2C+Eiche%2C+Robinie%2C+FSC%2C+Massivkonstruktionen%2C+Walter+Hess%2C+Thomas+Mauchle%2C+Revierf%C3%B6rster%2C+Grundtal%2C+T%C3%BCfentobel%2C+Tiefentobel%2C+R%C3%BCtistrasse+80%2C+Barenbergstrasse%2C+Felsr%C3%A4umungen%2C+Weihnachtsmarkt%2C+R%C3%BCti%2C+Wald%2C+D%C3%BCrnten%2C+Christbaumverkauf%2C+Schaukel%2C+Rutschbahnen%2C+Wippen%2C+Balkenschaueln%2C+Scheitst%C3%B6cke%2C+Spaltst%C3%B6cke%2C+Finnenkerzen%2C+Rundholz+in+Rinde%2C+Rundholz+ohne+Splint%2C+Feuerstellen%2C+Rasen+m%C3%A4hen%2C+Plattenwege%2C+Holzsperren%2C+B%C3%A4che%2C+Zertifizierungen%2C+F%C3%B6rster%2C+Forstwart%2C+055+240+42+29%2C+Brennholz';
var metaContents  = 'Forstrevier%2C+R%C3%BCti-Wald-D%C3%BCrnten%2C+Forstarbeiten%2C+Gartenarbeiten%2C+Gartenholzerei%2C+Gartenpflege%2C+Gartenunterhalt%2C+F%C3%A4llarbeiten%2C+Kronenschnitte%2C+Spezialholzereien%2C+Wildpflanzen%2C+Waldpflanzen%2C+Forstgarten%2C+Pflanzgarten%2C+Spielpl%C3%A4tze%2C+Spielger%C3%A4te%2C+Gartentische%2C+Gartenm%C3%B6bel%2C+Pergola%2C+Pergolen%2C+B%C3%A4nke%2C+Holzhandel%2C+Brennholz%2C+Brennholzschnitzel%2C+Schnitzelholz%2C+Bachverbauungen%2C+Gew%C3%A4sserarbeiten%2C+Eiche%2C+Robinie%2C+FSC%2C+WalterHess%2C+Thomas+Mauchle%2C+Revierf%C3%B6rster%2C+Grundtal%2C+T%C3%BCfentobel%2C+Tiefentobel%2C+R%C3%BCtistrasse+80%2C+Barenbergstrasse%2C+Felsr%C3%A4umungen%2C+Weihnachtsmarkt%2C+R%C3%BCti%2C+Christbaumverkauf%2C+Schaukel%2C+Rutschbahnen%2C+Wippen%2C+Balkenschaukeln+%2CScheitst%C3%B6cke%2C+Spaltst%C3%B6cke%2C+Finnenkerzen%2C+Rundholz+%2Cin+Rinde%2C+Rundholz%2C+ohne+Splint%2C+Feuerstellen%2C+Rasen+m%C3%A4hen%2C+Plattenwege%2C+Holzsperren%2C+B%C3%A4che%2C+Zertifizierungen%2C+F%C3%B6rster%2C+Forstwart%2C+FRWD%2C+F%C3%B6rster%2C+Forstwart%2C+055+240+42+29';
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();
};

