/* [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','39994',jdecode('Home'),jdecode(''),'/39994.html','true',[],''],
	['PAGE','172309',jdecode('Unser+Team'),jdecode(''),'/172309/home.html','true',[ 
		['PAGE','41216',jdecode('Khalida'),jdecode(''),'/172309/41216.html','true',[],''],
		['PAGE','172330',jdecode('Rebecca'),jdecode(''),'/172309/172330.html','true',[],''],
		['PAGE','172809',jdecode('Lena+Morena'),jdecode(''),'/172309/172809.html','true',[],''],
		['PAGE','172830',jdecode('Cora'),jdecode(''),'/172309/172830.html','true',[],''],
		['PAGE','188509',jdecode('Catalina'),jdecode(''),'/172309/188509.html','true',[],'']
	],''],
	['PAGE','41884',jdecode('Unser+Studio'),jdecode(''),'/41884/home.html','true',[ 
		['PAGE','87109',jdecode('Studiomietpreise'),jdecode(''),'/41884/87109.html','true',[],'']
	],''],
	['PAGE','174809',jdecode('Kids+%26+Teens'),jdecode(''),'/174809/home.html','true',[ 
		['PAGE','102209',jdecode('Orientalischer+Tanz+%2F+Bauchtanz'),jdecode(''),'/174809/102209.html','true',[],''],
		['PAGE','175109',jdecode('Show-%2FStreetdance'),jdecode(''),'/174809/175109.html','true',[],''],
		['PAGE','177309',jdecode('Zumba%C2%AE+'),jdecode(''),'/174809/177309.html','true',[],''],
		['PAGE','177609',jdecode('Latin-Dancefitness'),jdecode(''),'/174809/177609.html','true',[],'']
	],''],
	['PAGE','177009',jdecode('Erwachsene+Solotanz'),jdecode(''),'/177009/home.html','true',[ 
		['PAGE','177709',jdecode('Orientalischer+Tanz+%2F+Bauchtanz'),jdecode(''),'/177009/177709.html','true',[],''],
		['PAGE','180609',jdecode('Show-%2FStreetdance'),jdecode(''),'/177009/180609.html','true',[],''],
		['PAGE','181609',jdecode('Zumba%C2%AE-fitness+%22Join+the+Party%22'),jdecode(''),'/177009/181609.html','true',[],''],
		['PAGE','188530',jdecode('Flamencotanz'),jdecode(''),'/177009/188530.html','true',[],''],
		['PAGE','184609',jdecode('Line+Dance'),jdecode(''),'/177009/184609.html','true',[],'']
	],''],
	['PAGE','177030',jdecode('Erwachsene+Paartanz'),jdecode(''),'/177030/home.html','true',[ 
		['PAGE','182409',jdecode('Salsa%2C+Merengue%2C+Bachata'),jdecode(''),'/177030/182409.html','true',[],''],
		['PAGE','185009',jdecode('Tango+Argentino'),jdecode(''),'/177030/185009.html','true',[],''],
		['PAGE','185030',jdecode('Bachatango'),jdecode(''),'/177030/185030.html','true',[],'']
	],''],
	['PAGE','175909',jdecode('Was+ist+eigentlich...+%3F'),jdecode(''),'/175909/home.html','true',[ 
		['PAGE','100009',jdecode('Orientalischer+Tanz'),jdecode(''),'/175909/100009.html','true',[],''],
		['PAGE','148609',jdecode('Show-%2FStreetdance'),jdecode(''),'/175909/148609.html','true',[],''],
		['PAGE','116030',jdecode('Salsa%2C+Merengue%2C+Bachata'),jdecode(''),'/175909/116030.html','true',[],''],
		['PAGE','167709',jdecode('ZUMBA%C2%AE+-+fitness'),jdecode(''),'/175909/167709.html','true',[],''],
		['PAGE','183809',jdecode('Latin-Dancefitness'),jdecode(''),'/175909/183809.html','true',[],''],
		['PAGE','188551',jdecode('Flamencotanz'),jdecode(''),'/175909/188551.html','true',[],''],
		['PAGE','100051',jdecode('Line+Dance'),jdecode(''),'/175909/100051.html','true',[],''],
		['PAGE','100030',jdecode('Hip-Hop'),jdecode(''),'/175909/100030.html','true',[],'']
	],''],
	['PAGE','115709',jdecode('Kursinfos+auf+einen+Blick...'),jdecode(''),'/115709/home.html','true',[ 
		['PAGE','55030',jdecode('Laufende+Kurse'),jdecode(''),'/115709/55030.html','true',[],''],
		['PAGE','70809',jdecode('Kursgeb%C3%BChren+lfd.Kurse'),jdecode(''),'/115709/70809.html','true',[],''],
		['PAGE','113609',jdecode('Blockkurse'),jdecode(''),'/115709/113609.html','true',[],''],
		['PAGE','117509',jdecode('Kursgeb%C3%BChren+Blockkurse'),jdecode(''),'/115709/117509.html','true',[],''],
		['PAGE','97809',jdecode('Workshops'),jdecode(''),'/115709/97809.html','true',[],''],
		['PAGE','68309',jdecode('Stufeneinteilung+OT'),jdecode(''),'/115709/68309.html','true',[],''],
		['PAGE','48801',jdecode('Termine%2FVeranstaltungen+'),jdecode(''),'/115709/48801.html','true',[],'']
	],''],
	['PAGE','156730',jdecode('Auftritte%2FShows'),jdecode(''),'/156730.html','true',[],''],
	['PAGE','42435',jdecode('Galerie+bis+2007'),jdecode(''),'/42435/home.html','true',[ 
		['PAGE','62809',jdecode('Rundreise+durch+fr%C3%BChere+Zeiten'),jdecode(''),'/42435/62809.html','true',[],'']
	],''],
	['PAGE','53809',jdecode('Galerie+2008'),jdecode(''),'/53809.html','true',[],''],
	['PAGE','51801',jdecode('Galerie+2009'),jdecode(''),'/51801/home.html','true',[ 
		['PAGE','53709',jdecode('Hemerten+2009+%22Theater+Tr%C3%A4ume+...'),jdecode(''),'/51801/53709.html','true',[],''],
		['PAGE','69909',jdecode('TSZA+%22Tag+der+offenen+T%C3%BCr+2009%22'),jdecode(''),'/51801/69909.html','true',[],'']
	],''],
	['PAGE','162309',jdecode('Galerie+2011'),jdecode(''),'/162309.html','true',[],''],
	['PAGE','66009',jdecode('Zitate+und+Seelenschmeichler'),jdecode(''),'/66009.html','true',[],''],
	['PAGE','42501',jdecode('G%C3%A4stebuch'),jdecode(''),'/42501/home.html','true',[ 
		['PAGE','42500',jdecode('Eintr%C3%A4ge'),jdecode(''),'/42501/42500.html','true',[],'']
	],''],
	['PAGE','151009',jdecode('Tanzpartnersuche'),jdecode(''),'/151009.html','true',[],''],
	['PAGE','59509',jdecode('Kontakt%2CInfo%2CAnmeldung'),jdecode(''),'/59509/home.html','true',[ 
		['PAGE','59009',jdecode('Kontaktformular%2C+PDF-Anmeldungen'),jdecode(''),'/59509/59009.html','true',[],''],
		['PAGE','165809',jdecode('Internetanmeldung+Blockkurse'),jdecode(''),'/59509/165809.html','true',[],''],
		['PAGE','59209',jdecode('Impressum'),jdecode(''),'/59509/59209.html','true',[],'']
	],''],
	['PAGE','96909',jdecode('Anschrift%2FAnfahrt'),jdecode(''),'/96909.html','true',[],''],
	['PAGE','41501',jdecode('Links'),jdecode(''),'/41501.html','true',[],''],
	['PAGE','42872',jdecode('Mondkalender'),jdecode(''),'/42872.html','true',[],'']];
var siteelementCount=60;
theSitetree.topTemplateName='Litfass';
theSitetree.paletteFamily='F4EBCE';
theSitetree.keyvisualId='11035';
theSitetree.keyvisualName='kv_11035.jpg';
theSitetree.fontsetId='32074';
theSitetree.graphicsetId='13768';
theSitetree.contentColor='48463E';
theSitetree.contentBGColor='F4EBCE';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Litfass',
				paletteFamily: 	'F4EBCE',
				keyvisualId: 	'11035',
				keyvisualName: 	'kv_11035.jpg',
				fontsetId: 		'32074',
				graphicsetId: 	'13768',
				contentColor: 	'48463E',
				contentBGColor: 'F4EBCE',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'000000',
				f_color: 		'000000',
				hasCustomLogo: 	'true',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '39994',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '39994',
internalId:  '',
customField: '20120206-172017'
};
webappMappings['7060']=webappMappings['7060-0d26f92a05a4b5c5ece07352262afd9a']={
webappId:    '7060',
documentId:  '53709',
internalId:  '0d26f92a05a4b5c5ece07352262afd9a',
customField: 'language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41216',
internalId:  '',
customField: '20111211-222448'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '53709',
internalId:  '',
customField: '20090830-214631'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '59009',
internalId:  '',
customField: '20120211-162513'
};
webappMappings['1008']=webappMappings['1008-61590539']={
webappId:    '1008',
documentId:  '59009',
internalId:  '61590539',
customField: 'de:DE::;language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42501',
internalId:  '',
customField: '20111228-140956'
};
webappMappings['1002']=webappMappings['1002-42501atoix0i7hm61']={
webappId:    '1002',
documentId:  '42501',
internalId:  '42501atoix0i7hm61',
customField: 'action=form&icq=false'
};
webappMappings['1007']=webappMappings['1007-11b2dadaa4e']={
webappId:    '1007',
documentId:  '42435',
internalId:  '11b2dadaa4e',
customField: 'g.13cmqfq9i.59nrvc6a9ae.3o'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42435',
internalId:  '',
customField: '20091009-195949'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41501',
internalId:  '',
customField: '20110919-103620'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41884',
internalId:  '',
customField: '20111228-143116'
};
webappMappings['1002']=webappMappings['1002-42501atoix0i7hm61']={
webappId:    '1002',
documentId:  '42500',
internalId:  '42501atoix0i7hm61',
customField: 'action=list'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42500',
internalId:  '',
customField: '20080823-152030'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '53809',
internalId:  '',
customField: '20090717-202449'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '115709',
internalId:  '',
customField: '20120211-164158'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '96909',
internalId:  '',
customField: '20111230-182706'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '51801',
internalId:  '',
customField: '20091009-200206'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '48801',
internalId:  '',
customField: '20111216-164511'
};
webappMappings['7091']=webappMappings['7091-11631']={
webappId:    '7091',
documentId:  '42872',
internalId:  '11631',
customField: 'align:left;language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42872',
internalId:  '',
customField: '20090115-123136'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '55030',
internalId:  '',
customField: '20120206-164253'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '100030',
internalId:  '',
customField: '20111216-160231'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '102209',
internalId:  '',
customField: '20120116-171525'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '66009',
internalId:  '',
customField: '20111125-181545'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '59209',
internalId:  '',
customField: '20110819-185703'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '59509',
internalId:  '',
customField: '20111216-190651'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '70809',
internalId:  '',
customField: '20111202-163114'
};
webappMappings['7060']=webappMappings['7060-ca5c4c98499e39b6adf53fed201c78ca']={
webappId:    '7060',
documentId:  '62809',
internalId:  'ca5c4c98499e39b6adf53fed201c78ca',
customField: 'language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '62809',
internalId:  '',
customField: '20090925-093344'
};
webappMappings['7060']=webappMappings['7060-d488ee53c20091cd7bed0f30c2bb97aa']={
webappId:    '7060',
documentId:  '69909',
internalId:  'd488ee53c20091cd7bed0f30c2bb97aa',
customField: 'language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '175109',
internalId:  '',
customField: '20111216-153258'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '68309',
internalId:  '',
customField: '20110208-204911'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '97809',
internalId:  '',
customField: '20110908-181613'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '69909',
internalId:  '',
customField: '20091226-164255'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '100009',
internalId:  '',
customField: '20111216-140853'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '87109',
internalId:  '',
customField: '20111202-161515'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '100051',
internalId:  '',
customField: '20111216-160207'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '162309',
internalId:  '',
customField: '20111201-125950'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '113609',
internalId:  '',
customField: '20111216-163854'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '165809',
internalId:  '',
customField: '20111021-185201'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '116030',
internalId:  '',
customField: '20111213-143023'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '117509',
internalId:  '',
customField: '20111216-164000'
};
webappMappings['1501']=webappMappings['1501-41644216']={
webappId:    '1501',
documentId:  '39994',
internalId:  '41644216',
customField: '1501'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '148609',
internalId:  '',
customField: '20111213-141930'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '151009',
internalId:  '',
customField: '20111228-141108'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '188509',
internalId:  '',
customField: '20120206-173158'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '156730',
internalId:  '',
customField: '20120116-174244'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '172309',
internalId:  '',
customField: '20120131-215540'
};
webappMappings['1008']=webappMappings['1008-73240676']={
webappId:    '1008',
documentId:  '165809',
internalId:  '73240676',
customField: 'de:DE::;language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '167709',
internalId:  '',
customField: '20120130-173721'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '172330',
internalId:  '',
customField: '20111210-175119'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '172809',
internalId:  '',
customField: '20111211-220758'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '172830',
internalId:  '',
customField: '20111228-141852'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '174809',
internalId:  '',
customField: '20111216-152007'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '175909',
internalId:  '',
customField: '20120206-162841'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '177309',
internalId:  '',
customField: '20120116-171654'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '177009',
internalId:  '',
customField: '20120131-215742'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '177609',
internalId:  '',
customField: '20111216-153504'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '177709',
internalId:  '',
customField: '20111216-151016'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '180609',
internalId:  '',
customField: '20111216-151055'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '177030',
internalId:  '',
customField: '20111216-162743'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '181609',
internalId:  '',
customField: '20120130-173225'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '182409',
internalId:  '',
customField: '20120116-172218'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '183809',
internalId:  '',
customField: '20111216-152932'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '184609',
internalId:  '',
customField: '20120116-171901'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '185009',
internalId:  '',
customField: '20111216-162700'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '185030',
internalId:  '',
customField: '20111216-162700'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '188530',
internalId:  '',
customField: '20120206-164526'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '188551',
internalId:  '',
customField: '20120206-163020'
};
var canonHostname = 'c4awrk03.aul.t-online.de';
var accountId     = 'ATOIX0I7HM61';
var companyName   = 'KHALIDA+Studio+f%C3%BCr+Tanz+und+Bewegung+';
var htmlTitle	  = 'Khalida+Studio+f%C3%BCr+Tanz+und+Bewegung+-+Tanzen%2C+Fitness%2C+Spa%C3%9F+';
var metaKeywords  = 'Tanz%2C+Tanzen%2C+Bauchtanz%2C+Zumba%2C+Flamenco%2C+Hip-Hop%2C+Salsa%2C+Line-Dance%2C+Unterricht%2C+Tanzschule%2C+Bauchtanzunterricht%2C+Kindertanz%2C+Bauchtanz+f%C3%BCr+Kinder%2C+Schule%2C+Bauchtanzschule%2C+orientalische+Tanzschule%2C+Kurs%2C+Kurse%2C+Anf%C3%A4nger%2C+Mittelstufe%2C+Fortgeschrittene%2C+Auftritte%2C+Show%2C+Tanzshow%2C+Geburtstag%2C+Feste%2C+Verlobung%2C+Betriebsfeier%2C++gepr%C3%BCfte+Trainerin+f%C3%BCr+orientalischen+Tanz%2C+Khalida%2C+Bavaria%2C+Bavaria-Business-Center%2C+Teenager%2C+Teens%2C+Jugendliche%2C+Erwachsene%2C+Einsteiger%2C+Vorkenntnisse%2C+professioneller+Unterricht%2C+Grundbewegungen%2C+elementare+Grundbewegungen%2C+Schrittkombinationen%2C+Augsburg%2C+Neus%C3%A4%C3%9F%2C+Gablingen%2C+Langweid';
var metaContents  = 'Informationen+%C3%BCber+Unterricht%2FKurse+f%C3%BCr+orientalischen+Tanz%2C+Bauchtanz%2C+Showtanz+und+Streetdance%2C+Salsa%2C+Flamenco%2C+Line-Dance+...++Auftritte+und+Show';
					                                                                    
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 */					                                                            

