/* [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('Startseite'),jdecode(''),'/39994.html','true',[],''],
	['PAGE','40864',jdecode('Vereinsgeschichte'),jdecode(''),'/40864.html','true',[],''],
	['PAGE','40882',jdecode('Vorstand'),jdecode(''),'/40882/home.html','true',[ 
		['PAGE','261101',jdecode('Spielausschuss'),jdecode(''),'/40882/261101.html','true',[],'']
	],''],
	['PAGE','43281',jdecode('Schiedsrichter'),jdecode(''),'/43281.html','true',[],''],
	['PAGE','43123',jdecode('Vereinsheim'),jdecode(''),'/43123.html','true',[],''],
	['PAGE','111601',jdecode('Anfahrt'),jdecode(''),'/111601.html','true',[],''],
	['PAGE','110701',jdecode('Neuigkeiten'),jdecode(''),'/110701.html','true',[],''],
	['PAGE','43245',jdecode('Termine'),jdecode(''),'/43245.html','true',[],''],
	['PAGE','191301',jdecode('Vereinszeitung'),jdecode(''),'/191301/home.html','true',[ 
		['PAGE','191322',jdecode('DJK+News+2009'),jdecode(''),'/191301/191322.html','true',[],''],
		['PAGE','240101',jdecode('DJK+News+2010'),jdecode(''),'/191301/240101.html','true',[],''],
		['PAGE','283801',jdecode('DJK+News+2011'),jdecode(''),'/191301/283801.html','true',[],'']
	],''],
	['PAGE','42883',jdecode('Presseberichte'),jdecode(''),'/42883/home.html','true',[ 
		['PAGE','42892',jdecode('2007'),jdecode(''),'/42883/42892.html','true',[],''],
		['PAGE','42901',jdecode('2008'),jdecode(''),'/42883/42901.html','true',[],''],
		['PAGE','109801',jdecode('2009'),jdecode(''),'/42883/109801.html','true',[],''],
		['PAGE','201001',jdecode('2010'),jdecode(''),'/42883/201001.html','true',[],''],
		['PAGE','268501',jdecode('2011'),jdecode(''),'/42883/268501.html','true',[],''],
		['PAGE','336701',jdecode('2012'),jdecode(''),'/42883/336701.html','true',[],'']
	],''],
	['PAGE','80501',jdecode('Auszeichnungen'),jdecode(''),'/80501/home.html','true',[ 
		['PAGE','81701',jdecode('Sepp-Herberger-Preis'),jdecode(''),'/80501/81701.html','true',[],''],
		['PAGE','81722',jdecode('Egidius-Braun-F%C3%B6rderpreis'),jdecode(''),'/80501/81722.html','true',[],''],
		['PAGE','199201',jdecode('Grosser+Stern+in+Bronze'),jdecode(''),'/80501/199201.html','true',[],''],
		['PAGE','200401',jdecode('Kleiner+Stern+in+Silber'),jdecode(''),'/80501/200401.html','true',[],'']
	],''],
	['PAGE','55101',jdecode('Sportliche+Erfolge'),jdecode(''),'/55101.html','true',[],''],
	['PAGE','43236',jdecode('AH+%2F+A'),jdecode(''),'/43236.html','true',[],''],
	['PAGE','279301',jdecode('AH+%2F+C+%C3%9C+50'),jdecode(''),'/279301.html','true',[],''],
	['PAGE','40909',jdecode('Aktive'),jdecode(''),'/40909/home.html','true',[ 
		['PAGE','40918',jdecode('1.+Mannschaft'),jdecode(''),'/40909/40918.html','true',[],''],
		['PAGE','40927',jdecode('2.+Mannschaft'),jdecode(''),'/40909/40927.html','true',[],'']
	],''],
	['PAGE','40945',jdecode('Jugend'),jdecode(''),'/40945/home.html','true',[ 
		['PAGE','40954',jdecode('G-Junioren'),jdecode(''),'/40945/40954.html','true',[],''],
		['PAGE','40963',jdecode('F-Junioren'),jdecode(''),'/40945/40963.html','true',[],''],
		['PAGE','41517',jdecode('E-Junioren'),jdecode(''),'/40945/41517.html','true',[],''],
		['PAGE','40972',jdecode('D-Junioren'),jdecode(''),'/40945/40972.html','true',[],''],
		['PAGE','40981',jdecode('C-Junioren'),jdecode(''),'/40945/40981.html','true',[],''],
		['PAGE','40999',jdecode('B-Junioren+1'),jdecode(''),'/40945/40999.html','true',[],''],
		['PAGE','174401',jdecode('B-Junioren+2'),jdecode(''),'/40945/174401.html','true',[],''],
		['PAGE','41008',jdecode('A-Junioren'),jdecode(''),'/40945/41008.html','true',[],'']
	],''],
	['PAGE','331001',jdecode('SFV+Hallenrunde+11%2F12'),jdecode(''),'/331001.html','true',[],''],
	['PAGE','309301',jdecode('Frauen'),jdecode(''),'/309301.html','true',[],''],
	['PAGE','41804',jdecode('Jugendturniere'),jdecode(''),'/41804/home.html','true',[ 
		['PAGE','41831',jdecode('Werner+Makulik+Turnier'),jdecode(''),'/41804/41831.html','true',[],''],
		['PAGE','136101',jdecode('Manfred+M%C3%BCller+Turnier'),jdecode(''),'/41804/136101.html','true',[],'']
	],''],
	['PAGE','41849',jdecode('Alois-Lauer-Turnier'),jdecode(''),'/41849/home.html','true',[ 
		['PAGE','41950',jdecode('Presseberichte'),jdecode(''),'/41849/41950.html','true',[],''],
		['PAGE','41932',jdecode('20.+Alois-Lauer-Turnier'),jdecode(''),'/41849/41932.html','true',[],''],
		['PAGE','41941',jdecode('21.+Alois-Lauer-Turnier'),jdecode(''),'/41849/41941.html','true',[],''],
		['PAGE','73001',jdecode('22.+Alois-Lauer-Turnier'),jdecode(''),'/41849/73001.html','true',[],''],
		['PAGE','234501',jdecode('23.+Alois-Lauer-Turnier'),jdecode(''),'/41849/234501.html','true',[],''],
		['PAGE','254201',jdecode('24.+Alois-Lauer-Turnier'),jdecode(''),'/41849/254201.html','true',[],''],
		['PAGE','340201',jdecode('25.+Alois-Lauer-Turnier'),jdecode(''),'/41849/340201.html','true',[],'']
	],''],
	['PAGE','47822',jdecode('Intern.+U14-Turnier'),jdecode(''),'/47822/home.html','true',[ 
		['PAGE','250901',jdecode('Presse'),jdecode(''),'/47822/250901.html','true',[],''],
		['PAGE','42771',jdecode('1.+Int.+U14-Turnier'),jdecode(''),'/47822/42771.html','true',[],''],
		['PAGE','41858',jdecode('2.+Int.+U14-Turnier'),jdecode(''),'/47822/41858.html','true',[],''],
		['PAGE','61101',jdecode('3.+Int.+U14-Turnier'),jdecode(''),'/47822/61101.html','true',[],''],
		['PAGE','180601',jdecode('4.+Int.+U14-Turnier'),jdecode(''),'/47822/180601.html','true',[],''],
		['PAGE','250601',jdecode('5.+Int.+U14-Turnier'),jdecode(''),'/47822/250601.html','true',[],''],
		['PAGE','292401',jdecode('Werbepartner'),jdecode(''),'/47822/292401.html','true',[],'']
	],''],
	['PAGE','58501',jdecode('Schuloffensive'),jdecode(''),'/58501/home.html','true',[ 
		['PAGE','110911',jdecode('Sport%2FFussball+AG'),jdecode(''),'/58501/110911.html','true',[],'']
	],''],
	['PAGE','110974',jdecode('Sozialengagement'),jdecode(''),'/110974.html','true',[],''],
	['PAGE','44701',jdecode('Kunstrasenplatz'),jdecode(''),'/44701.html','true',[],''],
	['PAGE','40873',jdecode('Mitglied+%26+Satzung'),jdecode(''),'/40873.html','true',[],''],
	['PAGE','43335',jdecode('F%C3%B6rderverein'),jdecode(''),'/43335.html','true',[],''],
	['PAGE','43290',jdecode('Werbepartner'),jdecode(''),'/43290.html','true',[],''],
	['PAGE','40936',jdecode('Interessante+Links'),jdecode(''),'/40936.html','true',[],''],
	['PAGE','45801',jdecode('Media'),jdecode(''),'/45801.html','true',[],''],
	['PAGE','41027',jdecode('G%C3%A4stebuch'),jdecode(''),'/41027/home.html','true',[ 
		['PAGE','41026',jdecode('Eintr%C3%A4ge'),jdecode(''),'/41027/41026.html','true',[],'']
	],''],
	['PAGE','41047',jdecode('Bildergalerie'),jdecode(''),'/41047.html','true',[],''],
	['PAGE','41017',jdecode('Impressum'),jdecode(''),'/41017.html','true',[],'']];
var siteelementCount=74;
theSitetree.topTemplateName='Fussball07';
theSitetree.paletteFamily='435EB5';
theSitetree.keyvisualId='10481';
theSitetree.keyvisualName='kv_10481.jpg';
theSitetree.fontsetId='26618';
theSitetree.graphicsetId='13431';
theSitetree.contentColor='FFFFFF';
theSitetree.contentBGColor='7D7D7D';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Fussball07',
				paletteFamily: 	'435EB5',
				keyvisualId: 	'10481',
				keyvisualName: 	'kv_10481.jpg',
				fontsetId: 		'26618',
				graphicsetId: 	'13431',
				contentColor: 	'FFFFFF',
				contentBGColor: '7D7D7D',
				a_color: 		'B7B7B7',
				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:     'true'
			  };
var webappMappings = {};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '39994',
internalId:  '1006',
customField: '1006'
};
webappMappings['1002']=webappMappings['1002-41027atoix0irk3qq']={
webappId:    '1002',
documentId:  '41027',
internalId:  '41027atoix0irk3qq',
customField: 'action=form&icq=false'
};
webappMappings['1002']=webappMappings['1002-41027atoix0irk3qq']={
webappId:    '1002',
documentId:  '41026',
internalId:  '41027atoix0irk3qq',
customField: 'action=list'
};
webappMappings['1007']=webappMappings['1007-118bc1f9027']={
webappId:    '1007',
documentId:  '41047',
internalId:  '118bc1f9027',
customField: 'g.132u1ota0.ffpv8mn226.1s'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '39994',
internalId:  '',
customField: '20120209-083848'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40864',
internalId:  '',
customField: '20120207-161941'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40873',
internalId:  '',
customField: '20111031-112823'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40882',
internalId:  '',
customField: '20110822-175033'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '111601',
internalId:  '',
customField: '20090726-190927'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40909',
internalId:  '',
customField: '20111206-084628'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40918',
internalId:  '',
customField: '20111206-084701'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40927',
internalId:  '',
customField: '20111128-092227'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40945',
internalId:  '',
customField: '20110825-130543'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40954',
internalId:  '',
customField: '20111219-090343'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40963',
internalId:  '',
customField: '20111219-091229'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40972',
internalId:  '',
customField: '20111219-091738'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40981',
internalId:  '',
customField: '20111219-091951'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40999',
internalId:  '',
customField: '20111222-080413'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41008',
internalId:  '',
customField: '20111206-090014'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40936',
internalId:  '',
customField: '20110921-053245'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41027',
internalId:  '',
customField: '20080909-141816'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41026',
internalId:  '',
customField: '20080317-103653'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41047',
internalId:  '',
customField: '20080320-065441'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41017',
internalId:  '',
customField: '20101117-231848'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41517',
internalId:  '',
customField: '20111219-091054'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41804',
internalId:  '',
customField: '20101116-154712'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41831',
internalId:  '',
customField: '20110810-191058'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41849',
internalId:  '',
customField: '20080821-152008'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41858',
internalId:  '',
customField: '20100203-225525'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41932',
internalId:  '',
customField: '20080821-150804'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41941',
internalId:  '',
customField: '20080821-150528'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41950',
internalId:  '',
customField: '20110208-184313'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '250601',
internalId:  '',
customField: '20110506-174531'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '309301',
internalId:  '',
customField: '20111219-092407'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '80501',
internalId:  '',
customField: '20080822-145043'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '81701',
internalId:  '',
customField: '20080822-150338'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '81722',
internalId:  '',
customField: '20090316-174746'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '292401',
internalId:  '',
customField: '20110430-111339'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '279301',
internalId:  '',
customField: '20110330-163541'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42771',
internalId:  '',
customField: '20100122-000034'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42883',
internalId:  '',
customField: '20090107-063347'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42892',
internalId:  '',
customField: '20080821-133314'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42901',
internalId:  '',
customField: '20090107-063415'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43123',
internalId:  '',
customField: '20111206-090625'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43245',
internalId:  '',
customField: '20120117-184817'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43236',
internalId:  '',
customField: '20110913-231028'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44701',
internalId:  '',
customField: '20080821-132108'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45801',
internalId:  '',
customField: '20080821-131308'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43281',
internalId:  '',
customField: '20101123-113531'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43335',
internalId:  '',
customField: '20111031-113907'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43290',
internalId:  '',
customField: '20120207-161827'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '250901',
internalId:  '',
customField: '20110504-072204'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '47822',
internalId:  '',
customField: '20100128-221335'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '55101',
internalId:  '',
customField: '20111024-153032'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '58501',
internalId:  '',
customField: '20080821-134753'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '61101',
internalId:  '',
customField: '20100203-230043'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '73001',
internalId:  '',
customField: '20100212-161032'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '201001',
internalId:  '',
customField: '20101207-110429'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '199201',
internalId:  '',
customField: '20091201-203935'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '200401',
internalId:  '',
customField: '20091215-073648'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '136101',
internalId:  '',
customField: '20110921-052221'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '109801',
internalId:  '',
customField: '20100331-230236'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '180601',
internalId:  '',
customField: '20110227-171628'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '110701',
internalId:  '',
customField: '20120117-184725'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '174401',
internalId:  '',
customField: '20111219-092127'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '254201',
internalId:  '',
customField: '20110208-184104'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '261101',
internalId:  '',
customField: '20110824-175540'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '268501',
internalId:  '',
customField: '20111222-075826'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '191301',
internalId:  '',
customField: '20111001-124917'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '191322',
internalId:  '',
customField: '20091116-120557'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '110911',
internalId:  '',
customField: '20090111-154636'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '110974',
internalId:  '',
customField: '20090126-175354'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '283801',
internalId:  '',
customField: '20111206-084409'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '331001',
internalId:  '',
customField: '20111222-081245'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '336701',
internalId:  '',
customField: '20120209-084214'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '340201',
internalId:  '',
customField: '20120202-120435'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '234501',
internalId:  '',
customField: '20100224-171611'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '240101',
internalId:  '',
customField: '20101123-113230'
};
var canonHostname = 'c4awrk01.aul.t-online.de';
var accountId     = 'ATOIX0IRK3QQ';
var companyName   = 'DJK+%22Eintracht%22+Dillingen';
var htmlTitle	  = 'DJK+%22Eintracht%22+Dillingen';
var metaKeywords  = 'DJK+Eintracht+Dillingen%2C+Jugendfussball%2C+Aktive%2C+Alt+Herren%2C+sportliche+Erfolge%2C+Alois-Lauer-Ged%C3%A4chtnisturnier%2C+gr%C3%B6%C3%9Ftes+saarl%C3%A4ndisches+Hallenjugendfussballturnier%2C+Internationales+U14-Jugendfussballturnier%2C+Schuloffensive%2C+Fussballgolf%2C+Fussballabzeichen%2C+Sozialengagement%2C+Freizeitaktivit%C3%A4ten%2C+Kunstrasenplatz+';
var metaContents  = 'DJK+Eintracht+Dillingen+-+Sparte+Fu%C3%9Fballgr%C3%B6%C3%9Ftes+saarl%C3%A4ndisches+HallenjugendfussballturnierInternationales+U14-Jugendfussballturnier+-+Zender+Orthop%C3%A4die+Super-Cupeines+der+besten+internationalen+Jugendfussballturniere+deutschlandweit';
					                                                                    
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 */					                                                            

