/* [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','4801',jdecode('Home'),jdecode(''),'/4801.html','true',[],'',''],
	['PAGE','6301',jdecode('About+us'),jdecode(''),'/6301/index.html','true',[ 
		['PAGE','9701',jdecode('FAQ'),jdecode(''),'/6301/9701.html','true',[],'',''],
		['PAGE','10601',jdecode('Awards'),jdecode(''),'/6301/10601.html','true',[],'',''],
		['PAGE','10622',jdecode('Affiliations'),jdecode(''),'/6301/10622.html','true',[],'',''],
		['PAGE','10643',jdecode('References'),jdecode(''),'/6301/10643.html','true',[],'','']
	],'',''],
	['PAGE','4852',jdecode('Contact+Us'),jdecode(''),'/4852.html','true',[],'',''],
	['PAGE','10664',jdecode('Photo+Gallery'),jdecode(''),'/10664/index.html','true',[ 
		['PAGE','13001',jdecode('1400+Wewatta'),jdecode(''),'/10664/13001.html','true',[],'',''],
		['PAGE','13022',jdecode('1755+Blake+Street'),jdecode(''),'/10664/13022.html','true',[],'',''],
		['PAGE','13043',jdecode('Adams+12+Aquatic+Center'),jdecode(''),'/10664/13043.html','true',[],'',''],
		['PAGE','17601',jdecode('Bensen+Earth+Science'),jdecode(''),'/10664/17601.html','true',[],'',''],
		['PAGE','13085',jdecode('Denver+Justice+Center'),jdecode(''),'/10664/13085.html','true',[],'',''],
		['PAGE','20501',jdecode('CeDar+Spirit%2FFamily+Ctr'),jdecode(''),'/10664/20501.html','true',[],'',''],
		['PAGE','13106',jdecode('DU+Cherrington+Hall'),jdecode(''),'/10664/13106.html','true',[],'',''],
		['PAGE','13127',jdecode('Ed+II'),jdecode(''),'/10664/13127.html','true',[],'',''],
		['PAGE','13148',jdecode('Longmont+Hospital'),jdecode(''),'/10664/13148.html','true',[],'',''],
		['PAGE','13169',jdecode('Lowry+Youth+Baseball'),jdecode(''),'/10664/13169.html','true',[],'',''],
		['PAGE','13190',jdecode('Residence+Inn'),jdecode(''),'/10664/13190.html','true',[],'',''],
		['PAGE','13211',jdecode('St+Johns+Catholic+Church'),jdecode(''),'/10664/13211.html','true',[],'',''],
		['PAGE','13232',jdecode('Spirituality+Year+House'),jdecode(''),'/10664/13232.html','true',[],'',''],
		['PAGE','12522',jdecode('Sugar+Building'),jdecode(''),'/10664/12522.html','true',[],'',''],
		['PAGE','10685',jdecode('Trinity+United+Methodist'),jdecode(''),'/10664/10685.html','true',[],'',''],
		['PAGE','12501',jdecode('Valor+Christian+School'),jdecode(''),'/10664/12501.html','true',[],'','']
	],'',''],
	['PAGE','9101',jdecode('Safety+%26+Equipment'),jdecode(''),'/9101.html','true',[],'','']];
var siteelementCount=25;
theSitetree.topTemplateName='Classic';
theSitetree.paletteFamily='666666';
theSitetree.keyvisualId='250';
theSitetree.keyvisualName='maurer.jpg';
theSitetree.fontsetId='26';
theSitetree.graphicsetId='28';
theSitetree.contentColor='FF9900';
theSitetree.contentBGColor='000000';
var localeDef={
  language: 'en',
  country: 'US'
};
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Classic',
				paletteFamily: 	'666666',
				keyvisualId: 	'250',
				keyvisualName: 	'maurer.jpg',
				fontsetId: 		'26',
				graphicsetId: 	'28',
				contentColor: 	'FF9900',
				contentBGColor: '000000',
				a_color: 		'666666',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'6699CC',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'false',
				contentFontFace:'Times New Roman, Times, serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4801',
internalId:  '',
customField: '20091005-164818'
};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '4801',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4852',
internalId:  '',
customField: '20100625-135443'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '6301',
internalId:  '',
customField: '20100625-134530'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '9101',
internalId:  '',
customField: '20100625-141257'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '9701',
internalId:  '',
customField: '20100625-134656'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '10622',
internalId:  '',
customField: '20100521-131951'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '10643',
internalId:  '',
customField: '20100625-135207'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13022',
internalId:  '',
customField: '20100520-124005'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13001',
internalId:  '',
customField: '20100521-131158'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '10601',
internalId:  '',
customField: '20100503-172213'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '10664',
internalId:  '',
customField: '20100625-140110'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '10685',
internalId:  '',
customField: '20100521-131734'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '12501',
internalId:  '',
customField: '20100521-131817'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '12522',
internalId:  '',
customField: '20100503-175456'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13043',
internalId:  '',
customField: '20100520-124347'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13085',
internalId:  '',
customField: '20100625-133821'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13106',
internalId:  '',
customField: '20100520-124945'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13127',
internalId:  '',
customField: '20100521-131337'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13148',
internalId:  '',
customField: '20100520-125718'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13169',
internalId:  '',
customField: '20100520-125837'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13190',
internalId:  '',
customField: '20100520-130540'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13211',
internalId:  '',
customField: '20100520-130743'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13232',
internalId:  '',
customField: '20100625-134055'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '17601',
internalId:  '',
customField: '20100521-131251'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '20501',
internalId:  '',
customField: '20100810-131041'
};
var canonHostname = 'diywk01.verio.stngva01.us.diy-servers.net';
var accountId     = 'AVFL30INHLYC';
var companyName   = 'A.P.+Eberlein+Company%2C+Inc.';
var htmlTitle	  = 'AP+Eberlein+Company';
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();
};
