/* [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','40555',jdecode('Zur+Person+%2F+Biografie'),jdecode(''),'/40555.html','true',[],''],
	['PAGE','40564',jdecode('B%C3%BCcher'),jdecode(''),'/40564.html','true',[],''],
	['PAGE','40573',jdecode('Verkaufsstellen'),jdecode(''),'/40573.html','true',[],''],
	['PAGE','40582',jdecode('Gro%C3%9Fe+Bensberger+KG'),jdecode(''),'/40582/home.html','true',[ 
		['PAGE','40777',jdecode('Wappen+und+Logo'),jdecode(''),'/40582/40777.html','true',[],''],
		['PAGE','40786',jdecode('Standarte'),jdecode(''),'/40582/40786.html','true',[],''],
		['PAGE','40672',jdecode('Kinderdreigestirn'),jdecode(''),'/40582/40672.html','true',[],''],
		['PAGE','40795',jdecode('Tanzcorps+1'),jdecode(''),'/40582/40795.html','true',[],''],
		['PAGE','43403',jdecode('Tanzcorps+2'),jdecode(''),'/40582/43403.html','true',[],''],
		['PAGE','40681',jdecode('Senat+1'),jdecode(''),'/40582/40681.html','true',[],''],
		['PAGE','43381',jdecode('Senat+2'),jdecode(''),'/40582/43381.html','true',[],''],
		['PAGE','62001',jdecode('Junge+Bensberger'),jdecode(''),'/40582/62001.html','true',[],''],
		['PAGE','40690',jdecode('Reitercorps'),jdecode(''),'/40582/40690.html','true',[],''],
		['PAGE','104201',jdecode('Herrenreitercorps+zu+Fu%C3%9F'),jdecode(''),'/40582/104201.html','true',[],''],
		['PAGE','43390',jdecode('Damen-Reitercorps'),jdecode(''),'/40582/43390.html','true',[],''],
		['PAGE','40699',jdecode('Vorsitzende+der+KG'),jdecode(''),'/40582/40699.html','true',[],''],
		['PAGE','40708',jdecode('Pr%C3%A4sidentenkette'),jdecode(''),'/40582/40708.html','true',[],''],
		['PAGE','40717',jdecode('Sitzungskarneval+1'),jdecode(''),'/40582/40717.html','true',[],''],
		['PAGE','43414',jdecode('Sitzungskarneval+2'),jdecode(''),'/40582/43414.html','true',[],''],
		['PAGE','69501',jdecode('%22Mitgledertaufe%22'),jdecode(''),'/40582/69501.html','true',[],''],
		['PAGE','40731',jdecode('Karnevalsmuseum'),jdecode(''),'/40582/40731.html','true',[],''],
		['PAGE','105401',jdecode('Karnevals+Biwak+'),jdecode(''),'/40582/105401.html','true',[],''],
		['PAGE','139101',jdecode('Gesellschaftsabend+'),jdecode(''),'/40582/139101.html','true',[],''],
		['PAGE','138601',jdecode('Mundartgottesdienst+'),jdecode(''),'/40582/138601.html','true',[],''],
		['PAGE','145401',jdecode('Dreigestirne+'),jdecode(''),'/40582/145401.html','true',[],'']
	],''],
	['PAGE','40591',jdecode('Bsbg.+Karneval+1+%2F+%C3%9Cbersicht'),jdecode(''),'/40591.html','true',[],''],
	['PAGE','40804',jdecode('Bensberger+Karneval+2'),jdecode(''),'/40804.html','true',[],''],
	['PAGE','41248',jdecode('Bensberger+Karneval+3'),jdecode(''),'/41248.html','true',[],''],
	['PAGE','41257',jdecode('Bensberger+Karneval+4'),jdecode(''),'/41257.html','true',[],''],
	['PAGE','40609',jdecode('Karneval+Links'),jdecode(''),'/40609.html','true',[],''],
	['PAGE','40618',jdecode('Ver%C3%B6ffentlichungen'),jdecode(''),'/40618.html','true',[],''],
	['PAGE','121101',jdecode('Rathauserst%C3%BCrmung+'),jdecode(''),'/121101.html','true',[],''],
	['PAGE','121201',jdecode('Stra%C3%9Fensitzung+'),jdecode(''),'/121201.html','true',[],''],
	['PAGE','40627',jdecode('Schlo%C3%9Fstadttollit%C3%A4ten+1'),jdecode(''),'/40627.html','true',[],''],
	['PAGE','44026',jdecode('Schlo%C3%9Fstadttollit%C3%A4ten+2'),jdecode(''),'/44026.html','true',[],''],
	['PAGE','56001',jdecode('Schlo%C3%9Fstadttollit%C3%A4ten+3'),jdecode(''),'/56001.html','true',[],''],
	['PAGE','60401',jdecode('Kinderdreigestirn+2010+'),jdecode(''),'/60401.html','true',[],''],
	['PAGE','94201',jdecode('Kinderdreigestirn+2011'),jdecode(''),'/94201.html','true',[],''],
	['PAGE','138501',jdecode('Kinderdreigestirn+2012+'),jdecode(''),'/138501.html','true',[],''],
	['PAGE','100801',jdecode('Archiv+f%C3%BCr+Brauchtumspflege+'),jdecode(''),'/100801.html','true',[],''],
	['PAGE','40636',jdecode('Karnevalsmuseum+2'),jdecode(''),'/40636/home.html','true',[ 
		['PAGE','40822',jdecode('Till+Eulenspiegel'),jdecode(''),'/40636/40822.html','true',[],''],
		['PAGE','40831',jdecode('Kleine+%C3%9Cbersicht'),jdecode(''),'/40636/40831.html','true',[],'']
	],''],
	['PAGE','146501',jdecode('Karnevalsmuseum+3'),jdecode(''),'/146501.html','true',[],''],
	['PAGE','40645',jdecode('Karnevalsz%C3%BCge+ab+1904'),jdecode(''),'/40645/home.html','true',[ 
		['PAGE','41266',jdecode('Karnevalsz%C3%BCge+1914+-+1939'),jdecode(''),'/40645/41266.html','true',[],''],
		['PAGE','41275',jdecode('Karnevalsz%C3%BCge+1952+-+1964'),jdecode(''),'/40645/41275.html','true',[],''],
		['PAGE','41284',jdecode('Karnevalsz%C3%BCge+1967+-+1969'),jdecode(''),'/40645/41284.html','true',[],''],
		['PAGE','44501',jdecode('Karnevalsz%C3%BCge+Nr.+4'),jdecode(''),'/40645/44501.html','true',[],''],
		['PAGE','50001',jdecode('Karnevalszug+5+noch+frei'),jdecode(''),'/40645/50001.html','true',[],''],
		['PAGE','50101',jdecode('Karnevalszug+6+noch+frei'),jdecode(''),'/40645/50101.html','true',[],''],
		['PAGE','50201',jdecode('Karnevalszug+2009'),jdecode(''),'/40645/50201.html','true',[],''],
		['PAGE','50301',jdecode('Karnevalszug+2010'),jdecode(''),'/40645/50301.html','true',[],''],
		['PAGE','122401',jdecode('Karnevalszug+2011'),jdecode(''),'/40645/122401.html','true',[],''],
		['PAGE','139701',jdecode('Karnevalszug+2012'),jdecode(''),'/40645/139701.html','true',[],''],
		['PAGE','41293',jdecode('Karnevalszug+%2F+Mottos'),jdecode(''),'/40645/41293.html','true',[],''],
		['PAGE','138701',jdecode('%C3%96kumenischer+Mundartgottesdienst+'),jdecode(''),'/40645/138701.html','true',[],'']
	],''],
	['PAGE','40654',jdecode('Festkomitee+1'),jdecode(''),'/40654.html','true',[],''],
	['PAGE','44035',jdecode('Festkomitee+2'),jdecode(''),'/44035.html','true',[],''],
	['PAGE','105801',jdecode('Karnevals+Biwak+'),jdecode(''),'/105801.html','true',[],''],
	['PAGE','56801',jdecode('KG+Bensberger+Garde'),jdecode(''),'/56801.html','true',[],''],
	['PAGE','56901',jdecode('KG+Ruude+Husare'),jdecode(''),'/56901.html','true',[],''],
	['PAGE','57001',jdecode('KG+Schlo%C3%9Fgarde+Gr%C3%BCn+Gold'),jdecode(''),'/57001.html','true',[],''],
	['PAGE','57101',jdecode('KG+Gardehusare'),jdecode(''),'/57101.html','true',[],''],
	['PAGE','70201',jdecode('Bensberger+Carnevals+Company'),jdecode(''),'/70201.html','true',[],''],
	['PAGE','107001',jdecode('R%C3%A4uberball'),jdecode(''),'/107001.html','true',[],''],
	['PAGE','40663',jdecode('Impressum'),jdecode(''),'/40663.html','true',[],'']];
var siteelementCount=68;
theSitetree.topTemplateName='Cherry';
theSitetree.paletteFamily='A40305';
theSitetree.keyvisualId='10893';
theSitetree.keyvisualName='kv_10893.jpg';
theSitetree.fontsetId='31884';
theSitetree.graphicsetId='13690';
theSitetree.contentColor='CAC4C4';
theSitetree.contentBGColor='A40305';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Cherry',
				paletteFamily: 	'A40305',
				keyvisualId: 	'10893',
				keyvisualName: 	'kv_10893.jpg',
				fontsetId: 		'31884',
				graphicsetId: 	'13690',
				contentColor: 	'CAC4C4',
				contentBGColor: 'A40305',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'000000',
				f_color: 		'000000',
				hasCustomLogo: 	'false',
				contentFontFace:'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: '20110303-180839'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40573',
internalId:  '',
customField: '20100819-180401'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40582',
internalId:  '',
customField: '20120207-181724'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40663',
internalId:  '',
customField: '20110309-073615'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40555',
internalId:  '',
customField: '20101126-180507'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40564',
internalId:  '',
customField: '20100819-180051'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40672',
internalId:  '',
customField: '20101001-101906'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40681',
internalId:  '',
customField: '20100308-203845'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40690',
internalId:  '',
customField: '20101121-112334'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40699',
internalId:  '',
customField: '20100308-204113'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40708',
internalId:  '',
customField: '20100818-183507'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40717',
internalId:  '',
customField: '20110126-174729'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40591',
internalId:  '',
customField: '20101124-172530'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43381',
internalId:  '',
customField: '20091222-074154'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40609',
internalId:  '',
customField: '20100114-094644'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40618',
internalId:  '',
customField: '20091118-182402'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40627',
internalId:  '',
customField: '20120210-074326'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40636',
internalId:  '',
customField: '20110124-140031'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40645',
internalId:  '',
customField: '20100821-074703'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40654',
internalId:  '',
customField: '20110111-190800'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40777',
internalId:  '',
customField: '20100308-203612'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40786',
internalId:  '',
customField: '20100308-203643'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40795',
internalId:  '',
customField: '20110208-182930'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40731',
internalId:  '',
customField: '20120210-072903'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40804',
internalId:  '',
customField: '20110304-103336'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41248',
internalId:  '',
customField: '20100126-182707'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40822',
internalId:  '',
customField: '20100818-185807'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40831',
internalId:  '',
customField: '20110226-205400'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41257',
internalId:  '',
customField: '20100126-182853'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41266',
internalId:  '',
customField: '20101227-111739'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41275',
internalId:  '',
customField: '20110118-065033'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41284',
internalId:  '',
customField: '20100308-205450'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41293',
internalId:  '',
customField: '20111125-182921'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43390',
internalId:  '',
customField: '20110215-150122'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43403',
internalId:  '',
customField: '20120116-073657'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43414',
internalId:  '',
customField: '20091223-174027'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44026',
internalId:  '',
customField: '20110220-110028'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44035',
internalId:  '',
customField: '20120110-181515'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44501',
internalId:  '',
customField: '20100308-205545'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '50001',
internalId:  '',
customField: '20100109-114104'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '50201',
internalId:  '',
customField: '20110301-172018'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '50101',
internalId:  '',
customField: '20100118-204523'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '50301',
internalId:  '',
customField: '20110301-173136'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '56001',
internalId:  '',
customField: '20100111-183800'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '56801',
internalId:  '',
customField: '20110301-173933'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '56901',
internalId:  '',
customField: '20110126-074414'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '57001',
internalId:  '',
customField: '20110208-080412'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '57101',
internalId:  '',
customField: '20110126-172312'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '60401',
internalId:  '',
customField: '20110208-073632'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '62001',
internalId:  '',
customField: '20100308-203927'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '69501',
internalId:  '',
customField: '20110306-102642'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '70201',
internalId:  '',
customField: '20120130-115724'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '94201',
internalId:  '',
customField: '20120130-122157'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '100801',
internalId:  '',
customField: '20120209-174420'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '104201',
internalId:  '',
customField: '20110208-183105'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '105401',
internalId:  '',
customField: '20110206-181420'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '105801',
internalId:  '',
customField: '20120208-073529'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '107001',
internalId:  '',
customField: '20110218-120312'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '121101',
internalId:  '',
customField: '20110307-070846'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '121201',
internalId:  '',
customField: '20110307-071138'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '122401',
internalId:  '',
customField: '20110307-193611'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '138601',
internalId:  '',
customField: '20120111-174330'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '138501',
internalId:  '',
customField: '20120122-170511'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '138701',
internalId:  '',
customField: '20111124-181927'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '139101',
internalId:  '',
customField: '20111125-174734'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '139701',
internalId:  '',
customField: '20120105-073524'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '145401',
internalId:  '',
customField: '20120208-065403'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '146501',
internalId:  '',
customField: '20120211-195146'
};
var canonHostname = 'c4awrk02.aul.t-online.de';
var accountId     = 'ATOIX0IRY7QY';
var companyName   = 'Herzlich+willkommen+auf+der+Internetseite+von+Willi+Fritzen+';
var htmlTitle	  = '';
var metaKeywords  = '';
var metaContents  = '';
					                                                                    
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 */					                                                            

