/* [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','13801',jdecode('Hauptseite%2FHome'),jdecode(''),'/13801.html','true',[],''],
	['PAGE','13807',jdecode('Reizdarmsyndrom'),jdecode(''),'/13807.html','true',[],''],
	['PAGE','109768',jdecode('Reizmagen'),jdecode(''),'/109768.html','true',[],''],
	['PAGE','64634',jdecode('Alles+zur+Selbsthilfe'),jdecode(''),'/64634/home.html','true',[ 
		['PAGE','35301',jdecode('-Wie+alles+begann'),jdecode(''),'/64634/35301.html','true',[],'']
	],''],
	['PAGE','33701',jdecode('SHG+Itzehoe'),jdecode(''),'/33701/home.html','true',[ 
		['PAGE','13812',jdecode('Wer+sind+wir%3F'),jdecode(''),'/33701/13812.html','true',[],''],
		['PAGE','24601',jdecode('Termin%2FOrt'),jdecode(''),'/33701/24601.html','true',[],''],
		['PAGE','36301',jdecode('Ansprechpartner'),jdecode(''),'/33701/36301.html','true',[],''],
		['PAGE','104968',jdecode('Vorschau+%6010'),jdecode(''),'/33701/104968.html','true',[],''],
		['PAGE','122668',jdecode('Aktionsberichte+%6010'),jdecode(''),'/33701/122668.html','true',[],''],
		['PAGE','18202',jdecode('Fotoalbum'),jdecode(''),'/33701/18202.html','true',[],''],
		['PAGE','95189',jdecode('Archiv+Itzehoe'),jdecode(''),'/33701/95189.html','true',[],''],
		['PAGE','121668',jdecode('-R%C3%BCckblick+%6009'),jdecode(''),'/33701/121668.html','true',[],''],
		['PAGE','107968',jdecode('-R%C3%BCckblick+%C2%B408'),jdecode(''),'/33701/107968.html','true',[],''],
		['PAGE','79734',jdecode('-R%C3%BCckblick+%C2%B407'),jdecode(''),'/33701/79734.html','true',[],''],
		['PAGE','54834',jdecode('-R%C3%BCckblick+%C2%B406'),jdecode(''),'/33701/54834.html','true',[],''],
		['PAGE','17711',jdecode('-R%C3%BCckblick+%C2%B405'),jdecode(''),'/33701/17711.html','true',[],''],
		['PAGE','17706',jdecode('-R%C3%BCckblick+%C2%B404'),jdecode(''),'/33701/17706.html','true',[],''],
		['PAGE','26001',jdecode('%22KIBIS+Itzehoe%22'),jdecode(''),'/33701/26001.html','true',[],''],
		['PAGE','24606',jdecode('%22Teestube+Itzehoe+e.V.%22'),jdecode(''),'/33701/24606.html','true',[],'']
	],''],
	['PAGE','33743',jdecode('SHG+Bocholt'),jdecode(''),'/33743/home.html','true',[ 
		['PAGE','35085',jdecode('Termin%2FOrt'),jdecode(''),'/33743/35085.html','true',[],''],
		['PAGE','36364',jdecode('Ansprechpartner'),jdecode(''),'/33743/36364.html','true',[],''],
		['PAGE','35106',jdecode('Vorschau+%C2%B410'),jdecode(''),'/33743/35106.html','true',[],''],
		['PAGE','122689',jdecode('Aktionsberichte+%C2%B410'),jdecode(''),'/33743/122689.html','true',[],''],
		['PAGE','39601',jdecode('Fotoalbum'),jdecode(''),'/33743/39601.html','true',[],''],
		['PAGE','95231',jdecode('Archiv+Bocholt'),jdecode(''),'/33743/95231.html','true',[],''],
		['PAGE','95210',jdecode('-R%C3%BCckblick+%C2%B408'),jdecode(''),'/33743/95210.html','true',[],''],
		['PAGE','79755',jdecode('-R%C3%BCckblick+%C2%B407'),jdecode(''),'/33743/79755.html','true',[],''],
		['PAGE','54855',jdecode('-R%C3%BCckblick+%C2%B406'),jdecode(''),'/33743/54855.html','true',[],'']
	],''],
	['PAGE','41401',jdecode('SHG+MH+%2F+OB'),jdecode(''),'/41401/home.html','true',[ 
		['PAGE','41422',jdecode('Wer+sind+wir%3F'),jdecode(''),'/41401/41422.html','true',[],''],
		['PAGE','41443',jdecode('Termin%2FOrt+'),jdecode(''),'/41401/41443.html','true',[],''],
		['PAGE','41464',jdecode('Ansprechpartner'),jdecode(''),'/41401/41464.html','true',[],''],
		['PAGE','41485',jdecode('Vorschau+%C2%B410'),jdecode(''),'/41401/41485.html','true',[],''],
		['PAGE','122710',jdecode('Aktionsberichte+%C2%B410'),jdecode(''),'/41401/122710.html','true',[],''],
		['PAGE','104468',jdecode('Essener+Zirkel...'),jdecode(''),'/41401/104468.html','true',[],''],
		['PAGE','39822',jdecode('Berichte+aus+NRW'),jdecode(''),'/41401/39822.html','true',[],''],
		['PAGE','54434',jdecode('Fotoalbum'),jdecode(''),'/41401/54434.html','true',[],''],
		['PAGE','95273',jdecode('Archiv+MH%2FOB'),jdecode(''),'/41401/95273.html','true',[],''],
		['PAGE','116268',jdecode('-R%C3%BCckblick+%C2%B409'),jdecode(''),'/41401/116268.html','true',[],''],
		['PAGE','79776',jdecode('-R%C3%BCckblick+%C2%B407'),jdecode(''),'/41401/79776.html','true',[],''],
		['PAGE','54876',jdecode('-R%C3%BCckblick+%C2%B406'),jdecode(''),'/41401/54876.html','true',[],''],
		['PAGE','49901',jdecode('-R%C3%BCckblick+%C2%B405'),jdecode(''),'/41401/49901.html','true',[],'']
	],''],
	['PAGE','67234',jdecode('Weitere+SHGs'),jdecode(''),'/67234/home.html','true',[ 
		['PAGE','74934',jdecode('-+Berlin'),jdecode(''),'/67234/74934.html','true',[],''],
		['PAGE','119468',jdecode('-+Detmold'),jdecode(''),'/67234/119468.html','true',[],''],
		['PAGE','83034',jdecode('-+Herne'),jdecode(''),'/67234/83034.html','true',[],''],
		['PAGE','114868',jdecode('-+N%C3%A4he+L%C3%BCbeck'),jdecode(''),'/67234/114868.html','true',[],''],
		['PAGE','66334',jdecode('-+M%C3%BCnchen'),jdecode(''),'/67234/66334.html','true',[],''],
		['PAGE','88568',jdecode('-+Stuttgart'),jdecode(''),'/67234/88568.html','true',[],''],
		['PAGE','73134',jdecode('Archiv+SHG+Kreis+Kleve'),jdecode(''),'/67234/73134.html','true',[],''],
		['PAGE','35343',jdecode('-Wer+waren+wir%3F'),jdecode(''),'/67234/35343.html','true',[],''],
		['PAGE','37643',jdecode('-R%C3%BCckblick+%C2%B405'),jdecode(''),'/67234/37643.html','true',[],''],
		['PAGE','43201',jdecode('-R%C3%BCckblick+%C2%B404'),jdecode(''),'/67234/43201.html','true',[],'']
	],''],
	['PAGE','66365',jdecode('Aktuelles+'),jdecode(''),'/66365/home.html','true',[ 
		['PAGE','95468',jdecode('-Schleswig-Holstein'),jdecode(''),'/66365/95468.html','true',[],''],
		['PAGE','95489',jdecode('-Nordrhein-Westfalen'),jdecode(''),'/66365/95489.html','true',[],''],
		['PAGE','95510',jdecode('-andere+Bundesl%C3%A4nder'),jdecode(''),'/66365/95510.html','true',[],'']
	],''],
	['PAGE','21410',jdecode('RDS-Biographien'),jdecode(''),'/21410.html','true',[],''],
	['PAGE','27301',jdecode('K%C3%B6rper%2Fu.+Seele'),jdecode(''),'/27301/home.html','true',[ 
		['PAGE','68434',jdecode('-Gute+Erfahrungen'),jdecode(''),'/27301/68434.html','true',[],'']
	],''],
	['PAGE','29701',jdecode('Tipps%2Fu.+Tricks'),jdecode(''),'/29701.html','true',[],''],
	['PAGE','17701',jdecode('Buch-%2FTV-Tipps'),jdecode(''),'/17701.html','true',[],''],
	['PAGE','65534',jdecode('Presseberichte'),jdecode(''),'/65534.html','true',[],''],
	['PAGE','98789',jdecode('Weitere+Themen'),jdecode(''),'/98789/home.html','true',[ 
		['PAGE','98768',jdecode('-Angst'),jdecode(''),'/98789/98768.html','true',[],''],
		['PAGE','103768',jdecode('-Biographien'),jdecode(''),'/98789/103768.html','true',[],'']
	],''],
	['PAGE','14902',jdecode('G%C3%A4stebuch'),jdecode(''),'/14902/home.html','true',[ 
		['PAGE','14903',jdecode('Eintr%C3%A4ge'),jdecode(''),'/14902/14903.html','true',[],'']
	],''],
	['PAGE','13837',jdecode('Links'),jdecode(''),'/13837.html','true',[],''],
	['PAGE','13847',jdecode('Disclaimer'),jdecode(''),'/13847.html','true',[],''],
	['PAGE','48601',jdecode('Impressum'),jdecode(''),'/48601.html','true',[],'']];
var siteelementCount=74;
theSitetree.topTemplateName='Enjoy';
theSitetree.paletteFamily='93A6CC';
theSitetree.keyvisualId='2224';
theSitetree.keyvisualName='blanko.jpg';
theSitetree.fontsetId='364';
theSitetree.graphicsetId='415';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='93A6CC';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Enjoy',
				paletteFamily: 	'93A6CC',
				keyvisualId: 	'2224',
				keyvisualName: 	'blanko.jpg',
				fontsetId: 		'364',
				graphicsetId: 	'415',
				contentColor: 	'000000',
				contentBGColor: '93A6CC',
				a_color: 		'93A6CC',
				b_color: 		'FFFFFF',
				c_color: 		'FFFFFF',
				d_color: 		'FFFFFF',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'true',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['1501']=webappMappings['1501-7903068']={
webappId:    '1501',
documentId:  '13801',
internalId:  '7903068',
customField: '1501'
};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '13801',
internalId:  '1006',
customField: '1006'
};
webappMappings['1002']=webappMappings['1002-14902atoix0inej4p']={
webappId:    '1002',
documentId:  '14902',
internalId:  '14902atoix0inej4p',
customField: 'action=form&icq=false'
};
webappMappings['1002']=webappMappings['1002-14902atoix0inej4p']={
webappId:    '1002',
documentId:  '14903',
internalId:  '14902atoix0inej4p',
customField: 'action=list'
};
webappMappings['1007']=webappMappings['1007-101ee6d9acf']={
webappId:    '1007',
documentId:  '18202',
internalId:  '101ee6d9acf',
customField: 'g.107n5jsrc.s93ja2vuvl.1s'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '95189',
internalId:  '',
customField: '20080110-091947'
};
webappMappings['1007']=webappMappings['1007-1064b02b257']={
webappId:    '1007',
documentId:  '39601',
internalId:  '1064b02b257',
customField: 'g.10p5g2paq.ki18osrmtg.3o'
};
webappMappings['1007']=webappMappings['1007-108a9ebb01c']={
webappId:    '1007',
documentId:  '54434',
internalId:  '108a9ebb01c',
customField: 'g.112kuicvr.f4eod18vl4.1s'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13801',
internalId:  '',
customField: '20100307-085954'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41401',
internalId:  '',
customField: '20061215-170148'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '54876',
internalId:  '',
customField: '20070218-110909'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '33701',
internalId:  '',
customField: '20090906-165715'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '24601',
internalId:  '',
customField: '20100207-184145'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41443',
internalId:  '',
customField: '20100207-184256'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13807',
internalId:  '',
customField: '20061215-162229'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '64634',
internalId:  '',
customField: '20100101-194056'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '35301',
internalId:  '',
customField: '20061215-162405'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13812',
internalId:  '',
customField: '20080823-133905'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '36301',
internalId:  '',
customField: '20061215-170520'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '98789',
internalId:  '',
customField: '20080211-084223'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '54834',
internalId:  '',
customField: '20070218-104245'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '17711',
internalId:  '',
customField: '20070218-104210'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '17706',
internalId:  '',
customField: '20051110-094752'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '18202',
internalId:  '',
customField: '20071110-142813'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '24606',
internalId:  '',
customField: '20061215-163754'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '26001',
internalId:  '',
customField: '20090415-094639'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '33743',
internalId:  '',
customField: '20061215-165936'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '35085',
internalId:  '',
customField: '20100222-203252'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '36364',
internalId:  '',
customField: '20090104-210012'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '35106',
internalId:  '',
customField: '20100124-171858'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '54855',
internalId:  '',
customField: '20070218-110025'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '39601',
internalId:  '',
customField: '20070701-175752'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41422',
internalId:  '',
customField: '20100101-193937'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41464',
internalId:  '',
customField: '20051112-144507'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41485',
internalId:  '',
customField: '20100124-172202'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '49901',
internalId:  '',
customField: '20070218-111424'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '54434',
internalId:  '',
customField: '20060410-160552'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '67234',
internalId:  '',
customField: '20080114-072609'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '66334',
internalId:  '',
customField: '20091221-074746'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '74934',
internalId:  '',
customField: '20080114-072635'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '73134',
internalId:  '',
customField: '20080105-145614'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '35343',
internalId:  '',
customField: '20061215-164038'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '37643',
internalId:  '',
customField: '20061215-164221'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43201',
internalId:  '',
customField: '20051114-145608'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '66365',
internalId:  '',
customField: '20091106-075719'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '21410',
internalId:  '',
customField: '20061215-164505'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '17701',
internalId:  '',
customField: '20100111-121034'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '107968',
internalId:  '',
customField: '20090105-102022'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '95468',
internalId:  '',
customField: '20100124-172941'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '95489',
internalId:  '',
customField: '20100207-184940'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '39822',
internalId:  '',
customField: '20080114-072456'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '95510',
internalId:  '',
customField: '20100124-173455'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '65534',
internalId:  '',
customField: '20090415-094131'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '88568',
internalId:  '',
customField: '20100121-094834'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '29701',
internalId:  '',
customField: '20070706-215812'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '27301',
internalId:  '',
customField: '20080113-165139'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '68434',
internalId:  '',
customField: '20061215-165840'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14902',
internalId:  '',
customField: '20050129-124531'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14903',
internalId:  '',
customField: '20050129-124531'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13837',
internalId:  '',
customField: '20090906-165110'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13847',
internalId:  '',
customField: '20050129-135340'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '48601',
internalId:  '',
customField: '20051110-134546'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '79734',
internalId:  '',
customField: '20071110-144220'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '79755',
internalId:  '',
customField: '20071021-085948'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '79776',
internalId:  '',
customField: '20080105-151905'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '83034',
internalId:  '',
customField: '20070406-155728'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '95210',
internalId:  '',
customField: '20090104-114751'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '98768',
internalId:  '',
customField: '20080526-075145'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '95231',
internalId:  '',
customField: '20080110-092037'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '95273',
internalId:  '',
customField: '20080110-092109'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '114868',
internalId:  '',
customField: '20100217-165826'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '103768',
internalId:  '',
customField: '20080616-093507'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '104468',
internalId:  '',
customField: '20081111-092024'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '104968',
internalId:  '',
customField: '20100124-170922'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '109768',
internalId:  '',
customField: '20081227-205107'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '116268',
internalId:  '',
customField: '20091128-175901'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '119468',
internalId:  '',
customField: '20091102-085908'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '121668',
internalId:  '',
customField: '20100124-175827'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '122668',
internalId:  '',
customField: '20100124-171151'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '122689',
internalId:  '',
customField: '20100124-172048'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '122710',
internalId:  '',
customField: '20100124-172355'
};
var canonHostname = 'cfawrk07.aul.t-online.de';
var accountId     = 'ATOIX0INEJ4P';
var companyName   = '+++++++Selbsthilfe++++-++++bei++++-++++Reizdarm++';
var htmlTitle	  = '';
var metaKeywords  = '';
var metaContents  = '';
					                                                                    
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 */					                                                            
