/* [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','10684',jdecode('Home'),jdecode(''),'/10684/home.html','true',[ 
		['PAGE','47902',jdecode('Links'),jdecode(''),'/10684/47902.html','true',[],'']
	],''],
	['PAGE','325538',jdecode('Aktuelles'),jdecode(''),'/325538.html','true',[],''],
	['PAGE','300917',jdecode('Werbung'),jdecode(''),'/300917.html','true',[],''],
	['PAGE','226217',jdecode('Termin%C3%BCbersicht'),jdecode(''),'/226217.html','true',[],''],
	['PAGE','59102',jdecode('Formulare'),jdecode(''),'/59102/home.html','true',[ 
		['PAGE','21202',jdecode('Regelwerke'),jdecode(''),'/59102/21202.html','true',[],''],
		['PAGE','359217',jdecode('Sportordnung'),jdecode(''),'/59102/359217.html','true',[],''],
		['PAGE','21432',jdecode('Leistungabz.'),jdecode(''),'/59102/21432.html','true',[],''],
		['PAGE','374917',jdecode('Hinw.Waffenerw.'),jdecode(''),'/59102/374917.html','true',[],'']
	],''],
	['PAGE','58002',jdecode('Home+%28Folgeseite%29'),jdecode(''),'/58002.html','false',[],''],
	['PAGE','63517',jdecode('Verwaltung'),jdecode(''),'/63517/home.html','true',[ 
		['PAGE','304617',jdecode('Bezirkssch%C3%BCtzenmeisteramt'),jdecode(''),'/63517/304617.html','true',[],''],
		['PAGE','353017',jdecode('Oktoberfest+2009'),jdecode(''),'/63517/353017.html','true',[],''],
		['PAGE','228817',jdecode('Oktoberfest+2007'),jdecode(''),'/63517/228817.html','true',[],'']
	],''],
	['PAGE','335317',jdecode('Sch%C3%BCtzentage'),jdecode(''),'/335317/home.html','true',[ 
		['PAGE','335338',jdecode('2010'),jdecode(''),'/335317/335338.html','true',[],''],
		['PAGE','314817',jdecode('2009'),jdecode(''),'/335317/314817.html','true',[],''],
		['PAGE','261817',jdecode('2008'),jdecode(''),'/335317/261817.html','true',[],'']
	],''],
	['PAGE','328217',jdecode('Meister+2010'),jdecode(''),'/328217/home.html','true',[ 
		['PAGE','335359',jdecode('Gewehr+10'),jdecode(''),'/328217/335359.html','true',[],''],
		['PAGE','335380',jdecode('Pistole10'),jdecode(''),'/328217/335380.html','true',[],''],
		['PAGE','335401',jdecode('WS+10'),jdecode(''),'/328217/335401.html','true',[],''],
		['PAGE','335422',jdecode('Lfd.S.+10'),jdecode(''),'/328217/335422.html','true',[],''],
		['PAGE','335443',jdecode('Armbrust+10'),jdecode(''),'/328217/335443.html','true',[],''],
		['PAGE','335464',jdecode('Bogen+10'),jdecode(''),'/328217/335464.html','true',[],''],
		['PAGE','335485',jdecode('Vorderl.10'),jdecode(''),'/328217/335485.html','true',[],'']
	],''],
	['PAGE','401217',jdecode('Meister+2011'),jdecode(''),'/401217/home.html','true',[ 
		['PAGE','402317',jdecode('Gewehr+11'),jdecode(''),'/401217/402317.html','true',[],''],
		['PAGE','402338',jdecode('Pistole+11'),jdecode(''),'/401217/402338.html','true',[],''],
		['PAGE','402359',jdecode('WS+11'),jdecode(''),'/401217/402359.html','true',[],''],
		['PAGE','402380',jdecode('Lfd.S.+11'),jdecode(''),'/401217/402380.html','true',[],''],
		['PAGE','402717',jdecode('Armbrust11'),jdecode(''),'/401217/402717.html','true',[],''],
		['PAGE','402738',jdecode('Bogen+11'),jdecode(''),'/401217/402738.html','true',[],''],
		['PAGE','402759',jdecode('Vorderl+11'),jdecode(''),'/401217/402759.html','true',[],'']
	],''],
	['PAGE','324517',jdecode('RWK+09%2F10'),jdecode(''),'/324517/home.html','true',[ 
		['PAGE','335506',jdecode('ByL+09%2F10'),jdecode(''),'/324517/335506.html','true',[],''],
		['PAGE','335527',jdecode('Bez-Gew.09%2F10'),jdecode(''),'/324517/335527.html','true',[],''],
		['PAGE','335548',jdecode('Bez.Pis.+09%2F10'),jdecode(''),'/324517/335548.html','true',[],''],
		['PAGE','371217',jdecode('Bogen+09%2F10'),jdecode(''),'/324517/371217.html','true',[],'']
	],''],
	['PAGE','399817',jdecode('RWK+10%2F11'),jdecode(''),'/399817/home.html','true',[ 
		['PAGE','399838',jdecode('Byl+10%2F11'),jdecode(''),'/399817/399838.html','true',[],''],
		['PAGE','399859',jdecode('Bez-Gew.10%2F11'),jdecode(''),'/399817/399859.html','true',[],''],
		['PAGE','399880',jdecode('Bez-Pist.10%2F11'),jdecode(''),'/399817/399880.html','true',[],''],
		['PAGE','399901',jdecode('Bogen+10%2F11'),jdecode(''),'/399817/399901.html','true',[],'']
	],''],
	['PAGE','46902',jdecode('Frauen'),jdecode(''),'/46902/home.html','true',[ 
		['PAGE','335569',jdecode('2010'),jdecode(''),'/46902/335569.html','true',[],''],
		['PAGE','335590',jdecode('2009'),jdecode(''),'/46902/335590.html','true',[],'']
	],''],
	['PAGE','250317',jdecode('Jugend'),jdecode(''),'/250317/home.html','true',[ 
		['PAGE','335632',jdecode('2010'),jdecode(''),'/250317/335632.html','true',[],''],
		['PAGE','298917',jdecode('2009'),jdecode(''),'/250317/298917.html','true',[],'']
	],''],
	['PAGE','21427',jdecode('%C3%9Cbungsleiter'),jdecode(''),'/21427/home.html','true',[ 
		['PAGE','335653',jdecode('2010'),jdecode(''),'/21427/335653.html','true',[],'']
	],''],
	['PAGE','10901',jdecode('Bogen'),jdecode(''),'/10901/home.html','true',[ 
		['PAGE','335695',jdecode('2010'),jdecode(''),'/10901/335695.html','true',[],''],
		['PAGE','293417',jdecode('2009'),jdecode(''),'/10901/293417.html','true',[],'']
	],''],
	['PAGE','247638',jdecode('Wettk.%2FVereinsinfo'),jdecode(''),'/247638/home.html','true',[ 
		['PAGE','49902',jdecode('Vereinsinfo'),jdecode(''),'/247638/49902.html','true',[],''],
		['PAGE','168117',jdecode('L%C3%B6wenbr%C3%A4ucup'),jdecode(''),'/247638/168117.html','true',[],''],
		['PAGE','355117',jdecode('Auflageschie%C3%9Fen'),jdecode(''),'/247638/355117.html','true',[],''],
		['PAGE','355138',jdecode('GK+BSSB+Kombi'),jdecode(''),'/247638/355138.html','true',[],''],
		['PAGE','355159',jdecode('Bezirksvergleichsch.'),jdecode(''),'/247638/355159.html','true',[],''],
		['PAGE','355317',jdecode('BDS+Wettkampf'),jdecode(''),'/247638/355317.html','true',[],'']
	],''],
	['PAGE','130317',jdecode('Bezirksrekorde'),jdecode(''),'/130317.html','true',[],''],
	['PAGE','73017',jdecode('ARCHIV'),jdecode(''),'/73017/home.html','true',[ 
		['PAGE','276117',jdecode('Meister+2009'),jdecode(''),'/73017/276117.html','true',[],''],
		['PAGE','276138',jdecode('Gewehr+09'),jdecode(''),'/73017/276138.html','true',[],''],
		['PAGE','276159',jdecode('Pistole+09'),jdecode(''),'/73017/276159.html','true',[],''],
		['PAGE','276180',jdecode('Wurfsch.+09'),jdecode(''),'/73017/276180.html','true',[],''],
		['PAGE','276201',jdecode('L.Scheibe+09'),jdecode(''),'/73017/276201.html','true',[],''],
		['PAGE','276222',jdecode('Armbrust+09'),jdecode(''),'/73017/276222.html','true',[],''],
		['PAGE','276243',jdecode('Bogen+09'),jdecode(''),'/73017/276243.html','true',[],''],
		['PAGE','276264',jdecode('Vorderl.+09'),jdecode(''),'/73017/276264.html','true',[],'']
	],''],
	['PAGE','18302',jdecode('G%C3%A4stebuch'),jdecode(''),'/18302/home.html','true',[ 
		['PAGE','18303',jdecode('Eintr%C3%A4ge'),jdecode(''),'/18302/18303.html','true',[],'']
	],''],
	['PAGE','47802',jdecode('Impressum'),jdecode(''),'/47802.html','true',[],'']];
var siteelementCount=76;
theSitetree.topTemplateName='Movement';
theSitetree.paletteFamily='333F65';
theSitetree.keyvisualId='1738';
theSitetree.keyvisualName='boerse.jpg';
theSitetree.fontsetId='289';
theSitetree.graphicsetId='355';
theSitetree.contentColor='FFFFFF';
theSitetree.contentBGColor='333F65';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Movement',
				paletteFamily: 	'333F65',
				keyvisualId: 	'1738',
				keyvisualName: 	'boerse.jpg',
				fontsetId: 		'289',
				graphicsetId: 	'355',
				contentColor: 	'FFFFFF',
				contentBGColor: '333F65',
				a_color: 		'333F65',
				b_color: 		'040507',
				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['1002']=webappMappings['1002-18302atoix0ine2wj']={
webappId:    '1002',
documentId:  '18302',
internalId:  '18302atoix0ine2wj',
customField: 'action=form&icq=false'
};
webappMappings['1002']=webappMappings['1002-18302atoix0ine2wj']={
webappId:    '1002',
documentId:  '18303',
internalId:  '18302atoix0ine2wj',
customField: 'action=list'
};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '10684',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '359217',
internalId:  '',
customField: '20090924-154127'
};
webappMappings['1501']=webappMappings['1501-1501']={
webappId:    '1501',
documentId:  '10684',
internalId:  '1501',
customField: '1501'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '371217',
internalId:  '',
customField: '20100120-194409'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '226217',
internalId:  '',
customField: '20071104-121811'
};
webappMappings['1001']=webappMappings['1001-atoix0ine2wj10528bb0a9c']={
webappId:    '1001',
documentId:  '10684',
internalId:  'atoix0ine2wj10528bb0a9c',
customField: ''
};
webappMappings['1001']=webappMappings['1001-atoix0ine2wj10528bb0a9c']={
webappId:    '1001',
documentId:  '58002',
internalId:  'atoix0ine2wj10528bb0a9c',
customField: 'followUp'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '10684',
internalId:  '',
customField: '20100904-191514'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '10901',
internalId:  '',
customField: '20100429-093827'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '63517',
internalId:  '',
customField: '20100409-111328'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '73017',
internalId:  '',
customField: '20061212-143646'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '58002',
internalId:  '',
customField: '20050718-085651'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '47902',
internalId:  '',
customField: '20100114-084347'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '21202',
internalId:  '',
customField: '20090924-153852'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '59102',
internalId:  '',
customField: '20100505-144626'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '130317',
internalId:  '',
customField: '20091019-131016'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '355138',
internalId:  '',
customField: '20100411-081744'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '353017',
internalId:  '',
customField: '20090923-113412'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '335527',
internalId:  '',
customField: '20100419-100443'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '335548',
internalId:  '',
customField: '20100429-142714'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '335317',
internalId:  '',
customField: '20100409-113803'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '335338',
internalId:  '',
customField: '20100419-100635'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '335359',
internalId:  '',
customField: '20100621-091102'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '335380',
internalId:  '',
customField: '20100516-224426'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '335401',
internalId:  '',
customField: '20100516-224756'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '335422',
internalId:  '',
customField: '20100515-201529'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '335443',
internalId:  '',
customField: '20100515-201605'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '335464',
internalId:  '',
customField: '20100519-183811'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '335485',
internalId:  '',
customField: '20100425-193346'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '335569',
internalId:  '',
customField: '20100817-165348'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '335590',
internalId:  '',
customField: '20100409-190103'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '399817',
internalId:  '',
customField: '20100823-184627'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '304617',
internalId:  '',
customField: '20100409-111844'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '399838',
internalId:  '',
customField: '20100823-184607'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '355117',
internalId:  '',
customField: '20100824-102602'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '335632',
internalId:  '',
customField: '20100710-173747'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '276117',
internalId:  '',
customField: '20100219-144621'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '314817',
internalId:  '',
customField: '20090330-113300'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '21427',
internalId:  '',
customField: '20100410-095348'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '21432',
internalId:  '',
customField: '20070127-165500'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '355159',
internalId:  '',
customField: '20100411-081819'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '399880',
internalId:  '',
customField: '20100717-163753'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '46902',
internalId:  '',
customField: '20100817-165225'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '49902',
internalId:  '',
customField: '20100527-081240'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '374917',
internalId:  '',
customField: '20091210-172622'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '402338',
internalId:  '',
customField: '20100717-111305'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '261817',
internalId:  '',
customField: '20080416-154143'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '402359',
internalId:  '',
customField: '20100717-132011'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '402317',
internalId:  '',
customField: '20100706-165331'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '399901',
internalId:  '',
customField: '20100630-194018'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '401217',
internalId:  '',
customField: '20100710-173532'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '250317',
internalId:  '',
customField: '20100710-173546'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '247638',
internalId:  '',
customField: '20100824-102256'
};
webappMappings['7060']=webappMappings['7060-da8cd2aa58225d4740f51de695fd7190']={
webappId:    '7060',
documentId:  '261817',
internalId:  'da8cd2aa58225d4740f51de695fd7190',
customField: 'language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '18302',
internalId:  '',
customField: '20050419-100630'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '18303',
internalId:  '',
customField: '20050419-100630'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '47802',
internalId:  '',
customField: '20070307-094434'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '168117',
internalId:  '',
customField: '20090924-114339'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '355317',
internalId:  '',
customField: '20100410-185317'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '402380',
internalId:  '',
customField: '20100717-132923'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '402717',
internalId:  '',
customField: '20100717-133440'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '402738',
internalId:  '',
customField: '20100717-133836'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '402759',
internalId:  '',
customField: '20100717-141009'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '335653',
internalId:  '',
customField: '20091210-172016'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '335695',
internalId:  '',
customField: '20100705-185412'
};
webappMappings['1501']=webappMappings['1501-12222714']={
webappId:    '1501',
documentId:  '10684',
internalId:  '12222714',
customField: '1501'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '399859',
internalId:  '',
customField: '20100717-163644'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '228817',
internalId:  '',
customField: '20070925-112142'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '328217',
internalId:  '',
customField: '20100817-165214'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '324517',
internalId:  '',
customField: '20100420-122115'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '335506',
internalId:  '',
customField: '20100630-194545'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '325538',
internalId:  '',
customField: '20100607-223132'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '276138',
internalId:  '',
customField: '20090531-163434'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '276159',
internalId:  '',
customField: '20090518-205120'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '276180',
internalId:  '',
customField: '20090531-163611'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '276201',
internalId:  '',
customField: '20090510-223102'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '276222',
internalId:  '',
customField: '20090531-163518'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '276243',
internalId:  '',
customField: '20090525-155103'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '276264',
internalId:  '',
customField: '20090428-120723'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '293417',
internalId:  '',
customField: '20100410-181819'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '298917',
internalId:  '',
customField: '20091217-082149'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '300917',
internalId:  '',
customField: '20100720-133703'
};
var canonHostname = 'c4awrk05.aul.t-online.de';
var accountId     = 'ATOIX0INE2WJ';
var companyName   = 'S+C+H+I+E+S+S+S+P+O+R+T+';
var htmlTitle	  = 'Sch%C3%BCtzen+Unterfranken';
var metaKeywords  = 'Sportschie%C3%9Fen%2C+Bezirk+Unterfranken%2C+Schie%C3%9Fsport';
var metaContents  = 'Sch%C3%BCtzensport';
					                                                                    
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 */					                                                            
