/* [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','601',jdecode('Home'),jdecode(''),'/601.html','true',[],''],
	['PAGE','145001',jdecode('Program+Philosophy'),jdecode(''),'/145001.html','true',[],''],
	['PAGE','673',jdecode('2010+Rosters'),jdecode(''),'/673/index.html','true',[ 
		['PAGE','20801',jdecode('Men%26%23x27%3Bs+Track'),jdecode(''),'/673/20801.html','true',[],''],
		['PAGE','20822',jdecode('Women%26%23x27%3Bs+Track'),jdecode(''),'/673/20822.html','true',[],'']
	],''],
	['PAGE','715',jdecode('2010+Schedule'),jdecode(''),'/715.html','true',[],''],
	['PAGE','694',jdecode('Coaching+Staff'),jdecode(''),'/694.html','false',[],''],
	['PAGE','736',jdecode('History%2FRecords'),jdecode(''),'/736/index.html','true',[ 
		['PAGE','6953',jdecode('Men%26%23x27%3Bs+Records'),jdecode(''),'/736/6953.html','true',[],''],
		['PAGE','6974',jdecode('Women%26%23x27%3Bs+Records'),jdecode(''),'/736/6974.html','true',[],''],
		['PAGE','6995',jdecode('Men%26%23x27%3Bs+All-Time+Lists'),jdecode(''),'/736/6995.html','true',[],''],
		['PAGE','7016',jdecode('Women%26%23x27%3Bs+All-Time+Lists'),jdecode(''),'/736/7016.html','true',[],''],
		['PAGE','7037',jdecode('Men%26%23x27%3Bs+All-Americans'),jdecode(''),'/736/7037.html','true',[],''],
		['PAGE','7058',jdecode('Women%26%23x27%3Bs+All-Americans'),jdecode(''),'/736/7058.html','true',[],'']
	],''],
	['PAGE','778',jdecode('HU+Videos+2010'),jdecode(''),'/778/index.html','true',[ 
		['PAGE','138001',jdecode('HU+Jumpers+%26%23x27%3B10'),jdecode(''),'/778/138001.html','true',[],''],
		['PAGE','138022',jdecode('HU+Throwers+%26%23x27%3B10'),jdecode(''),'/778/138022.html','true',[],''],
		['PAGE','138043',jdecode('HU+Sprints+%26%23x27%3B10'),jdecode(''),'/778/138043.html','true',[],''],
		['PAGE','138064',jdecode('HU+Distance+%26%23x27%3B10'),jdecode(''),'/778/138064.html','true',[],'']
	],''],
	['PAGE','16301',jdecode('Pictures'),jdecode(''),'/16301.html','true',[],''],
	['PAGE','841',jdecode('Home+Meet+Info'),jdecode(''),'/841/index.html','true',[ 
		['PAGE','862',jdecode('Hamline+Invite+'),jdecode(''),'/841/862.html','true',[],''],
		['PAGE','63401',jdecode('HU+IVT.+FINAL+INFO'),jdecode(''),'/841/63401.html','false',[],''],
		['PAGE','62001',jdecode('HU+IVT.+HEAT+SHEETS'),jdecode(''),'/841/62001.html','false',[],''],
		['PAGE','64301',jdecode('HU+IVT.+RESULTS'),jdecode(''),'/841/64301.html','false',[],''],
		['PAGE','147501',jdecode('Hamline+Women%26%23x27%3Bs+Twilight'),jdecode(''),'/841/147501.html','true',[],''],
		['PAGE','147522',jdecode('Capitol+City+Championships+'),jdecode(''),'/841/147522.html','true',[],''],
		['PAGE','883',jdecode('Meet+of+the+Unsaintly'),jdecode(''),'/841/883.html','true',[],''],
		['PAGE','42501',jdecode('2007+UnS.+Results'),jdecode(''),'/841/42501.html','false',[],'']
	],''],
	['PAGE','925',jdecode('Elite+Meet%3A+FRIDAY'),jdecode(''),'/925/index.html','true',[ 
		['PAGE','51401',jdecode('Meet+Schedule'),jdecode(''),'/925/51401.html','true',[],''],
		['PAGE','139701',jdecode('Meet+Sponsors'),jdecode(''),'/925/139701.html','true',[],''],
		['PAGE','56001',jdecode('Entry+Info'),jdecode(''),'/925/56001.html','true',[],''],
		['PAGE','38101',jdecode('Meet+Day+Info'),jdecode(''),'/925/38101.html','true',[],''],
		['PAGE','29101',jdecode('Meet+Records'),jdecode(''),'/925/29101.html','true',[],''],
		['PAGE','65501',jdecode('FAQs'),jdecode(''),'/925/65501.html','true',[],''],
		['PAGE','57101',jdecode('Results'),jdecode(''),'/925/57101.html','true',[],''],
		['PAGE','143901',jdecode('Sponsorship+Info'),jdecode(''),'/925/143901.html','false',[],''],
		['PAGE','67901',jdecode('2008+RESULTS'),jdecode(''),'/925/67901.html','false',[],''],
		['PAGE','39801',jdecode('2007+RESULTS'),jdecode(''),'/925/39801.html','false',[],''],
		['PAGE','15401',jdecode('2006+RESULTS'),jdecode(''),'/925/15401.html','false',[],'']
	],''],
	['PAGE','103101',jdecode('Elite+Meet%3A+SATURDAY'),jdecode(''),'/103101/index.html','true',[ 
		['PAGE','103201',jdecode('Relays+Schedule'),jdecode(''),'/103101/103201.html','true',[],''],
		['PAGE','103222',jdecode('Relays+Entry+Info'),jdecode(''),'/103101/103222.html','true',[],''],
		['PAGE','103243',jdecode('Relays+Meet+Info'),jdecode(''),'/103101/103243.html','true',[],''],
		['PAGE','103264',jdecode('Relays+Records'),jdecode(''),'/103101/103264.html','true',[],''],
		['PAGE','103285',jdecode('Relays+FAQs'),jdecode(''),'/103101/103285.html','true',[],''],
		['PAGE','111301',jdecode('Relays+Results'),jdecode(''),'/103101/111301.html','true',[],'']
	],''],
	['PAGE','90701',jdecode('St.+Paul%26%23x27%3Bs+Fastest+Kid%21'),jdecode(''),'/90701/index.html','true',[ 
		['PAGE','92101',jdecode('School+Sign-Up'),jdecode(''),'/90701/92101.html','true',[],''],
		['PAGE','91401',jdecode('Fastest+Kid%21+Event+Schedule'),jdecode(''),'/90701/91401.html','true',[],''],
		['PAGE','91422',jdecode('FAQs'),jdecode(''),'/90701/91422.html','true',[],'']
	],''],
	['PAGE','946',jdecode('2008+Hamline+Relays'),jdecode(''),'/946.html','false',[],''],
	['PAGE','57501',jdecode('HU+Relays+Results'),jdecode(''),'/57501/index.html','false',[ 
		['PAGE','70001',jdecode('2008+Results'),jdecode(''),'/57501/70001.html','true',[],''],
		['PAGE','43901',jdecode('2007+Results'),jdecode(''),'/57501/43901.html','true',[],''],
		['PAGE','15422',jdecode('2006+Girls+Results'),jdecode(''),'/57501/15422.html','true',[],''],
		['PAGE','32301',jdecode('2006+Boys+Results'),jdecode(''),'/57501/32301.html','true',[],''],
		['PAGE','28201',jdecode('HU+Relays+Records'),jdecode(''),'/57501/28201.html','true',[],'']
	],''],
	['PAGE','967',jdecode('MSHSL+State+Meet+'),jdecode(''),'/967.html','true',[],''],
	['PAGE','13501',jdecode('Camps%2FClinics'),jdecode(''),'/13501.html','true',[],''],
	['PAGE','71301',jdecode('Training+Suggestions'),jdecode(''),'/71301.html','true',[],''],
	['PAGE','125601',jdecode('Recruit+Me%21'),jdecode(''),'/125601.html','true',[],''],
	['PAGE','7142',jdecode('Contact+a+Coach'),jdecode(''),'/7142.html','true',[],''],
	['PAGE','19406',jdecode('Guestbook'),jdecode(''),'/19406/index.html','false',[ 
		['PAGE','19401',jdecode('Read+Guestbook'),jdecode(''),'/19406/19401.html','false',[],'']
	],'']];
var siteelementCount=66;
theSitetree.topTemplateName='Office';
theSitetree.paletteFamily='B85454';
theSitetree.keyvisualId='11165';
theSitetree.keyvisualName='kv_11165.jpg';
theSitetree.fontsetId='32064';
theSitetree.graphicsetId='13878';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='FFFFFF';
var localeDef={
  language: 'en',
  country: 'US'
};
var theTemplate={
				name: 			'Office',
				paletteFamily: 	'B85454',
				keyvisualId: 	'11165',
				keyvisualName: 	'kv_11165.jpg',
				fontsetId: 		'32064',
				graphicsetId: 	'13878',
				contentColor: 	'000000',
				contentBGColor: 'FFFFFF',
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'000000',
				f_color: 		'000000',
				hasCustomLogo: 	'true',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'true'
			  };
var webappMappings = {};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '601',
internalId:  '1006',
customField: '1006'
};
webappMappings['7060']=webappMappings['7060-682d91c5fe303e12cd05258a37a26517']={
webappId:    '7060',
documentId:  '16301',
internalId:  '682d91c5fe303e12cd05258a37a26517',
customField: 'language:en;country:US;'
};
webappMappings['1002']=webappMappings['1002-19406abri10in2dao']={
webappId:    '1002',
documentId:  '19406',
internalId:  '19406abri10in2dao',
customField: 'icq=false'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '601',
internalId:  '',
customField: '20100424-085558'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '925',
internalId:  '',
customField: '20100424-074303'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '51401',
internalId:  '',
customField: '20100421-073251'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '56001',
internalId:  '',
customField: '20100422-141556'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '38101',
internalId:  '',
customField: '20100422-142123'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13501',
internalId:  '',
customField: '20100208-230941'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '736',
internalId:  '',
customField: '20100223-104742'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '65501',
internalId:  '',
customField: '20100421-074345'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '71301',
internalId:  '',
customField: '20100224-112036'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '946',
internalId:  '',
customField: '20080503-181356'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '673',
internalId:  '',
customField: '20091002-151803'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '20801',
internalId:  '',
customField: '20100209-134932'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '20822',
internalId:  '',
customField: '20100209-135050'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '694',
internalId:  '',
customField: '20100419-120120'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '715',
internalId:  '',
customField: '20100223-113828'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '6953',
internalId:  '',
customField: '20100209-104754'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '6974',
internalId:  '',
customField: '20100223-114227'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '6995',
internalId:  '',
customField: '20100223-114302'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '7016',
internalId:  '',
customField: '20100205-114804'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '7037',
internalId:  '',
customField: '20100223-104943'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '7058',
internalId:  '',
customField: '20070713-183434'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '778',
internalId:  '',
customField: '20100223-105359'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '16301',
internalId:  '',
customField: '20100223-114418'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '841',
internalId:  '',
customField: '20100419-114201'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '862',
internalId:  '',
customField: '20100419-114351'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '63401',
internalId:  '',
customField: '20090402-200809'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '62001',
internalId:  '',
customField: '20100223-110037'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '64301',
internalId:  '',
customField: '20100223-110328'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '883',
internalId:  '',
customField: '20100419-121643'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42501',
internalId:  '',
customField: '20100223-112135'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '29101',
internalId:  '',
customField: '20100421-074121'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '57101',
internalId:  '',
customField: '20100424-074044'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '15401',
internalId:  '',
customField: '20070328-153805'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '39801',
internalId:  '',
customField: '20080305-191720'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '67901',
internalId:  '',
customField: '20080425-232610'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '28201',
internalId:  '',
customField: '20070409-124610'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '57501',
internalId:  '',
customField: '20080503-180757'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '70001',
internalId:  '',
customField: '20080503-182613'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43901',
internalId:  '',
customField: '20070505-175541'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '15422',
internalId:  '',
customField: '20070408-183311'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '32301',
internalId:  '',
customField: '20070408-182257'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '967',
internalId:  '',
customField: '20100224-111612'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '7142',
internalId:  '',
customField: '20100419-121716'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '19406',
internalId:  '',
customField: '20060919-133917'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '19401',
internalId:  '',
customField: '20060919-133917'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '90701',
internalId:  '',
customField: '20100424-085505'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '91422',
internalId:  '',
customField: '20100224-094232'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '91401',
internalId:  '',
customField: '20100224-093839'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '92101',
internalId:  '',
customField: '20100223-113603'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '103101',
internalId:  '',
customField: '20100424-085538'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '103201',
internalId:  '',
customField: '20100422-151335'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '103222',
internalId:  '',
customField: '20100422-145946'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '103243',
internalId:  '',
customField: '20100423-084813'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '103264',
internalId:  '',
customField: '20100421-074740'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '103285',
internalId:  '',
customField: '20100421-075012'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '111301',
internalId:  '',
customField: '20100421-074712'
};
webappMappings['7008']=webappMappings['7008-1840']={
webappId:    '7008',
documentId:  '125601',
internalId:  '1840',
customField: 'language:en;country:US;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '125601',
internalId:  '',
customField: '20100223-113212'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '138001',
internalId:  '',
customField: '20100210-122517'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '138022',
internalId:  '',
customField: '20100210-123024'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '138043',
internalId:  '',
customField: '20100210-122536'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '138064',
internalId:  '',
customField: '20100210-122552'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '139701',
internalId:  '',
customField: '20100421-072653'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '143901',
internalId:  '',
customField: '20100302-090050'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '145001',
internalId:  '',
customField: '20100224-111112'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '147501',
internalId:  '',
customField: '20100420-203823'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '147522',
internalId:  '',
customField: '20100413-125419'
};
var canonHostname = 'wsc1.brinkster.com';
var accountId     = 'ABRI10IN2DAO';
var companyName   = 'HAMLINE+TRACK+%26+FIELD';
var htmlTitle	  = 'Hamline+Track+and+Field';
var metaKeywords  = 'Hamline+Univeristy%2C+Track%2C+Track+and+Field%2C+Piper%2C+Hamline+Pipers%2C+MIAC%2C+Minnesota%2C+NCAA%2C+Division+III%2C+Division+3%2C+Elite+Meet%2C+Saint+Pauls+Fastest+Kid%2C+Fastest+Kid%2C+Elite%2C+MN+State+High+School+Meet.';
var metaContents  = 'A+website+built+for+the+Hamline+Track+and+Field+program.++View+records%2C+rosters%2C+schedule%2C+pictures+and+more.++Also%2C+gain+information+on+the+Hamline+Elite+Meet%2C+Saint+Pauls+Fastest+Kid+competition%2C+and+the+MN+State+High+School+Meet.';
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) {
	if(__path_prefix__ == "/servlet/CMServeRES" && typeof (changePage) == 'function'){
		changePage(lookup);
		return;
	}
	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();
};
