/* [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','4579',jdecode('Startseite'),jdecode(''),'/4579.html','true',[],''],
	['PAGE','56647',jdecode('Bilder+von+A+bis+Z'),jdecode(''),'/56647.html','true',[],''],
	['PAGE','63502',jdecode('Kleine+Freuden'),jdecode(''),'/63502.html','true',[],''],
	['PAGE','57902',jdecode('55+Kirchen'),jdecode(''),'/57902.html','true',[],''],
	['PAGE','70702',jdecode('Rapsbl%C3%BCte'),jdecode(''),'/70702.html','true',[],''],
	['PAGE','125201',jdecode('T%C3%BCrme'),jdecode(''),'/125201.html','true',[],''],
	['PAGE','18061',jdecode('T%C3%BCren'),jdecode(''),'/18061.html','true',[],''],
	['PAGE','47171',jdecode('Still-Life'),jdecode(''),'/47171.html','true',[],''],
	['PAGE','24347',jdecode('Poesie+'),jdecode(''),'/24347.html','true',[],''],
	['PAGE','28897',jdecode('M%C3%BChlen'),jdecode(''),'/28897.html','true',[],''],
	['PAGE','66202',jdecode('Br%C3%BCcken+-+1.'),jdecode(''),'/66202.html','true',[],''],
	['PAGE','140401',jdecode('Br%C3%BCcken+-+2.'),jdecode(''),'/140401.html','true',[],''],
	['PAGE','67706',jdecode('Erinnerungen'),jdecode(''),'/67706.html','true',[],''],
	['PAGE','44971',jdecode('Spiegelungen'),jdecode(''),'/44971.html','true',[],''],
	['PAGE','58802',jdecode('Der+alte+Eiderkanal'),jdecode(''),'/58802.html','true',[],''],
	['PAGE','52671',jdecode('Die+feuerrote+Seite'),jdecode(''),'/52671.html','true',[],''],
	['PAGE','62202',jdecode('Maritime+Seite'),jdecode(''),'/62202.html','true',[],''],
	['PAGE','48071',jdecode('Fensterb%C3%B6gen-Skulpturen'),jdecode(''),'/48071.html','true',[],''],
	['PAGE','299101',jdecode('Magische+Orte+in+Italien'),jdecode(''),'/299101.html','true',[],''],
	['PAGE','48971',jdecode('Magische+Orte+in+%C3%84gypten'),jdecode(''),'/48971.html','true',[],''],
	['PAGE','49002',jdecode('Mag.+Orte+in+Griechenland'),jdecode(''),'/49002.html','true',[],''],
	['PAGE','19179',jdecode('Mag.+Orte+in+Deutschland'),jdecode(''),'/19179.html','true',[],''],
	['PAGE','126501',jdecode('Rabelsund-Schleim%C3%BCnde'),jdecode(''),'/126501.html','true',[],''],
	['PAGE','132101',jdecode('*Strandhotel+Kappeln'),jdecode(''),'/132101.html','true',[],''],
	['PAGE','133901',jdecode('*Am+Hafen+1+-+Kappeln'),jdecode(''),'/133901.html','true',[],''],
	['PAGE','129101',jdecode('*Zimmerplatz+Kappeln'),jdecode(''),'/129101.html','true',[],''],
	['PAGE','123201',jdecode('GAG-Silo+Kappeln'),jdecode(''),'/123201.html','true',[],''],
	['PAGE','143301',jdecode('Museum+Kupferm%C3%BChle'),jdecode(''),'/143301.html','true',[],''],
	['PAGE','127901',jdecode('G%C3%BCter-Herrenh%C3%A4user'),jdecode(''),'/127901.html','true',[],''],
	['PAGE','126522',jdecode('Sch%C3%B6ne+alte+H%C3%A4user'),jdecode(''),'/126522.html','true',[],''],
	['PAGE','61137',jdecode('Thingplatz+Gulde'),jdecode(''),'/61137.html','true',[],''],
	['PAGE','62706',jdecode('Schnappsch%C3%BCsse'),jdecode(''),'/62706.html','true',[],''],
	['PAGE','146901',jdecode('Wilseder+Berg'),jdecode(''),'/146901.html','true',[],''],
	['PAGE','65202',jdecode('Flensburg'),jdecode(''),'/65202.html','true',[],''],
	['PAGE','127401',jdecode('Schleswig'),jdecode(''),'/127401.html','true',[],''],
	['PAGE','204801',jdecode('Wikinger+H%C3%A4user'),jdecode(''),'/204801.html','true',[],''],
	['PAGE','206501',jdecode('Landesgartenschau'),jdecode(''),'/206501.html','true',[],''],
	['PAGE','127422',jdecode('Gl%C3%BCcksburg'),jdecode(''),'/127422.html','true',[],''],
	['PAGE','56933',jdecode('Granitsteine'),jdecode(''),'/56933.html','true',[],''],
	['PAGE','56902',jdecode('Trafoh%C3%A4user'),jdecode(''),'/56902.html','true',[],''],
	['PAGE','58102',jdecode('Sonnenaufgang'),jdecode(''),'/58102.html','true',[],''],
	['PAGE','58129',jdecode('Sonnenuntergang'),jdecode(''),'/58129.html','true',[],''],
	['PAGE','160701',jdecode('Zaunromantik'),jdecode(''),'/160701.html','true',[],''],
	['PAGE','139501',jdecode('Alte+Bahnh%C3%B6fe-1'),jdecode(''),'/139501.html','true',[],''],
	['PAGE','163801',jdecode('Alte+Bahnh%C3%B6fe-2'),jdecode(''),'/163801.html','true',[],''],
	['PAGE','218801',jdecode('Bahnhof+Deekelsen'),jdecode(''),'/218801.html','true',[],''],
	['PAGE','198301',jdecode('Alter+Bahndamm+S%C3%B6rup'),jdecode(''),'/198301.html','true',[],''],
	['PAGE','233401',jdecode('Hundertwasser-Bahnhof'),jdecode(''),'/233401.html','true',[],''],
	['PAGE','335801',jdecode('Dresden'),jdecode(''),'/335801.html','true',[],''],
	['PAGE','158501',jdecode('Schwerin+u.+Ludwigslust'),jdecode(''),'/158501.html','true',[],''],
	['PAGE','252701',jdecode('Bahnstation+Pilchowice+'),jdecode(''),'/252701.html','true',[],''],
	['PAGE','152501',jdecode('Schlesien+-+M%C3%A4rz+2008'),jdecode(''),'/152501.html','true',[],''],
	['PAGE','257601',jdecode('Schlesien+-+Mai+2009'),jdecode(''),'/257601.html','true',[],''],
	['PAGE','61110',jdecode('Neuheim-Sandbek-Mehlby'),jdecode(''),'/61110.html','true',[],''],
	['PAGE','122422',jdecode('Krzyzany+-+Steinwalde'),jdecode(''),'/122422.html','true',[],''],
	['PAGE','175001',jdecode('Schloss+Nakomiady+'),jdecode(''),'/175001.html','true',[],''],
	['PAGE','172501',jdecode('Heiligelinde+u.+Wojnowo'),jdecode(''),'/172501.html','true',[],''],
	['PAGE','168901',jdecode('Pyramide+in+Rapa'),jdecode(''),'/168901.html','true',[],''],
	['PAGE','169801',jdecode('Die+Wolfsschanze'),jdecode(''),'/169801.html','true',[],''],
	['PAGE','176301',jdecode('Bilderbogen+Masuren'),jdecode(''),'/176301.html','true',[],''],
	['PAGE','180201',jdecode('Galindia'),jdecode(''),'/180201.html','true',[],''],
	['PAGE','183401',jdecode('Bild+der+Woche+2009'),jdecode(''),'/183401.html','true',[],''],
	['PAGE','292801',jdecode('Bild+der+Woche+2010'),jdecode(''),'/292801.html','true',[],''],
	['PAGE','340101',jdecode('Bild+der+Woche+2011'),jdecode(''),'/340101.html','true',[],''],
	['PAGE','370901',jdecode('Bild+der+Woche+2012'),jdecode(''),'/370901.html','true',[],''],
	['PAGE','220201',jdecode('Kulturschatz-Freienwill'),jdecode(''),'/220201.html','true',[],''],
	['PAGE','225901',jdecode('Unewatt'),jdecode(''),'/225901.html','true',[],''],
	['PAGE','228101',jdecode('Freienwill'),jdecode(''),'/228101.html','true',[],''],
	['PAGE','264901',jdecode('Husby'),jdecode(''),'/264901.html','true',[],''],
	['PAGE','270101',jdecode('Der+Oberlandkanal'),jdecode(''),'/270101.html','true',[],''],
	['PAGE','275801',jdecode('Danzig'),jdecode(''),'/275801.html','true',[],''],
	['PAGE','271801',jdecode('Stolp-Stettin-Elbing'),jdecode(''),'/271801.html','true',[],''],
	['PAGE','274001',jdecode('Kadinen+und+mehr...'),jdecode(''),'/274001.html','true',[],''],
	['PAGE','277301',jdecode('Marienburg-Pr.Holland'),jdecode(''),'/277301.html','true',[],''],
	['PAGE','305601',jdecode('Ko%C5%82obrzeg+%2F+Kolberg'),jdecode(''),'/305601.html','true',[],''],
	['PAGE','311501',jdecode('Moskau+u.+St.Petersburg'),jdecode(''),'/311501.html','true',[],''],
	['PAGE','317801',jdecode('Mandrogi+u.+Kishi+-+Russl.'),jdecode(''),'/317801.html','true',[],''],
	['PAGE','76856',jdecode('Kontakt+und+mehr...'),jdecode(''),'/76856.html','true',[],'']];
var siteelementCount=78;
theSitetree.topTemplateName='Simple';
theSitetree.paletteFamily='F9FADA';
theSitetree.keyvisualId='2558';
theSitetree.keyvisualName='blumen.jpg';
theSitetree.fontsetId='10346';
theSitetree.graphicsetId='10460';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='f9fada';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Simple',
				paletteFamily: 	'F9FADA',
				keyvisualId: 	'2558',
				keyvisualName: 	'blumen.jpg',
				fontsetId: 		'10346',
				graphicsetId: 	'10460',
				contentColor: 	'000000',
				contentBGColor: 'f9fada',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'857157',
				e_color: 		'AAAAAA',
				f_color: 		'817E7E',
				hasCustomLogo: 	'false',
				contentFontFace:'Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '4579',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4579',
internalId:  '',
customField: '20120204-150530'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '76856',
internalId:  '',
customField: '20111223-182654'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '63502',
internalId:  '',
customField: '20080920-113535'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '70702',
internalId:  '',
customField: '20110511-212308'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '65202',
internalId:  '',
customField: '20080904-200914'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '18061',
internalId:  '',
customField: '20080202-081323'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '47171',
internalId:  '',
customField: '20110203-135929'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '24347',
internalId:  '',
customField: '20071112-080130'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '28897',
internalId:  '',
customField: '20080228-122018'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '66202',
internalId:  '',
customField: '20080216-052416'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '67706',
internalId:  '',
customField: '20110317-065543'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44971',
internalId:  '',
customField: '20101016-173006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '58802',
internalId:  '',
customField: '20070120-144501'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '52671',
internalId:  '',
customField: '20070925-173127'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '62202',
internalId:  '',
customField: '20070916-181008'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '48071',
internalId:  '',
customField: '20040316-115719'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '48971',
internalId:  '',
customField: '20070130-051706'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '49002',
internalId:  '',
customField: '20071106-212122'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '19179',
internalId:  '',
customField: '20080905-231141'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '62706',
internalId:  '',
customField: '20110326-171456'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '56647',
internalId:  '',
customField: '20071203-144655'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '56933',
internalId:  '',
customField: '20080125-113429'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '56902',
internalId:  '',
customField: '20080618-061306'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '57902',
internalId:  '',
customField: '20080919-185809'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '61110',
internalId:  '',
customField: '20090217-151011'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '61137',
internalId:  '',
customField: '20071031-082534'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '58102',
internalId:  '',
customField: '20110602-055609'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '58129',
internalId:  '',
customField: '20110326-065502'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '252701',
internalId:  '',
customField: '20090514-205933'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '122422',
internalId:  '',
customField: '20090916-094320'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '123201',
internalId:  '',
customField: '20090216-014955'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '125201',
internalId:  '',
customField: '20110121-155537'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '126501',
internalId:  '',
customField: '20100508-192656'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '126522',
internalId:  '',
customField: '20111203-103029'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '127401',
internalId:  '',
customField: '20090527-141635'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '127422',
internalId:  '',
customField: '20080226-082543'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '127901',
internalId:  '',
customField: '20100803-065559'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '129101',
internalId:  '',
customField: '20090216-014856'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '132101',
internalId:  '',
customField: '20080211-003557'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '133901',
internalId:  '',
customField: '20080206-074359'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '139501',
internalId:  '',
customField: '20080923-221810'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '140401',
internalId:  '',
customField: '20080216-051045'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '143301',
internalId:  '',
customField: '20080218-193816'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '146901',
internalId:  '',
customField: '20080808-061824'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '152501',
internalId:  '',
customField: '20090515-175721'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '158501',
internalId:  '',
customField: '20090901-171756'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '160701',
internalId:  '',
customField: '20090626-122250'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '163801',
internalId:  '',
customField: '20081020-181909'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '168901',
internalId:  '',
customField: '20080525-114557'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '169801',
internalId:  '',
customField: '20080526-171732'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '172501',
internalId:  '',
customField: '20100114-170112'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '257601',
internalId:  '',
customField: '20090527-170028'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '175001',
internalId:  '',
customField: '20080531-064552'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '176301',
internalId:  '',
customField: '20110205-142840'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '180201',
internalId:  '',
customField: '20080613-221557'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '183401',
internalId:  '',
customField: '20091218-150917'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '264901',
internalId:  '',
customField: '20090625-204920'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '198301',
internalId:  '',
customField: '20080822-151713'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '204801',
internalId:  '',
customField: '20080902-161430'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '206501',
internalId:  '',
customField: '20080930-070217'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '270101',
internalId:  '',
customField: '20090723-231908'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '218801',
internalId:  '',
customField: '20081011-061653'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '220201',
internalId:  '',
customField: '20081017-093037'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '225901',
internalId:  '',
customField: '20081116-095455'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '228101',
internalId:  '',
customField: '20111210-151714'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '233401',
internalId:  '',
customField: '20081209-174159'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '271801',
internalId:  '',
customField: '20110225-142728'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '274001',
internalId:  '',
customField: '20090728-192444'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '275801',
internalId:  '',
customField: '20090729-185615'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '277301',
internalId:  '',
customField: '20090729-194134'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '292801',
internalId:  '',
customField: '20101219-144530'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '299101',
internalId:  '',
customField: '20100209-113900'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '305601',
internalId:  '',
customField: '20100424-082036'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '311501',
internalId:  '',
customField: '20100611-101104'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '317801',
internalId:  '',
customField: '20100706-092838'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '335801',
internalId:  '',
customField: '20101113-145737'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '340101',
internalId:  '',
customField: '20111223-181731'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '370901',
internalId:  '',
customField: '20120204-145927'
};
var canonHostname = 'c4awrk02.aul.t-online.de';
var accountId     = 'ATOIX0INLWPW';
var companyName   = '++++++++++++++++++++++Fritz+Wi%C3%9Femborski-Freienwill+';
var htmlTitle	  = 'Fritz+Wi%C3%9Femborski+Freienwill';
var metaKeywords  = 'Bilder+Gedichte+';
var metaContents  = 'Fritz+Wissemborski%2C+Freienwill';
					                                                                    
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 */					                                                            

