/* [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','4501',jdecode('HOME'),jdecode(''),'/4501/index.html','true',[ 
		['PAGE','5201',jdecode('Mission+Statement'),jdecode(''),'/4501/5201.html','true',[],'',''],
		['PAGE','11701',jdecode('Registration'),jdecode(''),'/4501/11701.html','true',[],'','']
	],'',''],
	['PAGE','5222',jdecode('ABOUT+GSTS'),jdecode(''),'/5222.html','true',[],'',''],
	['PAGE','5453',jdecode('MEMBERS'),jdecode(''),'/5453.html','true',[],'',''],
	['PAGE','5285',jdecode('EVENTS'),jdecode(''),'/5285/index.html','true',[ 
		['PAGE','5306',jdecode('Conference+Call'),jdecode(''),'/5285/5306.html','true',[],'',''],
		['PAGE','5327',jdecode('Annual+Convention'),jdecode(''),'/5285/5327.html','true',[],'','']
	],'',''],
	['PAGE','5348',jdecode('INCORPORATION'),jdecode(''),'/5348.html','true',[],'',''],
	['PAGE','47001',jdecode('CONSTITUTION'),jdecode(''),'/47001.html','true',[],'',''],
	['PAGE','5390',jdecode('CONTACT+US'),jdecode(''),'/5390/index.html','true',[ 
		['PAGE','5411',jdecode('Executive+Committee'),jdecode(''),'/5390/5411.html','true',[],'',''],
		['PAGE','5432',jdecode('Board+of+Trustees'),jdecode(''),'/5390/5432.html','true',[],'',''],
		['PAGE','32801',jdecode('AD+HOC+Committees'),jdecode(''),'/5390/32801.html','true',[],'','']
	],'',''],
	['PAGE','5243',jdecode('CENTENARY'),jdecode(''),'/5243/index.html','true',[ 
		['PAGE','5264',jdecode('Contributors'),jdecode(''),'/5243/5264.html','true',[],'','']
	],'',''],
	['PAGE','5474',jdecode('MEMORY+LANE'),jdecode(''),'/5474/index.html','true',[ 
		['PAGE','5495',jdecode('GSTS+Centenary'),jdecode(''),'/5474/5495.html','true',[],'',''],
		['PAGE','27101',jdecode('First+Convention'),jdecode(''),'/5474/27101.html','true',[],'',''],
		['PAGE','5516',jdecode('Second+Convention'),jdecode(''),'/5474/5516.html','true',[],'',''],
		['PAGE','5537',jdecode('Third+Convention'),jdecode(''),'/5474/5537.html','true',[],'',''],
		['PAGE','50901',jdecode('Fourth+Convention'),jdecode(''),'/5474/50901.html','true',[],'',''],
		['PAGE','5558',jdecode('School+days'),jdecode(''),'/5474/5558.html','true',[],'','']
	],'',''],
	['PAGE','8001',jdecode('OPINIONS'),jdecode(''),'/8001.html','true',[],'',''],
	['PAGE','7901',jdecode('WEATHER'),jdecode(''),'/7901.html','false',[],'',''],
	['PAGE','22801',jdecode('BLOG'),jdecode(''),'/22801.html','false',[],'',''],
	['PAGE','8301',jdecode('SEARCH'),jdecode(''),'/8301.html','false',[],'',''],
	['PAGE','8501',jdecode('GUESSBOOK'),jdecode(''),'/8501.html','false',[],'',''],
	['PAGE','36801',jdecode('ELECTION'),jdecode(''),'/36801.html','false',[],'','']];
var siteelementCount=29;
theSitetree.topTemplateName='Orbit';
theSitetree.paletteFamily='660000';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='172';
theSitetree.graphicsetId='208';
theSitetree.contentColor='CC9999';
theSitetree.contentBGColor='660000';
var localeDef={
  language: 'en',
  country: 'US'
};
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Orbit',
				paletteFamily: 	'660000',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'172',
				graphicsetId: 	'208',
				contentColor: 	'CC9999',
				contentBGColor: '660000',
				a_color: 		'660000',
				b_color: 		'CC9999',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'true',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'true'
			  };
var webappMappings = {};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4501',
internalId:  '',
customField: '20100809-081220'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5516',
internalId:  '',
customField: '20100131-143722'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5537',
internalId:  '',
customField: '20100131-143747'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5558',
internalId:  '',
customField: '20100131-143817'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5474',
internalId:  '',
customField: '20100204-210813'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5201',
internalId:  '',
customField: '20100206-043338'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5222',
internalId:  '',
customField: '20100203-032719'
};
webappMappings['1501']=webappMappings['1501-15779501']={
webappId:    '1501',
documentId:  '4501',
internalId:  '15779501',
customField: '1501'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5243',
internalId:  '',
customField: '20100813-100301'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5264',
internalId:  '',
customField: '20100813-101322'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5348',
internalId:  '',
customField: '20100203-020325'
};
webappMappings['7080']=webappMappings['7080-654']={
webappId:    '7080',
documentId:  '7901',
internalId:  '654',
customField: 'language:en;country:US;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '7901',
internalId:  '',
customField: '20100131-141656'
};
webappMappings['1003']=webappMappings['1003-avf340i7cjl512685c4cba9']={
webappId:    '1003',
documentId:  '8001',
internalId:  'avf340i7cjl512685c4cba9',
customField: 'en:US'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '8001',
internalId:  '',
customField: '20100131-143845'
};
webappMappings['7060']=webappMappings['7060-0533963d7ef2abbf3c6e477481b6793f']={
webappId:    '7060',
documentId:  '5495',
internalId:  '0533963d7ef2abbf3c6e477481b6793f',
customField: 'language:en;country:US;'
};
webappMappings['7060']=webappMappings['7060-15623411df905eedaf37026c5d10fd77']={
webappId:    '7060',
documentId:  '5516',
internalId:  '15623411df905eedaf37026c5d10fd77',
customField: 'language:en;country:US;'
};
webappMappings['7060']=webappMappings['7060-8678beba07549be69134e29c51f41386']={
webappId:    '7060',
documentId:  '5537',
internalId:  '8678beba07549be69134e29c51f41386',
customField: 'language:en;country:US;'
};
webappMappings['7060']=webappMappings['7060-9f3b9dc6bfd4bf44976f46f408e29693']={
webappId:    '7060',
documentId:  '5558',
internalId:  '9f3b9dc6bfd4bf44976f46f408e29693',
customField: 'language:en;country:US;'
};
webappMappings['8002']=webappMappings['8002-search']={
webappId:    '8002',
documentId:  '8301',
internalId:  'search',
customField: 'language:en;country:US;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '8301',
internalId:  '',
customField: '20100131-142033'
};
webappMappings['1002']=webappMappings['1002-8501avf340i7cjl5']={
webappId:    '1002',
documentId:  '8501',
internalId:  '8501avf340i7cjl5',
customField: 'icq=false'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '8501',
internalId:  '',
customField: '20100131-142357'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5285',
internalId:  '',
customField: '20100203-003818'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5306',
internalId:  '',
customField: '20100803-170935'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5327',
internalId:  '',
customField: '20100809-083848'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '47001',
internalId:  '',
customField: '20100819-051053'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5390',
internalId:  '',
customField: '20100213-040530'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5411',
internalId:  '',
customField: '20100809-082603'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5432',
internalId:  '',
customField: '20100711-224024'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5453',
internalId:  '',
customField: '20100819-051226'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5495',
internalId:  '',
customField: '20100204-184807'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '11701',
internalId:  '',
customField: '20100204-041234'
};
webappMappings['7008']=webappMappings['7008-14635']={
webappId:    '7008',
documentId:  '11701',
internalId:  '14635',
customField: 'language:en;country:US;'
};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '4501',
internalId:  '1006',
customField: '1006'
};
webappMappings['7050']=webappMappings['7050-3993']={
webappId:    '7050',
documentId:  '22801',
internalId:  '3993',
customField: 'language:en;country:US;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '22801',
internalId:  '',
customField: '20100203-120159'
};
webappMappings['7060']=webappMappings['7060-689c0f07da6527ecfc3775d1b89fef08']={
webappId:    '7060',
documentId:  '27101',
internalId:  '689c0f07da6527ecfc3775d1b89fef08',
customField: 'language:en;country:US;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '27101',
internalId:  '',
customField: '20100204-033929'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '32801',
internalId:  '',
customField: '20100222-113654'
};
webappMappings['7060']=webappMappings['7060-8aadca3d09ffb1903f95538403f47de7']={
webappId:    '7060',
documentId:  '50901',
internalId:  '8aadca3d09ffb1903f95538403f47de7',
customField: 'language:en;country:US;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '36801',
internalId:  '',
customField: '20100617-011951'
};
webappMappings['7008']=webappMappings['7008-15011']={
webappId:    '7008',
documentId:  '36801',
internalId:  '15011',
customField: 'language:en;country:US;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '50901',
internalId:  '',
customField: '20100819-051857'
};
var canonHostname = 'diywk00.verio.stngva01.us.diy-servers.net';
var accountId     = 'AVF340I7CJL5';
var companyName   = 'GSTS+ALUMNI+ASSOCIATION+OF+NORTH+AMERICA';
var htmlTitle	  = 'gstsnorthamerica';
var metaKeywords  = '%2FGSTS+NORTH+AMERICA++';
var metaContents  = '%2FGSTS+NORTH+AMERICA++';
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();
};
