/* [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 POS_TARGET=8;
var theSitetree=[ 
	['PAGE','2201',jdecode('Home'),jdecode(''), jdecode('%2F2201.html'), 'true',[],'',''],
	['PAGE','10501',jdecode('About+us'),jdecode(''), jdecode('%2F10501%2Findex.html'), 'true',[ 
		['PAGE','10543',jdecode('Mission+Statement'),jdecode(''), jdecode('%2F10501%2F10543.html'), 'true',[],'',''],
		['PAGE','10522',jdecode('Christian+Values'),jdecode(''), jdecode('%2F10501%2F10522.html'), 'true',[],'',''],
		['PAGE','16901',jdecode('Parents+and+the+Community'),jdecode(''), jdecode('%2F10501%2F16901.html'), 'true',[],'',''],
		['PAGE','16922',jdecode('Students'),jdecode(''), jdecode('%2F10501%2F16922.html'), 'true',[],'',''],
		['PAGE','16622',jdecode('Curriculum+'),jdecode(''), jdecode('%2F10501%2F16622.html'), 'true',[],'',''],
		['PAGE','21312',jdecode('Curriculum+Overview'),jdecode(''), jdecode('%2F10501%2F21312.html'), 'true',[],'',''],
		['PAGE','16601',jdecode('How+to+find+us'),jdecode(''), jdecode('%2F10501%2F16601.html'), 'true',[],'','']
	],'',''],
	['PAGE','10564',jdecode('Activities%2FCYO+Basketball'),jdecode(''), jdecode('%2F10564%2Findex.html'), 'true',[ 
		['PAGE','16964',jdecode('Gymastics'),jdecode(''), jdecode('%2F10564%2F16964.html'), 'true',[],'',''],
		['PAGE','17006',jdecode('Majorettes'),jdecode(''), jdecode('%2F10564%2F17006.html'), 'true',[],'','']
	],'',''],
	['PAGE','10585',jdecode('Alumni'),jdecode(''), jdecode('%2F10585.html'), 'true',[],'',''],
	['PAGE','10606',jdecode('Classrooms%2FWebsites'),jdecode(''), jdecode('%2F10606%2Findex.html'), 'true',[ 
		['PAGE','17048',jdecode('Small+Wonders+Program'),jdecode(''), jdecode('%2F10606%2F17048.html'), 'true',[],'',''],
		['PAGE','17069',jdecode('Pre-+School+'),jdecode(''), jdecode('%2F10606%2F17069.html'), 'true',[],'',''],
		['PAGE','17090',jdecode('Kindergarten'),jdecode(''), jdecode('%2F10606%2F17090.html'), 'true',[],'',''],
		['PAGE','17111',jdecode('Grade+1'),jdecode(''), jdecode('%2F10606%2F17111.html'), 'true',[],'',''],
		['PAGE','17132',jdecode('Grade+2'),jdecode(''), jdecode('%2F10606%2F17132.html'), 'true',[],'',''],
		['PAGE','17153',jdecode('Grade+3'),jdecode(''), jdecode('%2F10606%2F17153.html'), 'true',[],'',''],
		['PAGE','17174',jdecode('Grade+4'),jdecode(''), jdecode('%2F10606%2F17174.html'), 'true',[],'',''],
		['PAGE','17195',jdecode('Grade+5'),jdecode(''), jdecode('%2F10606%2F17195.html'), 'true',[],'',''],
		['PAGE','17216',jdecode('Grade+6'),jdecode(''), jdecode('%2F10606%2F17216.html'), 'true',[],'',''],
		['PAGE','17237',jdecode('Grade+7'),jdecode(''), jdecode('%2F10606%2F17237.html'), 'true',[],'',''],
		['PAGE','17258',jdecode('Grade+8'),jdecode(''), jdecode('%2F10606%2F17258.html'), 'true',[],'',''],
		['PAGE','27912',jdecode('Art+Program'),jdecode(''), jdecode('%2F10606%2F27912.html'), 'true',[],'',''],
		['PAGE','27933',jdecode('Computer+Lab'),jdecode(''), jdecode('%2F10606%2F27933.html'), 'true',[],'','']
	],'',''],
	['PAGE','10627',jdecode('Cancellations'),jdecode(''), jdecode('%2F10627.html'), 'true',[],'',''],
	['PAGE','10648',jdecode('Committees'),jdecode(''), jdecode('%2F10648%2Findex.html'), 'true',[ 
		['PAGE','17501',jdecode('Finance+Advisory+Board'),jdecode(''), jdecode('%2F10648%2F17501.html'), 'true',[],'','']
	],'',''],
	['PAGE','2315',jdecode('Contact+Us'),jdecode(''), jdecode('%2F2315.html'), 'true',[],'',''],
	['PAGE','10690',jdecode('Extended+Care'),jdecode(''), jdecode('%2F10690%2Findex.html'), 'true',[ 
		['PAGE','16985',jdecode('Homework+Club'),jdecode(''), jdecode('%2F10690%2F16985.html'), 'true',[],'',''],
		['PAGE','23712',jdecode('Knitting+Club'),jdecode(''), jdecode('%2F10690%2F23712.html'), 'true',[],'',''],
		['PAGE','23733',jdecode('Portuguese+Club'),jdecode(''), jdecode('%2F10690%2F23733.html'), 'true',[],'','']
	],'',''],
	['PAGE','10711',jdecode('Fundraising'),jdecode(''), jdecode('%2F10711%2Findex.html'), 'true',[ 
		['PAGE','18101',jdecode('Fund+IT'),jdecode(''), jdecode('%2F10711%2F18101.html'), 'true',[],'',''],
		['PAGE','18201',jdecode('Grocery+Certificate'),jdecode(''), jdecode('%2F10711%2F18201.html'), 'true',[],'',''],
		['PAGE','18222',jdecode('Labels+for+Education'),jdecode(''), jdecode('%2F10711%2F18222.html'), 'true',[],'',''],
		['PAGE','18243',jdecode('Employer+Matching+Grants'),jdecode(''), jdecode('%2F10711%2F18243.html'), 'true',[],'',''],
		['PAGE','18264',jdecode('Box+Tops+for+Education'),jdecode(''), jdecode('%2F10711%2F18264.html'), 'true',[],'',''],
		['PAGE','18285',jdecode('Recycling'),jdecode(''), jdecode('%2F10711%2F18285.html'), 'true',[],'','']
	],'',''],
	['PAGE','10732',jdecode('Honor+Roll'),jdecode(''), jdecode('%2F10732.html'), 'true',[],'',''],
	['PAGE','9201',jdecode('Letters+Sent+Home+Via+Email'),jdecode(''), jdecode('%2F9201.html'), 'true',[],'',''],
	['PAGE','75823',jdecode('Library'),jdecode(''), jdecode('%2F75823%2Findex.html'), 'true',[ 
		['PAGE','30612',jdecode('Music+Program'),jdecode(''), jdecode('%2F75823%2F30612.html'), 'true',[],'',''],
		['PAGE','27954',jdecode('Physical+Education'),jdecode(''), jdecode('%2F75823%2F27954.html'), 'true',[],'','']
	],'',''],
	['PAGE','2357',jdecode('Links'),jdecode(''), jdecode('%2F2357.html'), 'true',[],'',''],
	['PAGE','10753',jdecode('Master+Calendar'),jdecode(''), jdecode('%2F10753.html'), 'true',[],'',''],
	['PAGE','18401',jdecode('Menu'),jdecode(''), jdecode('%2F18401.html'), 'true',[],'',''],
	['PAGE','2336',jdecode('News'),jdecode(''), jdecode('%2F2336.html'), 'true',[],'',''],
	['PAGE','34412',jdecode('Photos'),jdecode(''), jdecode('%2F34412.html'), 'true',[],'',''],
	['PAGE','44812',jdecode('Principal+Pages'),jdecode(''), jdecode('%2F44812.html'), 'true',[],'',''],
	['PAGE','17522',jdecode('PTO'),jdecode(''), jdecode('%2F17522.html'), 'true',[],'',''],
	['PAGE','18443',jdecode('Staff'),jdecode(''), jdecode('%2F18443.html'), 'true',[],'',''],
	['PAGE','148200',jdecode('Supply+List'),jdecode(''), jdecode('%2F148200.html'), 'true',[],'',''],
	['PAGE','25912',jdecode('St.+Francis+Xavier+Parish'),jdecode(''), jdecode('%2F25912.html'), 'true',[],'',''],
	['PAGE','106556',jdecode('+SFX+YouthGroup%2FMinistry'),jdecode(''), jdecode('%2F106556.html'), 'true',[],'',''],
	['PAGE','18464',jdecode('Tuition'),jdecode(''), jdecode('%2F18464.html'), 'true',[],'',''],
	['PAGE','41512',jdecode('Tutoring'),jdecode(''), jdecode('%2F41512.html'), 'true',[],'',''],
	['PAGE','151200',jdecode('Uniforms+Plus...'),jdecode(''), jdecode('%2F151200.html'), 'true',[],'',''],
	['PAGE','47512',jdecode('Wish+List'),jdecode(''), jdecode('%2F47512.html'), 'true',[],'','']];
var siteelementCount=62;
theSitetree.topTemplateName='Time';
theSitetree.paletteFamily='401A1A';
theSitetree.keyvisualId='2306';
theSitetree.keyvisualName='schule.jpg';
theSitetree.fontsetId='272';
theSitetree.graphicsetId='338';
theSitetree.contentColor='666666';
theSitetree.contentBGColor='FFFFFF';
var localeDef={
  language: 'en',
  country: 'US'
};
var prodDef={
  wl_name: 'hps_testtown',
  product: 'WSCSYSSSSLYTC24G'
};
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Time',
				paletteFamily: 	'401A1A',
				keyvisualId: 	'2306',
				keyvisualName: 	'schule.jpg',
				fontsetId: 		'272',
				graphicsetId: 	'338',
				contentColor: 	'666666',
				contentBGColor: 'FFFFFF',
				a_color: 		'4D1A1A',
				b_color: 		'C55050',
				c_color: 		'000000',
				d_color: 		'FFFFFF',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'true',
				contentFontFace:'Times New Roman, Times, serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '2201',
internalId:  '',
customField: '20110506-093632'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '75823',
internalId:  '',
customField: '20100803-140852'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '2315',
internalId:  '',
customField: '20110716-154808'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '2336',
internalId:  '',
customField: '20100908-120557'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '2357',
internalId:  '',
customField: '20090130-104906'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '16964',
internalId:  '',
customField: '20090130-123213'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '10501',
internalId:  '',
customField: '20120112-103926'
};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '2201',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '10543',
internalId:  '',
customField: '20090129-145624'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '10522',
internalId:  '',
customField: '20090210-104327'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '10606',
internalId:  '',
customField: '20110722-063303'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '10564',
internalId:  '',
customField: '20110716-154611'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '10648',
internalId:  '',
customField: '20090306-073025'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '10711',
internalId:  '',
customField: '20100908-120514'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '18201',
internalId:  '',
customField: '20090130-095500'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '18222',
internalId:  '',
customField: '20090130-095547'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '18243',
internalId:  '',
customField: '20090130-095709'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '18264',
internalId:  '',
customField: '20090130-095821'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '18285',
internalId:  '',
customField: '20110716-155105'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '17522',
internalId:  '',
customField: '20110202-122241'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '16901',
internalId:  '',
customField: '20090130-110333'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '16922',
internalId:  '',
customField: '20090130-110447'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '16622',
internalId:  '',
customField: '20090130-110637'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '16601',
internalId:  '',
customField: '20090130-122140'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '21312',
internalId:  '',
customField: '20090130-121354'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41512',
internalId:  '',
customField: '20100923-162600'
};
webappMappings['2002']=webappMappings['2002-routing']={
webappId:    '2002',
documentId:  '16601',
internalId:  'routing',
customField: 'en_US'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '16985',
internalId:  '',
customField: '20090130-123437'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '23712',
internalId:  '',
customField: '20090224-123854'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '23733',
internalId:  '',
customField: '20090224-124120'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '10585',
internalId:  '',
customField: '20090131-124626'
};
webappMappings['7008']=webappMappings['7008-1641']={
webappId:    '7008',
documentId:  '10585',
internalId:  '1641',
customField: 'language:en;country:US;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '10690',
internalId:  '',
customField: '20110716-154932'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '18464',
internalId:  '',
customField: '20120112-111125'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '18443',
internalId:  '',
customField: '20110728-154738'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '10732',
internalId:  '',
customField: '20110716-144450'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '17048',
internalId:  '',
customField: '20110607-090237'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '17069',
internalId:  '',
customField: '20100803-123537'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '17090',
internalId:  '',
customField: '20090306-072533'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '17111',
internalId:  '',
customField: '20090305-090824'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '17132',
internalId:  '',
customField: '20090311-121246'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '17153',
internalId:  '',
customField: '20090306-072651'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '17174',
internalId:  '',
customField: '20110607-090534'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '17195',
internalId:  '',
customField: '20110615-101031'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '17216',
internalId:  '',
customField: '20111026-093141'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '17237',
internalId:  '',
customField: '20110722-063528'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '17258',
internalId:  '',
customField: '20110607-090649'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '27933',
internalId:  '',
customField: '20110801-090508'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '27912',
internalId:  '',
customField: '20110524-132540'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '27954',
internalId:  '',
customField: '20090305-091035'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '10627',
internalId:  '',
customField: '20110202-121542'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '17501',
internalId:  '',
customField: '20090131-134331'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '18101',
internalId:  '',
customField: '20090414-064119'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44812',
internalId:  '',
customField: '20100915-135614'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '9201',
internalId:  '',
customField: '20120112-110415'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '10753',
internalId:  '',
customField: '20090306-073603'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '18401',
internalId:  '',
customField: '20090224-124640'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '30612',
internalId:  '',
customField: '20090305-091003'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '25912',
internalId:  '',
customField: '20090305-103753'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '34412',
internalId:  '',
customField: '20110615-131756'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '17006',
internalId:  '',
customField: '20090129-150808'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '47512',
internalId:  '',
customField: '20110716-155730'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '106556',
internalId:  '',
customField: '20100225-100027'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '151200',
internalId:  '',
customField: '20110712-062430'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '148200',
internalId:  '',
customField: '20110606-135221'
};
var webAppHostname = 'cgi-wsc.chi.us.siteprotect.com:80';
var canonHostname = 'wsc-worker03.chi.us.siteprotect.com';
var accountId     = 'AHW050INVH43';
var companyName   = 'St.+Francis+Xavier+School';
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) {
	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();
};

