/* [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','1513',jdecode('HOME'),jdecode(''),'/1513/index.html','true',[ 
		['PAGE','359514',jdecode('Wir+%C3%BCber+uns'),jdecode(''),'/1513/359514.html','true',[],'','']
	],'',''],
	['PAGE','565601',jdecode('GARTENBILDER'),jdecode(''),'/565601.html','true',[],'',''],
	['PAGE','444701',jdecode('BONSAI-+SCHALEN+KB'),jdecode(''),'/444701/index.html','true',[ 
		['PAGE','428501',jdecode('1+freie+Formen+2008'),jdecode(''),'/444701/428501.html','true',[],'',''],
		['PAGE','768501',jdecode('1+freie+Formen+2009'),jdecode(''),'/444701/768501.html','true',[],'',''],
		['PAGE','873612',jdecode('1+freie+Formen+2010'),jdecode(''),'/444701/873612.html','true',[],'',''],
		['PAGE','443501',jdecode('2+Waldschalen+%26+Tabletts+2008'),jdecode(''),'/444701/443501.html','true',[],'',''],
		['PAGE','801001',jdecode('2+Waldschalen+%26+Tabletts+2009'),jdecode(''),'/444701/801001.html','true',[],'',''],
		['PAGE','873712',jdecode('2+Waldschalen+%26+Tabletts+2010'),jdecode(''),'/444701/873712.html','true',[],'',''],
		['PAGE','448101',jdecode('3+runde+Schalen+2008'),jdecode(''),'/444701/448101.html','true',[],'',''],
		['PAGE','774601',jdecode('3+runde+Schalen+2009'),jdecode(''),'/444701/774601.html','true',[],'',''],
		['PAGE','873733',jdecode('3+runde+Schalen+2010'),jdecode(''),'/444701/873733.html','true',[],'',''],
		['PAGE','455001',jdecode('4+Mondschalen+2008'),jdecode(''),'/444701/455001.html','true',[],'',''],
		['PAGE','765001',jdecode('4+Mondschalen+2009'),jdecode(''),'/444701/765001.html','true',[],'',''],
		['PAGE','873754',jdecode('4+Mondschalen+2010'),jdecode(''),'/444701/873754.html','true',[],'',''],
		['PAGE','460701',jdecode('5+Mini-+Schalen'),jdecode(''),'/444701/460701.html','true',[],'',''],
		['PAGE','468301',jdecode('6+Felsenschalen+2008'),jdecode(''),'/444701/468301.html','true',[],'',''],
		['PAGE','802501',jdecode('6+Felsenschalen+2009'),jdecode(''),'/444701/802501.html','true',[],'',''],
		['PAGE','873775',jdecode('6+Felsenschalen+2010'),jdecode(''),'/444701/873775.html','true',[],'',''],
		['PAGE','434401',jdecode('7+Mame+-+Beistellschalen'),jdecode(''),'/444701/434401.html','true',[],'',''],
		['PAGE','548201',jdecode('8+Pflanzsteine'),jdecode(''),'/444701/548201.html','true',[],'',''],
		['PAGE','740701',jdecode('9+Landschaftsschalen+2008+%2F+2009'),jdecode(''),'/444701/740701.html','true',[],'',''],
		['PAGE','876412',jdecode('9+Landschaftsschalen+2010'),jdecode(''),'/444701/876412.html','true',[],'',''],
		['PAGE','742401',jdecode('10+Kaskadenschalen+2008+%2F+2009'),jdecode(''),'/444701/742401.html','true',[],'',''],
		['PAGE','876433',jdecode('10+Kaskadenschalen+2010+-+2011+'),jdecode(''),'/444701/876433.html','true',[],'',''],
		['PAGE','769401',jdecode('11+ovale+Schalen+2008+%2F+2009'),jdecode(''),'/444701/769401.html','true',[],'',''],
		['PAGE','876912',jdecode('11+ovale+Schalen+2011'),jdecode(''),'/444701/876912.html','true',[],'',''],
		['PAGE','769422',jdecode('12+rechteckige+Schalen+2007+bis+2009'),jdecode(''),'/444701/769422.html','true',[],'',''],
		['PAGE','877212',jdecode('12+rechteckige+Schalen+2010'),jdecode(''),'/444701/877212.html','true',[],'',''],
		['PAGE','772601',jdecode('13+viereckige+Schalen+2009'),jdecode(''),'/444701/772601.html','true',[],'',''],
		['PAGE','877512',jdecode('13+viereckige+Schalen+2010'),jdecode(''),'/444701/877512.html','true',[],'',''],
		['PAGE','812301',jdecode('14+Raku-+Bonsaischalen+2009'),jdecode(''),'/444701/812301.html','true',[],'',''],
		['PAGE','873796',jdecode('14+Raku-+Bonsaischalen+2010'),jdecode(''),'/444701/873796.html','true',[],'',''],
		['PAGE','1009712',jdecode('15+Bonsaitische'),jdecode(''),'/444701/1009712.html','true',[],'','']
	],'',''],
	['PAGE','860712',jdecode('ORCHIDEEN-+SCHALEN+KB'),jdecode(''),'/860712/index.html','true',[ 
		['PAGE','846012',jdecode('Orchideen-+Schalen+2009+-+2010'),jdecode(''),'/860712/846012.html','true',[],'','']
	],'',''],
	['PAGE','855712',jdecode('KERAMIKARBEITEN'),jdecode(''),'/855712.html','true',[],'',''],
	['PAGE','878512',jdecode('KUNDENARBEITEN'),jdecode(''),'/878512.html','true',[],'',''],
	['PAGE','667401',jdecode('VERKAUFTE+SCHALEN+KB'),jdecode(''),'/667401/index.html','true',[ 
		['PAGE','524201',jdecode('Verkaufte+Schalen+1'),jdecode(''),'/667401/524201.html','true',[],'',''],
		['PAGE','666101',jdecode('Verkaufte+Schalen+2'),jdecode(''),'/667401/666101.html','true',[],'','']
	],'',''],
	['PAGE','828401',jdecode('SCHALEN+Daniel+Br%C3%BCgger'),jdecode(''),'/828401.html','true',[],'',''],
	['PAGE','254160',jdecode('KB+-+OUTDOOR+-+LAUB'),jdecode(''),'/254160/index.html','true',[ 
		['PAGE','364491',jdecode('KB+Outdoor+Laub++Acer+1'),jdecode(''),'/254160/364491.html','true',[],'',''],
		['PAGE','387435',jdecode('KB+Outdoor+Laub++Acer+2'),jdecode(''),'/254160/387435.html','true',[],'',''],
		['PAGE','606801',jdecode('KB+Outdoor+Laub++Acer+3'),jdecode(''),'/254160/606801.html','true',[],'',''],
		['PAGE','1027312',jdecode('KB+Outdoor+Laub+Alnus'),jdecode(''),'/254160/1027312.html','true',[],'',''],
		['PAGE','1049112',jdecode('KB+Outddor+Laub+Amelanchier'),jdecode(''),'/254160/1049112.html','true',[],'',''],
		['PAGE','643801',jdecode('KB+Outdoor+Laub+Azalea'),jdecode(''),'/254160/643801.html','true',[],'',''],
		['PAGE','364500',jdecode('KB+Outdoor+Laub+Betula'),jdecode(''),'/254160/364500.html','true',[],'',''],
		['PAGE','364509',jdecode('KB+Outdoor+Laub+Berberis'),jdecode(''),'/254160/364509.html','true',[],'',''],
		['PAGE','694401',jdecode('KB+Outdoor+Laub+Buddleja'),jdecode(''),'/254160/694401.html','true',[],'',''],
		['PAGE','254187',jdecode('KB+Outdoor+Laub+Buxus+1'),jdecode(''),'/254160/254187.html','true',[],'',''],
		['PAGE','380502',jdecode('KB+Outdoor+Laub+Buxus+2'),jdecode(''),'/254160/380502.html','true',[],'',''],
		['PAGE','880612',jdecode('KB+Outdoor+Laub+Buxus+3'),jdecode(''),'/254160/880612.html','true',[],'',''],
		['PAGE','697201',jdecode('+KB+Outdoor+Laub+Camelia'),jdecode(''),'/254160/697201.html','true',[],'',''],
		['PAGE','420101',jdecode('KB+Outdoor+Laub+Carpinus'),jdecode(''),'/254160/420101.html','true',[],'',''],
		['PAGE','594001',jdecode('KB+Outdoor+Laub+Chaenomeles'),jdecode(''),'/254160/594001.html','true',[],'',''],
		['PAGE','928412',jdecode('KB+Outdoor+Laub+Cornus'),jdecode(''),'/254160/928412.html','true',[],'',''],
		['PAGE','534901',jdecode('KB+Outdoor+Laub+Corylus'),jdecode(''),'/254160/534901.html','true',[],'',''],
		['PAGE','364518',jdecode('KB+Outdoor+Laub+Cotoneaster++'),jdecode(''),'/254160/364518.html','true',[],'',''],
		['PAGE','900712',jdecode('KB+Outdoor+Laub+Crategus'),jdecode(''),'/254160/900712.html','true',[],'',''],
		['PAGE','594022',jdecode('KB+Outdoor+Laub+Cotinus'),jdecode(''),'/254160/594022.html','true',[],'',''],
		['PAGE','1040312',jdecode('KB+Outdoor+Laub+Cytisus'),jdecode(''),'/254160/1040312.html','true',[],'',''],
		['PAGE','373829',jdecode('KB+Outdoor+Laub+Euonimus'),jdecode(''),'/254160/373829.html','true',[],'',''],
		['PAGE','373932',jdecode('KB+Outdoor+Laub+Fagus'),jdecode(''),'/254160/373932.html','true',[],'',''],
		['PAGE','729301',jdecode('KB+Outdoor+Laub+Forsythia'),jdecode(''),'/254160/729301.html','true',[],'',''],
		['PAGE','373509',jdecode('KB+Outdoor+Laub+Fraxinus'),jdecode(''),'/254160/373509.html','true',[],'',''],
		['PAGE','364536',jdecode('KB+Outdoor+Laub+Hedera'),jdecode(''),'/254160/364536.html','true',[],'',''],
		['PAGE','894012',jdecode('KB+Outdoor+Laub+Hibiscus'),jdecode(''),'/254160/894012.html','true',[],'',''],
		['PAGE','632801',jdecode('KB+Outdoor+Laub+Juglans'),jdecode(''),'/254160/632801.html','true',[],'',''],
		['PAGE','980512',jdecode('KB+Outdoor+Laub+Lagerstroemia'),jdecode(''),'/254160/980512.html','true',[],'',''],
		['PAGE','888412',jdecode('KB+Outdoor+Laub+Ligustrum'),jdecode(''),'/254160/888412.html','true',[],'',''],
		['PAGE','358147',jdecode('KB+Outdoor+Laub+Lonicera+1'),jdecode(''),'/254160/358147.html','true',[],'',''],
		['PAGE','687001',jdecode('KB+Outdoor+Laub+Lonicera+2'),jdecode(''),'/254160/687001.html','true',[],'',''],
		['PAGE','931412',jdecode('KB+Outdoor+Laub+Magnolia'),jdecode(''),'/254160/931412.html','true',[],'',''],
		['PAGE','367713',jdecode('KB+Outdoor+Laub+Malus'),jdecode(''),'/254160/367713.html','true',[],'',''],
		['PAGE','372581',jdecode('KB+Outdoor+Laub+Parthenocissus'),jdecode(''),'/254160/372581.html','true',[],'',''],
		['PAGE','1079712',jdecode('KB+Outdoor+Laub+Philadelphus'),jdecode(''),'/254160/1079712.html','true',[],'',''],
		['PAGE','372572',jdecode('KB+Outdoor+Laub+Photinia'),jdecode(''),'/254160/372572.html','true',[],'',''],
		['PAGE','691301',jdecode('KB+Outdoor+Laub+Pieris'),jdecode(''),'/254160/691301.html','true',[],'',''],
		['PAGE','606101',jdecode('KB+Outdoor+Laub+Poncirus'),jdecode(''),'/254160/606101.html','true',[],'',''],
		['PAGE','364554',jdecode('KB+Outdoor+Laub+Prunus+1'),jdecode(''),'/254160/364554.html','true',[],'',''],
		['PAGE','1015212',jdecode('KB+Outdoor+Laub+Prunus+2'),jdecode(''),'/254160/1015212.html','true',[],'',''],
		['PAGE','364545',jdecode('KB+Outdoor+Laub+Pyracantha'),jdecode(''),'/254160/364545.html','true',[],'',''],
		['PAGE','364563',jdecode('KB+Outdoor+Laub+Rhododendron'),jdecode(''),'/254160/364563.html','true',[],'',''],
		['PAGE','458101',jdecode('KB+Outdoor+Laub+Robinia'),jdecode(''),'/254160/458101.html','true',[],'',''],
		['PAGE','555401',jdecode('KB+Outdoor+Laub+Salix'),jdecode(''),'/254160/555401.html','true',[],'',''],
		['PAGE','521301',jdecode('KB+Outdoor+Laub+Sambucus'),jdecode(''),'/254160/521301.html','true',[],'',''],
		['PAGE','366634',jdecode('KB+Outdoor+Laub+Sorbus'),jdecode(''),'/254160/366634.html','true',[],'',''],
		['PAGE','624601',jdecode('KB+Outdoor+Laub+Spirea'),jdecode(''),'/254160/624601.html','true',[],'',''],
		['PAGE','372421',jdecode('KB+Outdoor+Laub+Staphylea'),jdecode(''),'/254160/372421.html','true',[],'',''],
		['PAGE','422701',jdecode('KB+Outdoor+Laub+Tilia'),jdecode(''),'/254160/422701.html','true',[],'',''],
		['PAGE','573201',jdecode('KB+Outdoor+Laub+Ulmus'),jdecode(''),'/254160/573201.html','true',[],'',''],
		['PAGE','1074412',jdecode('KB+Outdoor+Laub+Vitis'),jdecode(''),'/254160/1074412.html','true',[],'',''],
		['PAGE','372835',jdecode('KB+Outdoor+Laub+Weigela'),jdecode(''),'/254160/372835.html','true',[],'',''],
		['PAGE','750001',jdecode('KB+Outdoor+Laub+Wisteria'),jdecode(''),'/254160/750001.html','true',[],'',''],
		['PAGE','640801',jdecode('KB+Outdoor+Laub+Zelkova'),jdecode(''),'/254160/640801.html','true',[],'','']
	],'',''],
	['PAGE','635801',jdecode('KB+-+OUTDOOR+-+NADEL'),jdecode(''),'/635801/index.html','true',[ 
		['PAGE','363946',jdecode('KB+Outdoor+Nadel+Abies+1'),jdecode(''),'/635801/363946.html','true',[],'',''],
		['PAGE','416801',jdecode('KB+Outdoor+Nadel+Abies+2'),jdecode(''),'/635801/416801.html','true',[],'',''],
		['PAGE','387260',jdecode('KB+Outdoor+Nadel+Cedrus'),jdecode(''),'/635801/387260.html','true',[],'',''],
		['PAGE','416301',jdecode('KB+Outdoor+Nadel+Cryptomeria'),jdecode(''),'/635801/416301.html','true',[],'',''],
		['PAGE','1021512',jdecode('KB+Outdoor+Nadel+Cupressus'),jdecode(''),'/635801/1021512.html','true',[],'',''],
		['PAGE','363687',jdecode('KB+Outdoor+Nadel+Chamaecyparis+1'),jdecode(''),'/635801/363687.html','true',[],'',''],
		['PAGE','672801',jdecode('KB+Outdoor+Nadel+Chamaecyparis+2'),jdecode(''),'/635801/672801.html','true',[],'',''],
		['PAGE','357253',jdecode('KB+Outdoor+Nadel+Ginkgo'),jdecode(''),'/635801/357253.html','true',[],'',''],
		['PAGE','367015',jdecode('KB+Outdoor+Nadel+Juniperus+1'),jdecode(''),'/635801/367015.html','true',[],'',''],
		['PAGE','643301',jdecode('KB+Outdoor+Nadel+Juniperus+2'),jdecode(''),'/635801/643301.html','true',[],'',''],
		['PAGE','374237',jdecode('KB+Outdoor+Nadel+Larix+1'),jdecode(''),'/635801/374237.html','true',[],'',''],
		['PAGE','385713',jdecode('KB+Outdoor+Nadel+Larix++2'),jdecode(''),'/635801/385713.html','true',[],'',''],
		['PAGE','915212',jdecode('KB+Outdoor++Nadel+Metasequoia'),jdecode(''),'/635801/915212.html','true',[],'',''],
		['PAGE','355809',jdecode('KB+Outdoor+Nadel+Picea+1'),jdecode(''),'/635801/355809.html','true',[],'',''],
		['PAGE','388150',jdecode('KB+Outdoor+Nadel+Picea+2'),jdecode(''),'/635801/388150.html','true',[],'',''],
		['PAGE','366793',jdecode('KB+Outdoor+Nadel+Pinus+1'),jdecode(''),'/635801/366793.html','true',[],'',''],
		['PAGE','438222',jdecode('KB+Outdoor+Nadel+Pinus+2'),jdecode(''),'/635801/438222.html','true',[],'',''],
		['PAGE','658201',jdecode('KB+Outdoor+Nadel+Pseudolarix'),jdecode(''),'/635801/658201.html','true',[],'',''],
		['PAGE','984112',jdecode('KB+Outdoor+Nadel+Sequoia'),jdecode(''),'/635801/984112.html','true',[],'',''],
		['PAGE','915233',jdecode('KB+Outdoor+Nadel++Sequoiadendron'),jdecode(''),'/635801/915233.html','true',[],'',''],
		['PAGE','363159',jdecode('KB+Outdoor+Nadel+Taxus'),jdecode(''),'/635801/363159.html','true',[],'',''],
		['PAGE','363387',jdecode('KB+Outdoor+Nadel+Thuja'),jdecode(''),'/635801/363387.html','true',[],'',''],
		['PAGE','666501',jdecode('KB+Outdoor+Nadel+Tsuga'),jdecode(''),'/635801/666501.html','true',[],'','']
	],'',''],
	['PAGE','427401',jdecode('KB+-+BONSAI+-+INDOOR'),jdecode(''),'/427401/index.html','true',[ 
		['PAGE','980812',jdecode('KB+Indoor+diverse+1'),jdecode(''),'/427401/980812.html','true',[],'',''],
		['PAGE','368520',jdecode('KB+Indoor+diverse+2'),jdecode(''),'/427401/368520.html','true',[],'',''],
		['PAGE','384084',jdecode('KB+Indoor+diverse+3'),jdecode(''),'/427401/384084.html','true',[],'','']
	],'',''],
	['PAGE','636401',jdecode('SPEZIELLE+GESTALTUNGEN'),jdecode(''),'/636401/index.html','true',[ 
		['PAGE','386756',jdecode('Spezielle+Gestaltungen+1'),jdecode(''),'/636401/386756.html','true',[],'','']
	],'',''],
	['PAGE','1081812',jdecode('SEMPERVIVUM'),jdecode(''),'/1081812.html','true',[],'',''],
	['PAGE','1101423',jdecode('PALMEN'),jdecode(''),'/1101423/index.html','true',[ 
		['PAGE','422301',jdecode('Palmen+1'),jdecode(''),'/1101423/422301.html','true',[],'',''],
		['PAGE','1101444',jdecode('Palmen+2'),jdecode(''),'/1101423/1101444.html','true',[],'',''],
		['PAGE','1105923',jdecode('Palmen+3'),jdecode(''),'/1101423/1105923.html','true',[],'','']
	],'',''],
	['PAGE','630001',jdecode('FORMGEH%C3%96LZE'),jdecode(''),'/630001.html','true',[],'',''],
	['PAGE','381476',jdecode('CHINA-+DEKO-ARTIKEL'),jdecode(''),'/381476.html','true',[],'',''],
	['PAGE','250078',jdecode('UNSERE+MITBEWOHNER'),jdecode(''),'/250078/index.html','true',[ 
		['PAGE','264522',jdecode('Hund'),jdecode(''),'/250078/264522.html','true',[],'',''],
		['PAGE','264815',jdecode('Katzen'),jdecode(''),'/250078/264815.html','true',[],'','']
	],'',''],
	['PAGE','810801',jdecode('RAKU+Ofenbau'),jdecode(''),'/810801.html','true',[],'',''],
	['PAGE','8702',jdecode('G%C3%84STEBUCH'),jdecode(''),'/8702/index.html','true',[ 
		['PAGE','8703',jdecode('Eintr%C3%A4ge'),jdecode(''),'/8702/8703.html','false',[],'','']
	],'',''],
	['PAGE','107704',jdecode('LINKS'),jdecode(''),'/107704.html','true',[],'',''],
	['PAGE','1828',jdecode('KONTAKT'),jdecode(''),'/1828/index.html','true',[ 
		['PAGE','236166',jdecode('Kontakt+%28Form+followup+page%29'),jdecode(''),'/1828/236166.html','false',[],'','']
	],'',''],
	['PAGE','21757',jdecode('IHR+WEG+ZU+UNS'),jdecode(''),'/21757/index.html','true',[ 
		['PAGE','21722',jdecode('Anfahrt'),jdecode(''),'/21757/21722.html','true',[],'',''],
		['PAGE','34628',jdecode('Verkauf+%28Form+followup+page%29'),jdecode(''),'/21757/34628.html','false',[],'','']
	],'','']];
var siteelementCount=148;
theSitetree.topTemplateName='Basic';
theSitetree.paletteFamily='823333';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='10828';
theSitetree.graphicsetId='11284';
theSitetree.contentColor='823333';
theSitetree.contentBGColor='FFFFFF';
var localeDef={
  language: 'de',
  country: 'CH'
};
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Basic',
				paletteFamily: 	'823333',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'10828',
				graphicsetId: 	'11284',
				contentColor: 	'823333',
				contentBGColor: 'FFFFFF',
				a_color: 		'000000',
				b_color: 		'000000',
				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['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '1513',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '565601',
internalId:  '',
customField: '20090221-214645'
};
webappMappings['1002']=webappMappings['1002-8702ABW0X0INXSX3']={
webappId:    '1002',
documentId:  '8702',
internalId:  '8702ABW0X0INXSX3',
customField: 'icq=false'
};
webappMappings['2001']=webappMappings['2001-location']={
webappId:    '2001',
documentId:  '21722',
internalId:  'location',
customField: 'language:de;country:CH;isIncluded:false;'
};
webappMappings['2002']=webappMappings['2002-routing']={
webappId:    '2002',
documentId:  '21757',
internalId:  'routing',
customField: 'de_CH'
};
webappMappings['1009']=webappMappings['1009-4651305']={
webappId:    '1009',
documentId:  '236166',
internalId:  '4651305',
customField: 'isFollowupPage:true;documentId:1828;'
};
webappMappings['1009']=webappMappings['1009-4651999']={
webappId:    '1009',
documentId:  '34628',
internalId:  '4651999',
customField: 'isFollowupPage:true;documentId:23721;'
};
webappMappings['7008']=webappMappings['7008-97']={
webappId:    '7008',
documentId:  '1828',
internalId:  '97',
customField: 'language:de;country:CH;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '1513',
internalId:  '',
customField: '20100901-091802'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '359514',
internalId:  '',
customField: '20100316-175115'
};
webappMappings['1501']=webappMappings['1501-260944']={
webappId:    '1501',
documentId:  '1513',
internalId:  '260944',
customField: '1501'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '1079712',
internalId:  '',
customField: '20100728-152107'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '1081812',
internalId:  '',
customField: '20100813-104841'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '444701',
internalId:  '',
customField: '20100829-133906'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '428501',
internalId:  '',
customField: '20090515-193300'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '768501',
internalId:  '',
customField: '20090515-192459'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '443501',
internalId:  '',
customField: '20100130-172525'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '801001',
internalId:  '',
customField: '20090519-095742'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '448101',
internalId:  '',
customField: '20100211-150509'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '774601',
internalId:  '',
customField: '20090515-193502'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '455001',
internalId:  '',
customField: '20090515-193720'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '765001',
internalId:  '',
customField: '20100513-214759'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '460701',
internalId:  '',
customField: '20100222-190708'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '468301',
internalId:  '',
customField: '20090814-015952'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '802501',
internalId:  '',
customField: '20090515-191940'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '434401',
internalId:  '',
customField: '20090129-174250'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '548201',
internalId:  '',
customField: '20090515-195407'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '740701',
internalId:  '',
customField: '20091102-162904'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '742401',
internalId:  '',
customField: '20090515-195945'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '769401',
internalId:  '',
customField: '20091016-195616'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '769422',
internalId:  '',
customField: '20090515-201533'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '772601',
internalId:  '',
customField: '20090515-201948'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '812301',
internalId:  '',
customField: '20091016-194130'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '667401',
internalId:  '',
customField: '20100812-183113'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '524201',
internalId:  '',
customField: '20081110-142725'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '666101',
internalId:  '',
customField: '20100812-184040'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '1009712',
internalId:  '',
customField: '20100211-151320'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '855712',
internalId:  '',
customField: '20090519-092945'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '1049112',
internalId:  '',
customField: '20100418-170428'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '1015212',
internalId:  '',
customField: '20100815-104652'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '254160',
internalId:  '',
customField: '20100516-142251'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '364491',
internalId:  '',
customField: '20100805-103950'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '387435',
internalId:  '',
customField: '20100815-102033'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '606801',
internalId:  '',
customField: '20100416-115600'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '643801',
internalId:  '',
customField: '20100416-120203'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '364500',
internalId:  '',
customField: '20100416-120311'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '364509',
internalId:  '',
customField: '20100617-103845'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '694401',
internalId:  '',
customField: '20100516-143226'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '254187',
internalId:  '',
customField: '20100812-142114'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '380502',
internalId:  '',
customField: '20100805-102235'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '697201',
internalId:  '',
customField: '20100516-144231'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '420101',
internalId:  '',
customField: '20100730-220244'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '594001',
internalId:  '',
customField: '20090717-102029'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '534901',
internalId:  '',
customField: '20100728-142528'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '364518',
internalId:  '',
customField: '20100516-145022'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '594022',
internalId:  '',
customField: '20100516-145141'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '373829',
internalId:  '',
customField: '20100516-145524'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '373932',
internalId:  '',
customField: '20100516-145710'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '729301',
internalId:  '',
customField: '20100815-150345'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '373509',
internalId:  '',
customField: '20100315-162251'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '1074412',
internalId:  '',
customField: '20100815-093129'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '364536',
internalId:  '',
customField: '20100617-103301'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '632801',
internalId:  '',
customField: '20100704-163741'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '358147',
internalId:  '',
customField: '20100722-110242'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '687001',
internalId:  '',
customField: '20100527-152648'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '367713',
internalId:  '',
customField: '20100730-220153'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '894012',
internalId:  '',
customField: '20100829-135144'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '372581',
internalId:  '',
customField: '20100315-162918'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '372572',
internalId:  '',
customField: '20100315-162943'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '691301',
internalId:  '',
customField: '20100530-182546'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '606101',
internalId:  '',
customField: '20100315-163045'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '1101423',
internalId:  '',
customField: '20100831-192410'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '364554',
internalId:  '',
customField: '20100819-171745'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '931412',
internalId:  '',
customField: '20090916-091758'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '364545',
internalId:  '',
customField: '20100521-162526'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '364563',
internalId:  '',
customField: '20100517-155316'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '458101',
internalId:  '',
customField: '20100517-154709'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '555401',
internalId:  '',
customField: '20100315-163523'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '521301',
internalId:  '',
customField: '20100415-214505'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '366634',
internalId:  '',
customField: '20100315-163607'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '624601',
internalId:  '',
customField: '20100815-090928'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '372421',
internalId:  '',
customField: '20100517-153531'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '422701',
internalId:  '',
customField: '20100805-162607'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '573201',
internalId:  '',
customField: '20100730-220354'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '372835',
internalId:  '',
customField: '20100527-152332'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '750001',
internalId:  '',
customField: '20100728-141534'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '640801',
internalId:  '',
customField: '20100318-160750'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '635801',
internalId:  '',
customField: '20100805-100824'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '363946',
internalId:  '',
customField: '20100812-145643'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '416801',
internalId:  '',
customField: '20100721-221957'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '387260',
internalId:  '',
customField: '20100504-110714'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '416301',
internalId:  '',
customField: '20100504-110748'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '363687',
internalId:  '',
customField: '20100830-160937'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '672801',
internalId:  '',
customField: '20100617-104603'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '357253',
internalId:  '',
customField: '20100721-222413'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '367015',
internalId:  '',
customField: '20100815-091849'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '643301',
internalId:  '',
customField: '20100805-095009'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '374237',
internalId:  '',
customField: '20100504-114224'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '385713',
internalId:  '',
customField: '20100728-141035'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '928412',
internalId:  '',
customField: '20100815-145700'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '355809',
internalId:  '',
customField: '20100815-101451'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '388150',
internalId:  '',
customField: '20100602-183324'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '366793',
internalId:  '',
customField: '20100801-145549'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '438222',
internalId:  '',
customField: '20100829-134835'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '658201',
internalId:  '',
customField: '20100315-173055'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '363159',
internalId:  '',
customField: '20100726-193718'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '363387',
internalId:  '',
customField: '20100812-161605'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '666501',
internalId:  '',
customField: '20100315-173444'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '427401',
internalId:  '',
customField: '20100505-162344'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '915233',
internalId:  '',
customField: '20100505-135056'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '1021512',
internalId:  '',
customField: '20100513-220512'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '1040312',
internalId:  '',
customField: '20100728-172610'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '1027312',
internalId:  '',
customField: '20100416-115916'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '368520',
internalId:  '',
customField: '20100617-104159'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '984112',
internalId:  '',
customField: '20100801-150550'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '900712',
internalId:  '',
customField: '20100728-143545'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '1101444',
internalId:  '',
customField: '20100902-155420'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '384084',
internalId:  '',
customField: '20100819-172356'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '980512',
internalId:  '',
customField: '20100315-162546'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '636401',
internalId:  '',
customField: '20090725-205518'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '386756',
internalId:  '',
customField: '20100519-140626'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '422301',
internalId:  '',
customField: '20100902-161237'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '630001',
internalId:  '',
customField: '20100722-111404'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '980812',
internalId:  '',
customField: '20100704-165557'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '381476',
internalId:  '',
customField: '20100516-142156'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '250078',
internalId:  '',
customField: '20080923-203443'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '264522',
internalId:  '',
customField: '20100330-191811'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '264815',
internalId:  '',
customField: '20100829-180501'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '810801',
internalId:  '',
customField: '20090920-155138'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '8702',
internalId:  '',
customField: '20051209-102739'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '8703',
internalId:  '',
customField: '20051228-190512'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '107704',
internalId:  '',
customField: '20090911-182808'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '1828',
internalId:  '',
customField: '20081213-154003'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '236166',
internalId:  '',
customField: '20051207-115523'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '21757',
internalId:  '',
customField: '20051209-102957'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '21722',
internalId:  '',
customField: '20051228-190546'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '34628',
internalId:  '',
customField: '20041206-193846'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '828401',
internalId:  '',
customField: '20100815-151009'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '846012',
internalId:  '',
customField: '20100310-171223'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '860712',
internalId:  '',
customField: '20090515-135119'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '873775',
internalId:  '',
customField: '20100310-162523'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '873612',
internalId:  '',
customField: '20100310-164404'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '873712',
internalId:  '',
customField: '20100310-165753'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '873733',
internalId:  '',
customField: '20100204-104644'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '873754',
internalId:  '',
customField: '20100310-163227'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '873796',
internalId:  '',
customField: '20090515-194917'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '876433',
internalId:  '',
customField: '20100513-220255'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '876412',
internalId:  '',
customField: '20100222-192023'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '876912',
internalId:  '',
customField: '20100513-215423'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '877212',
internalId:  '',
customField: '20090515-201728'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '877512',
internalId:  '',
customField: '20100812-182901'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '878512',
internalId:  '',
customField: '20090519-095038'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '880612',
internalId:  '',
customField: '20100519-171450'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '888412',
internalId:  '',
customField: '20100815-093000'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '1105923',
internalId:  '',
customField: '20100902-155331'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '915212',
internalId:  '',
customField: '20100812-143811'
};
var canonHostname = 'hptworkerdb01b.bluewin.ch';
var accountId     = 'ABW0X0INXSX3';
var companyName   = 'Kleiner+Baum';
var htmlTitle	  = '';
var metaKeywords  = 'Washingtonia+filifera%2C+Trachycarus+fortunei%2C+Trachycarpus+sp.%2C+';
var metaContents  = 'Pflanzen%2C+Gartenpflanzen%2C+Zimmerpflanzen%2C+Bonsai%2C+Bonsaischalenl%2C+Beistellschalen%2C+Orchideenschalen%2C+Bonsairohpflanzen%2C+Kleine+B%C3%A4ume%2C+Palmen%2C+Jungpflanzen%2C+Stecklinge';
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();
};
