/* [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','10682',jdecode('Home'),jdecode(''),'/10682.html','true',[],''],
	['PAGE','133601',jdecode('Mathcad+Upgrade+Angebote'),jdecode(''),'/133601.html','true',[],''],
	['PAGE','104301',jdecode('Mathcad+Prime+1+-+2+-+3+-+4'),jdecode(''),'/104301/home.html','true',[ 
		['PAGE','147901',jdecode('Prime+1+Neuigkeiten'),jdecode(''),'/104301/147901.html','true',[],''],
		['PAGE','155201',jdecode('neues+zu+Prime+1+-+2+-+3+-+4'),jdecode(''),'/104301/155201.html','true',[],''],
		['PAGE','148601',jdecode('Bilder'),jdecode(''),'/104301/148601.html','true',[],'']
	],''],
	['PAGE','128822',jdecode('Mathcad+15'),jdecode(''),'/128822/home.html','true',[ 
		['PAGE','130201',jdecode('Die+15+ist+da'),jdecode(''),'/128822/130201.html','true',[],''],
		['PAGE','129301',jdecode('Neue+Funnktionen'),jdecode(''),'/128822/129301.html','true',[],''],
		['PAGE','131301',jdecode('Neueste+Funktionen+%26+Verbesserungen+in+Mathcad+'),jdecode(''),'/128822/131301.html','true',[],''],
		['PAGE','130401',jdecode('Statistische+Versuchsplanung+%28Design+of+Experiments%2C+DOE%29'),jdecode(''),'/128822/130401.html','true',[],''],
		['PAGE','130422',jdecode('Knovel+Math-Inhalt'),jdecode(''),'/128822/130422.html','true',[],''],
		['PAGE','131101',jdecode('Integration+mit+Kornucopia-Software+'),jdecode(''),'/128822/131101.html','true',[],''],
		['PAGE','130443',jdecode('TrueNumbers-Integration'),jdecode(''),'/128822/130443.html','true',[],''],
		['PAGE','130464',jdecode('Excel+2007-Unterst%C3%BCtzung'),jdecode(''),'/128822/130464.html','true',[],''],
		['PAGE','130485',jdecode('Unterst%C3%BCtzung+von+Windows+7'),jdecode(''),'/128822/130485.html','true',[],''],
		['PAGE','129001',jdecode('Feature+Comparison+Chart'),jdecode(''),'/128822/129001.html','true',[],'']
	],''],
	['PAGE','14101',jdecode('Mathcad+14'),jdecode(''),'/14101/home.html','true',[ 
		['PAGE','15101',jdecode('Neues+in+Mathcad14'),jdecode(''),'/14101/15101.html','true',[],''],
		['PAGE','16501',jdecode('Funktionen+%2F++Verbesserungen'),jdecode(''),'/14101/16501.html','true',[],'']
	],''],
	['PAGE','128801',jdecode('Mathcad'),jdecode(''),'/128801/home.html','true',[ 
		['PAGE','14501',jdecode('Sonderangebot+%2F+Preise'),jdecode(''),'/128801/14501.html','true',[],''],
		['PAGE','19301',jdecode('Funktionen'),jdecode(''),'/128801/19301.html','true',[],''],
		['PAGE','107901',jdecode('Lizenztypen'),jdecode(''),'/128801/107901.html','true',[],''],
		['PAGE','16522',jdecode('Arbeitsbl%C3%A4tter+Vergleichsfunktion'),jdecode(''),'/128801/16522.html','true',[],''],
		['PAGE','16543',jdecode('Neue+und+verbesserte+Symbolik'),jdecode(''),'/128801/16543.html','true',[],''],
		['PAGE','16201',jdecode('Datenbl%C3%A4tter+und+Brosch%C3%BCren'),jdecode(''),'/128801/16201.html','true',[],''],
		['PAGE','142101',jdecode('Bibliotheken'),jdecode(''),'/128801/142101.html','true',[],''],
		['PAGE','142122',jdecode('Erweiterungspakete'),jdecode(''),'/128801/142122.html','true',[],''],
		['PAGE','142301',jdecode('eLearning+Library+'),jdecode(''),'/128801/142301.html','true',[],''],
		['PAGE','19101',jdecode('Aufzeichnung+von+Pr%C3%A4sentationen'),jdecode(''),'/128801/19101.html','true',[],''],
		['PAGE','29901',jdecode('Kostenlose+Testversion'),jdecode(''),'/128801/29901.html','true',[],''],
		['PAGE','109701',jdecode('Leistungsumfang+Wartung'),jdecode(''),'/128801/109701.html','true',[],''],
		['PAGE','121801',jdecode('Erste+Schritte+in+Mathcad'),jdecode(''),'/128801/121801.html','true',[],''],
		['PAGE','121822',jdecode('Kurzeinf%C3%BChrungsthemen'),jdecode(''),'/128801/121822.html','true',[],''],
		['PAGE','149901',jdecode('Beispiele'),jdecode(''),'/128801/149901.html','true',[],''],
		['PAGE','154501',jdecode('Mathcad+Blogs'),jdecode(''),'/128801/154501.html','true',[],'']
	],''],
	['PAGE','26001',jdecode('Arbortext'),jdecode(''),'/26001/home.html','true',[ 
		['PAGE','26201',jdecode('Brosch%C3%BCren+und+Datenbl%C3%A4tter'),jdecode(''),'/26001/26201.html','true',[],''],
		['PAGE','20501',jdecode('Arbortext+IsoDraw'),jdecode(''),'/26001/20501.html','true',[],''],
		['PAGE','106601',jdecode('Lizenzoptionen+%2F+Preise'),jdecode(''),'/26001/106601.html','true',[],''],
		['PAGE','21201',jdecode('Arbortext+IsoDraw-Vorteile'),jdecode(''),'/26001/21201.html','true',[],''],
		['PAGE','21101',jdecode('Arbortext+IsoDraw+Foundation'),jdecode(''),'/26001/21101.html','true',[],''],
		['PAGE','22901',jdecode('Arbotext+IsoDraw+CADprozess'),jdecode(''),'/26001/22901.html','true',[],''],
		['PAGE','22701',jdecode('Neuheiten'),jdecode(''),'/26001/22701.html','true',[],''],
		['PAGE','21401',jdecode('Brosch%C3%BCren+und+Datenbl%C3%A4tter'),jdecode(''),'/26001/21401.html','true',[],''],
		['PAGE','23101',jdecode('Pr%C3%A4sentationen'),jdecode(''),'/26001/23101.html','true',[],''],
		['PAGE','23201',jdecode('Anwenderberichte'),jdecode(''),'/26001/23201.html','true',[],''],
		['PAGE','23222',jdecode('Beispiele'),jdecode(''),'/26001/23222.html','true',[],''],
		['PAGE','26501',jdecode('ROI+Betrachtung'),jdecode(''),'/26001/26501.html','true',[],''],
		['PAGE','105901',jdecode('Kostenlose+WEB-Pr%C3%A4sentation'),jdecode(''),'/26001/105901.html','true',[],''],
		['PAGE','24901',jdecode('Arbortext+Editor'),jdecode(''),'/26001/24901.html','true',[],''],
		['PAGE','25201',jdecode('Funktionen'),jdecode(''),'/26001/25201.html','true',[],''],
		['PAGE','25501',jdecode('DITA+Resource+Center'),jdecode(''),'/26001/25501.html','true',[],''],
		['PAGE','25701',jdecode('Brosch%C3%BCren+%2F++Datenbl%C3%A4tter'),jdecode(''),'/26001/25701.html','true',[],'']
	],''],
	['PAGE','10688',jdecode('Kontakt'),jdecode(''),'/10688.html','true',[],''],
	['PAGE','11202',jdecode('Anfahrt'),jdecode(''),'/11202.html','true',[],''],
	['PAGE','10693',jdecode('Impressum'),jdecode(''),'/10693.html','true',[],''],
	['PAGE','12101',jdecode('Rechtshinweis'),jdecode(''),'/12101/home.html','true',[ 
		['PAGE','31801',jdecode('Eintrag+L%C3%B6schen'),jdecode(''),'/12101/31801.html','true',[],'']
	],''],
	['PAGE','11102',jdecode('G%C3%A4stebuch'),jdecode(''),'/11102/home.html','true',[ 
		['PAGE','11103',jdecode('Eintr%C3%A4ge'),jdecode(''),'/11102/11103.html','true',[],'']
	],'']];
var siteelementCount=62;
theSitetree.topTemplateName='TOI_Office_01';
theSitetree.paletteFamily='85A3C2';
theSitetree.keyvisualId='12230';
theSitetree.keyvisualName='kv_12230.jpg';
theSitetree.fontsetId='33368';
theSitetree.graphicsetId='14234';
theSitetree.contentColor='C6C6C6';
theSitetree.contentBGColor='293C4F';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'TOI_Office_01',
				paletteFamily: 	'85A3C2',
				keyvisualId: 	'12230',
				keyvisualName: 	'kv_12230.jpg',
				fontsetId: 		'33368',
				graphicsetId: 	'14234',
				contentColor: 	'C6C6C6',
				contentBGColor: '293C4F',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'000000',
				f_color: 		'000000',
				hasCustomLogo: 	'false',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['1002']=webappMappings['1002-11102atoix0in2ynv']={
webappId:    '1002',
documentId:  '11102',
internalId:  '11102atoix0in2ynv',
customField: 'action=form&icq=false'
};
webappMappings['1002']=webappMappings['1002-11102atoix0in2ynv']={
webappId:    '1002',
documentId:  '11103',
internalId:  '11102atoix0in2ynv',
customField: 'action=list'
};
webappMappings['2001']=webappMappings['2001-location']={
webappId:    '2001',
documentId:  '11202',
internalId:  'location',
customField: 'language:de;country:DE;isIncluded:false;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '10682',
internalId:  '',
customField: '20100726-100831'
};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '10682',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '11102',
internalId:  '',
customField: '20040926-222856'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '11103',
internalId:  '',
customField: '20040926-222856'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '10688',
internalId:  '',
customField: '20060811-102630'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '11202',
internalId:  '',
customField: '20040926-230639'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '10693',
internalId:  '',
customField: '20090602-110438'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '12101',
internalId:  '',
customField: '20100929-144427'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14101',
internalId:  '',
customField: '20100726-100851'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14501',
internalId:  '',
customField: '20110324-111359'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '15101',
internalId:  '',
customField: '20100726-103030'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '16201',
internalId:  '',
customField: '20110329-130200'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '16501',
internalId:  '',
customField: '20081011-161741'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '16522',
internalId:  '',
customField: '20100726-101410'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '16543',
internalId:  '',
customField: '20100726-101618'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '147901',
internalId:  '',
customField: '20110629-103952'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '19301',
internalId:  '',
customField: '20110324-113952'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '19101',
internalId:  '',
customField: '20100726-102304'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '20501',
internalId:  '',
customField: '20081016-092612'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '21101',
internalId:  '',
customField: '20081016-092743'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '21201',
internalId:  '',
customField: '20081016-092654'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '21401',
internalId:  '',
customField: '20100402-184418'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '22701',
internalId:  '',
customField: '20081016-092934'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '25701',
internalId:  '',
customField: '20081016-103853'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '22901',
internalId:  '',
customField: '20081016-092852'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '23201',
internalId:  '',
customField: '20081016-113533'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '23101',
internalId:  '',
customField: '20081016-112036'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '23222',
internalId:  '',
customField: '20081016-095126'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '24901',
internalId:  '',
customField: '20081016-100922'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '25201',
internalId:  '',
customField: '20081016-101705'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '25501',
internalId:  '',
customField: '20081016-102534'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '26001',
internalId:  '',
customField: '20081016-104251'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '26201',
internalId:  '',
customField: '20100402-180352'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '26501',
internalId:  '',
customField: '20081105-141622'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '104301',
internalId:  '',
customField: '20110629-104930'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '29901',
internalId:  '',
customField: '20110328-110915'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '130422',
internalId:  '',
customField: '20100721-185150'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '105901',
internalId:  '',
customField: '20100915-112952'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '31801',
internalId:  '',
customField: '20090622-135031'
};
webappMappings['1008']=webappMappings['1008-40816544']={
webappId:    '1008',
documentId:  '31801',
internalId:  '40816544',
customField: 'de:DE::;language:de;country:DE;'
};
webappMappings['1008']=webappMappings['1008-42753374']={
webappId:    '1008',
documentId:  '29901',
internalId:  '42753374',
customField: 'de:DE::;language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '129001',
internalId:  '',
customField: '20100721-185332'
};
webappMappings['1008']=webappMappings['1008-42753374']={
webappId:    '1008',
documentId:  '104301',
internalId:  '42753374',
customField: 'de:DE::;language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '129301',
internalId:  '',
customField: '20110629-105028'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '130201',
internalId:  '',
customField: '20100726-103256'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '130401',
internalId:  '',
customField: '20110329-105326'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '121801',
internalId:  '',
customField: '20110324-123829'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '121822',
internalId:  '',
customField: '20100609-184713'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '128801',
internalId:  '',
customField: '20110629-100836'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '128822',
internalId:  '',
customField: '20110629-104745'
};
webappMappings['1008']=webappMappings['1008-42763253']={
webappId:    '1008',
documentId:  '105901',
internalId:  '42763253',
customField: 'de:DE::;language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '106601',
internalId:  '',
customField: '20100923-102532'
};
webappMappings['1008']=webappMappings['1008-42812740']={
webappId:    '1008',
documentId:  '106601',
internalId:  '42812740',
customField: 'de:DE::;language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '107901',
internalId:  '',
customField: '20110324-114333'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '109701',
internalId:  '',
customField: '20110329-144816'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '130443',
internalId:  '',
customField: '20100721-185238'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '130464',
internalId:  '',
customField: '20100722-105532'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '130485',
internalId:  '',
customField: '20100917-122249'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '131101',
internalId:  '',
customField: '20100722-104149'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '131301',
internalId:  '',
customField: '20110324-103554'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '133601',
internalId:  '',
customField: '20110222-120310'
};
webappMappings['1008']=webappMappings['1008-44618729']={
webappId:    '1008',
documentId:  '133601',
internalId:  '44618729',
customField: 'de:DE::;language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '142122',
internalId:  '',
customField: '20100909-115153'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '142301',
internalId:  '',
customField: '20100906-163806'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '142101',
internalId:  '',
customField: '20100909-115021'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '148601',
internalId:  '',
customField: '20110112-161623'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '149901',
internalId:  '',
customField: '20110329-111238'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '154501',
internalId:  '',
customField: '20110330-112752'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '155201',
internalId:  '',
customField: '20111104-115952'
};
var canonHostname = 'c4awrk04.aul.t-online.de';
var accountId     = 'ATOIX0IN2YNV';
var companyName   = 'GEKOR+IT+Beratung+und+Vertrieb';
var htmlTitle	  = 'GEKOR+IT+Beratung+und+Vertrieb';
var metaKeywords  = 'GEKOR%2C+EDV%2C+Software%2C+Dienstleistungen%2CSystemhaus%2C+Support%2C+Schulung%2C++Projektplan%2C+CAD%2C+Mathcad%2C+ISODRAW%2CMEDUSA%2C+STHENO%2C+CADDS+5%2C+Pro%2FE%2CIQwebPro%2FEngineer%2C+Mathcad.%2C+ISODRAW';
var metaContents  = 'Willkommen+beim+Systemhaus+GEKOR.+Wir+bieten+EDV+Hard-+und+Softwareloesungen+aus+einer+Hand.++';
					                                                                    
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 */					                                                            

