/* [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','43092',jdecode('Startseite'),jdecode(''),'/43092.html','true',[],''],
	['PAGE','39994',jdecode('Aktuelles'),jdecode(''),'/39994.html','true',[],''],
	['PAGE','48401',jdecode('zur+Verlagsseite'),jdecode(''),'/48401.html','true',[],''],
	['PAGE','43601',jdecode('DANK'),jdecode(''),'/43601/home.html','true',[ 
		['PAGE','43664',jdecode('*+Covergestalter'),jdecode(''),'/43601/43664.html','true',[],'']
	],''],
	['PAGE','43685',jdecode('Sieger+2011'),jdecode(''),'/43685.html','true',[],''],
	['PAGE','49301',jdecode('B%C3%BCcher+bestellen'),jdecode(''),'/49301.html','true',[],''],
	['PAGE','43706',jdecode('Eingesandte+Beitr%C3%A4ge'),jdecode(''),'/43706/home.html','true',[ 
		['PAGE','44001',jdecode('Fantasy'),jdecode(''),'/43706/44001.html','true',[],''],
		['PAGE','44022',jdecode('Mystery'),jdecode(''),'/43706/44022.html','true',[],''],
		['PAGE','44043',jdecode('Science-Fiction'),jdecode(''),'/43706/44043.html','true',[],'']
	],''],
	['PAGE','42855',jdecode('Ausschreibungstext'),jdecode(''),'/42855.html','false',[],''],
	['PAGE','42477',jdecode('Fan-Sci-Myst%3F'),jdecode(''),'/42477.html','false',[],''],
	['PAGE','41387',jdecode('FANTASY-Anthos'),jdecode(''),'/41387/home.html','true',[ 
		['PAGE','41897',jdecode('Siegerbuch+2007'),jdecode(''),'/41387/41897.html','true',[],''],
		['PAGE','41426',jdecode('Siegerliste+2007'),jdecode(''),'/41387/41426.html','true',[],''],
		['PAGE','41809',jdecode('Siegergeschichte+2007'),jdecode(''),'/41387/41809.html','true',[],''],
		['PAGE','41818',jdecode('Siegerbuch+2008'),jdecode(''),'/41387/41818.html','true',[],''],
		['PAGE','41827',jdecode('Siegerliste+2008'),jdecode(''),'/41387/41827.html','true',[],''],
		['PAGE','41877',jdecode('Siegergeschichte+2008'),jdecode(''),'/41387/41877.html','true',[],''],
		['PAGE','41854',jdecode('Siegerbuch+2009'),jdecode(''),'/41387/41854.html','true',[],''],
		['PAGE','41886',jdecode('Siegerliste+2009'),jdecode(''),'/41387/41886.html','true',[],''],
		['PAGE','41984',jdecode('Siegergeschichte+2009'),jdecode(''),'/41387/41984.html','true',[],''],
		['PAGE','42075',jdecode('neu'),jdecode(''),'/41387/42075.html','false',[],'']
	],''],
	['PAGE','41396',jdecode('MYSTERY-Antho'),jdecode(''),'/41396.html','false',[],''],
	['PAGE','41405',jdecode('SCIENCE-Fiction-Antho'),jdecode(''),'/41405.html','false',[],''],
	['PAGE','42026',jdecode('weitere+Geschichten'),jdecode(''),'/42026/home.html','true',[ 
		['PAGE','42679',jdecode('Albrecht'),jdecode(''),'/42026/42679.html','true',[],''],
		['PAGE','42112',jdecode('Angelides'),jdecode(''),'/42026/42112.html','true',[],''],
		['PAGE','42121',jdecode('Bethe-Hartwig'),jdecode(''),'/42026/42121.html','true',[],''],
		['PAGE','42085',jdecode('Dethlefsen'),jdecode(''),'/42026/42085.html','true',[],''],
		['PAGE','42130',jdecode('Dilas'),jdecode(''),'/42026/42130.html','true',[],''],
		['PAGE','42103',jdecode('Koelle'),jdecode(''),'/42026/42103.html','true',[],''],
		['PAGE','42166',jdecode('Hamers'),jdecode(''),'/42026/42166.html','true',[],''],
		['PAGE','42175',jdecode('Lafrentz'),jdecode(''),'/42026/42175.html','true',[],''],
		['PAGE','42935',jdecode('Morick'),jdecode(''),'/42026/42935.html','true',[],''],
		['PAGE','42688',jdecode('Nobis'),jdecode(''),'/42026/42688.html','true',[],''],
		['PAGE','42157',jdecode('Peters'),jdecode(''),'/42026/42157.html','true',[],''],
		['PAGE','42094',jdecode('Roberts'),jdecode(''),'/42026/42094.html','true',[],''],
		['PAGE','42139',jdecode('Spreemann'),jdecode(''),'/42026/42139.html','true',[],''],
		['PAGE','42184',jdecode('Brunner'),jdecode(''),'/42026/42184.html','true',[],''],
		['PAGE','42193',jdecode('Sturmat'),jdecode(''),'/42026/42193.html','true',[],''],
		['PAGE','42202',jdecode('Hauswirth'),jdecode(''),'/42026/42202.html','true',[],''],
		['PAGE','42211',jdecode('Modis'),jdecode(''),'/42026/42211.html','true',[],''],
		['PAGE','42220',jdecode('Wimmer'),jdecode(''),'/42026/42220.html','true',[],''],
		['PAGE','42229',jdecode('Fedotov'),jdecode(''),'/42026/42229.html','true',[],''],
		['PAGE','42238',jdecode('Tausch'),jdecode(''),'/42026/42238.html','true',[],''],
		['PAGE','42247',jdecode('Ullrich'),jdecode(''),'/42026/42247.html','true',[],''],
		['PAGE','42265',jdecode('Br%C3%BCggen'),jdecode(''),'/42026/42265.html','true',[],''],
		['PAGE','42274',jdecode('H%C3%B6lzel'),jdecode(''),'/42026/42274.html','true',[],''],
		['PAGE','42283',jdecode('Neugebauer'),jdecode(''),'/42026/42283.html','true',[],''],
		['PAGE','42292',jdecode('St%C3%B6lting'),jdecode(''),'/42026/42292.html','true',[],''],
		['PAGE','42301',jdecode('Bednorz'),jdecode(''),'/42026/42301.html','true',[],''],
		['PAGE','42310',jdecode('Pielke'),jdecode(''),'/42026/42310.html','true',[],''],
		['PAGE','42319',jdecode('Olbrich'),jdecode(''),'/42026/42319.html','true',[],''],
		['PAGE','42328',jdecode('Hohmann'),jdecode(''),'/42026/42328.html','true',[],''],
		['PAGE','42337',jdecode('Schl%C3%B6sser'),jdecode(''),'/42026/42337.html','true',[],''],
		['PAGE','42346',jdecode('Bathon'),jdecode(''),'/42026/42346.html','true',[],''],
		['PAGE','42432',jdecode('Wernert'),jdecode(''),'/42026/42432.html','true',[],'']
	],''],
	['PAGE','41462',jdecode('Wichtige+INFOS%3A'),jdecode(''),'/41462.html','false',[],''],
	['PAGE','42845',jdecode('Bewertungsrichtlinien'),jdecode(''),'/42845.html','false',[],''],
	['PAGE','42624',jdecode('MESSE+LEIPZIG'),jdecode(''),'/42624.html','false',[],''],
	['PAGE','42648',jdecode('ZU+GAST%21'),jdecode(''),'/42648.html','false',[],''],
	['PAGE','41480',jdecode('Bitte+beachten'),jdecode(''),'/41480.html','false',[],''],
	['PAGE','41518',jdecode('Impressum'),jdecode(''),'/41518.html','true',[],''],
	['PAGE','43008',jdecode('Haftungsausschluss'),jdecode(''),'/43008.html','true',[],''],
	['PAGE','41956',jdecode('G%C3%A4stebuch'),jdecode(''),'/41956/home.html','true',[ 
		['PAGE','41955',jdecode('Eintr%C3%A4ge'),jdecode(''),'/41956/41955.html','true',[],'']
	],''],
	['PAGE','42897',jdecode('Fragen+%2F+Antworten'),jdecode(''),'/42897.html','false',[],'']];
var siteelementCount=69;
theSitetree.topTemplateName='Art';
theSitetree.paletteFamily='FFDEAD';
theSitetree.keyvisualId='1773';
theSitetree.keyvisualName='bibliothek.jpg';
theSitetree.fontsetId='284';
theSitetree.graphicsetId='351';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='FFDEAD';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Art',
				paletteFamily: 	'FFDEAD',
				keyvisualId: 	'1773',
				keyvisualName: 	'bibliothek.jpg',
				fontsetId: 		'284',
				graphicsetId: 	'351',
				contentColor: 	'000000',
				contentBGColor: 'FFDEAD',
				a_color: 		'FFDEAD',
				b_color: 		'990000',
				c_color: 		'FFFFFF',
				d_color: 		'FFFFFF',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'false',
				contentFontFace:'Times New Roman, Times, serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '43092',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '39994',
internalId:  '',
customField: '20111227-103931'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41387',
internalId:  '',
customField: '20111028-093307'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41462',
internalId:  '',
customField: '20100916-105857'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42026',
internalId:  '',
customField: '20100916-105809'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41480',
internalId:  '',
customField: '20100916-110030'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41426',
internalId:  '',
customField: '20100916-104506'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41396',
internalId:  '',
customField: '20100916-105616'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41405',
internalId:  '',
customField: '20100916-105710'
};
webappMappings['1002']=webappMappings['1002-41956atoix0irt004']={
webappId:    '1002',
documentId:  '41956',
internalId:  '41956atoix0irt004',
customField: 'action=form&icq=false'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41518',
internalId:  '',
customField: '20100923-164419'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41984',
internalId:  '',
customField: '20091103-202618'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42897',
internalId:  '',
customField: '20100916-110353'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41818',
internalId:  '',
customField: '20100916-105028'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41809',
internalId:  '',
customField: '20100127-200726'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41827',
internalId:  '',
customField: '20100916-105458'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41897',
internalId:  '',
customField: '20100916-104413'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41877',
internalId:  '',
customField: '20091101-075930'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41854',
internalId:  '',
customField: '20100916-105208'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41886',
internalId:  '',
customField: '20100916-105603'
};
webappMappings['1002']=webappMappings['1002-41956atoix0irt004']={
webappId:    '1002',
documentId:  '41955',
internalId:  '41956atoix0irt004',
customField: 'action=list'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41956',
internalId:  '',
customField: '20091101-102255'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41955',
internalId:  '',
customField: '20091101-051455'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42085',
internalId:  '',
customField: '20091102-151801'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42094',
internalId:  '',
customField: '20091102-151037'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42103',
internalId:  '',
customField: '20091102-151710'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42112',
internalId:  '',
customField: '20091102-152226'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42121',
internalId:  '',
customField: '20091102-152644'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42130',
internalId:  '',
customField: '20091102-153207'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42139',
internalId:  '',
customField: '20091102-153629'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42624',
internalId:  '',
customField: '20100413-091047'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42157',
internalId:  '',
customField: '20091102-154355'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42166',
internalId:  '',
customField: '20091102-154756'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42175',
internalId:  '',
customField: '20091102-155114'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42184',
internalId:  '',
customField: '20091102-155634'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42193',
internalId:  '',
customField: '20091102-160046'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42202',
internalId:  '',
customField: '20091102-160456'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42211',
internalId:  '',
customField: '20091102-160726'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42220',
internalId:  '',
customField: '20091102-161030'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42229',
internalId:  '',
customField: '20091102-161533'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42238',
internalId:  '',
customField: '20091102-161929'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42247',
internalId:  '',
customField: '20091102-162634'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42319',
internalId:  '',
customField: '20091102-222351'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42310',
internalId:  '',
customField: '20091102-223709'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42265',
internalId:  '',
customField: '20091102-224058'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42432',
internalId:  '',
customField: '20091103-193949'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42075',
internalId:  '',
customField: '20091102-141415'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42274',
internalId:  '',
customField: '20091102-222456'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42283',
internalId:  '',
customField: '20091102-224438'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42292',
internalId:  '',
customField: '20091102-225028'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42301',
internalId:  '',
customField: '20091102-225244'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42328',
internalId:  '',
customField: '20091103-191951'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42337',
internalId:  '',
customField: '20091103-192802'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42346',
internalId:  '',
customField: '20091103-193521'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42477',
internalId:  '',
customField: '20100916-104200'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42648',
internalId:  '',
customField: '20100127-193554'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42679',
internalId:  '',
customField: '20100131-202143'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42688',
internalId:  '',
customField: '20100131-202804'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42935',
internalId:  '',
customField: '20100221-065636'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42855',
internalId:  '',
customField: '20100916-104224'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42845',
internalId:  '',
customField: '20100916-105937'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43008',
internalId:  '',
customField: '20100916-110248'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43092',
internalId:  '',
customField: '20111028-084825'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '49301',
internalId:  '',
customField: '20110111-142825'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43601',
internalId:  '',
customField: '20111227-113038'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43685',
internalId:  '',
customField: '20111118-170423'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43706',
internalId:  '',
customField: '20111227-114115'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44001',
internalId:  '',
customField: '20100923-164322'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44022',
internalId:  '',
customField: '20100924-140326'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44043',
internalId:  '',
customField: '20100923-164226'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43664',
internalId:  '',
customField: '20111227-113933'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '48401',
internalId:  '',
customField: '20101008-114337'
};
var canonHostname = 'c4awrk02.aul.t-online.de';
var accountId     = 'ATOIX0IRT004';
var companyName   = 'NOEL-VERLAG+-+Trilogie+2010+...';
var htmlTitle	  = 'NOEL-VERLAG+-+Trilogie+2010+...';
var metaKeywords  = 'Verlag%2C+Buchverlegung%2C+Buch+verlegen+lassen%2C+Verlag+finden%2C+Manuskript+einreichen';
var metaContents  = 'NOEL-Verlag+-+Buchverlegung+-+der+Traum+vom+eigenen+Buch%21';
					                                                                    
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 */					                                                            

