/* [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','301',jdecode('Home'),jdecode(''), jdecode('%2F301.html'), 'true',[],'',''],
	['PAGE','10348',jdecode('Message+from+Pastor'),jdecode(''), jdecode('%2F10348.html'), 'true',[],'',''],
	['PAGE','3901',jdecode('About+us'),jdecode(''), jdecode('%2F3901%2Findex.html'), 'true',[ 
		['PAGE','3922',jdecode('Welcome+Video'),jdecode(''), jdecode('%2F3901%2F3922.html'), 'true',[],'',''],
		['PAGE','9601',jdecode('Stronger+Hope+History'),jdecode(''), jdecode('%2F3901%2F9601.html'), 'true',[],'',''],
		['PAGE','9622',jdecode('Vision+Statement'),jdecode(''), jdecode('%2F3901%2F9622.html'), 'true',[],'',''],
		['PAGE','9643',jdecode('Meet+the+Staff'),jdecode(''), jdecode('%2F3901%2F9643.html'), 'true',[],'','']
	],'',''],
	['PAGE','9748',jdecode('Worship+Services'),jdecode(''), jdecode('%2F9748.html'), 'true',[],'',''],
	['PAGE','10369',jdecode('Church+Ministries'),jdecode(''), jdecode('%2F10369%2Findex.html'), 'true',[ 
		['PAGE','30012',jdecode('Ministry+Listing'),jdecode(''), jdecode('%2F10369%2F30012.html'), 'true',[],'',''],
		['PAGE','39312',jdecode('Meetings+and+Rehearsals'),jdecode(''), jdecode('%2F10369%2F39312.html'), 'true',[],'',''],
		['PAGE','30033',jdecode('Stronger+Hope+Missions'),jdecode(''), jdecode('%2F10369%2F30033.html'), 'true',[],'','']
	],'',''],
	['PAGE','10390',jdecode('Online+Giving'),jdecode(''), jdecode('%2F10390.html'), 'true',[],'',''],
	['PAGE','3943',jdecode('I%26%23x27%3Bm+New'),jdecode(''), jdecode('%2F3943%2Findex.html'), 'true',[ 
		['PAGE','3964',jdecode('Top+Ten+Questions'),jdecode(''), jdecode('%2F3943%2F3964.html'), 'true',[],'',''],
		['PAGE','13001',jdecode('Directions'),jdecode(''), jdecode('%2F3943%2F13001.html'), 'true',[],'',''],
		['PAGE','10843',jdecode('Equipping+Classes'),jdecode(''), jdecode('%2F3943%2F10843.html'), 'true',[],'','']
	],'',''],
	['PAGE','43012',jdecode('Announcements'),jdecode(''), jdecode('%2F43012%2Findex.html'), 'true',[ 
		['PAGE','10801',jdecode('News%2FEvents'),jdecode(''), jdecode('%2F43012%2F10801.html'), 'true',[],'',''],
		['PAGE','10822',jdecode('Calendar+'),jdecode(''), jdecode('%2F43012%2F10822.html'), 'true',[],'',''],
		['PAGE','10885',jdecode('Newsletter'),jdecode(''), jdecode('%2F43012%2F10885.html'), 'true',[],'',''],
		['PAGE','50612',jdecode('Pastoral+Care'),jdecode(''), jdecode('%2F43012%2F50612.html'), 'true',[],'',''],
		['PAGE','56969',jdecode('This+Month%26%23x27%3Bs+Birthdays'),jdecode(''), jdecode('%2F43012%2F56969.html'), 'true',[],'','']
	],'',''],
	['PAGE','11801',jdecode('Photo+Albums'),jdecode(''), jdecode('%2F11801%2Findex.html'), 'true',[ 
		['PAGE','30512',jdecode('Church+Functions%2FGatherings'),jdecode(''), jdecode('%2F11801%2F30512.html'), 'true',[],'','']
	],'',''],
	['PAGE','10432',jdecode('Contact+US'),jdecode(''), jdecode('%2F10432.html'), 'true',[],'',''],
	['PAGE','57328',jdecode('Contact+Form'),jdecode(''), jdecode('%2F57328.html'), 'true',[],'','']];
var siteelementCount=27;
theSitetree.topTemplateName='Steps';
theSitetree.paletteFamily='726C60';
theSitetree.keyvisualId='2287';
theSitetree.keyvisualName='blanko.jpg';
theSitetree.fontsetId='368';
theSitetree.graphicsetId='421';
theSitetree.contentColor='FFFFFF';
theSitetree.contentBGColor='726C60';
var localeDef={
  language: 'en',
  country: 'US'
};
var prodDef={
  wl_name: 'gate',
  product: 'WSCSYSSSSLYTCPCD'
};
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Steps',
				paletteFamily: 	'726C60',
				keyvisualId: 	'2287',
				keyvisualName: 	'blanko.jpg',
				fontsetId: 		'368',
				graphicsetId: 	'421',
				contentColor: 	'FFFFFF',
				contentBGColor: '726C60',
				a_color: 		'726C60',
				b_color: 		'888173',
				c_color: 		'3366CC',
				d_color: 		'FFFFFF',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'true',
				contentFontFace:'Times New Roman, Times, serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['1501']=webappMappings['1501-81746']={
webappId:    '1501',
documentId:  '301',
internalId:  '81746',
customField: '1501'
};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '301',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '301',
internalId:  '',
customField: '20111215-143903'
};
webappMappings['2001']=webappMappings['2001-location']={
webappId:    '2001',
documentId:  '13001',
internalId:  'location',
customField: 'language:en;country:US;isIncluded:false;'
};
webappMappings['7060']=webappMappings['7060-551187b77d181f1723ed53bc6ae42162']={
webappId:    '7060',
documentId:  '30512',
internalId:  '551187b77d181f1723ed53bc6ae42162',
customField: 'language:en;country:US;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43012',
internalId:  '',
customField: '20110627-162323'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '10822',
internalId:  '',
customField: '20100609-000450'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '50612',
internalId:  '',
customField: '20090603-193323'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '10348',
internalId:  '',
customField: '20100501-145554'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '3901',
internalId:  '',
customField: '20080317-015141'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '3922',
internalId:  '',
customField: '20080218-173731'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '9601',
internalId:  '',
customField: '20090222-220630'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '9622',
internalId:  '',
customField: '20090222-220644'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '9643',
internalId:  '',
customField: '20080218-184225'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '9748',
internalId:  '',
customField: '20090222-220516'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '10369',
internalId:  '',
customField: '20080303-005751'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '30012',
internalId:  '',
customField: '20090222-220749'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '39312',
internalId:  '',
customField: '20080425-015622'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '30033',
internalId:  '',
customField: '20080302-091157'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '10390',
internalId:  '',
customField: '20080418-205850'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '3943',
internalId:  '',
customField: '20090618-080951'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '3964',
internalId:  '',
customField: '20080317-011803'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13001',
internalId:  '',
customField: '20080219-124252'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '10843',
internalId:  '',
customField: '20080218-185717'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '10801',
internalId:  '',
customField: '20100409-151710'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '10885',
internalId:  '',
customField: '20100610-230110'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '11801',
internalId:  '',
customField: '20100503-141339'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '30512',
internalId:  '',
customField: '20100609-133929'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '10432',
internalId:  '',
customField: '20090222-221007'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '56969',
internalId:  '',
customField: '20100609-003439'
};
webappMappings['7008']=webappMappings['7008-4352']={
webappId:    '7008',
documentId:  '57328',
internalId:  '4352',
customField: 'language:en;country:US;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '57328',
internalId:  '',
customField: '20100602-115321'
};
var webAppHostname = 'cgi-wsc.chi.us.siteprotect.com:80';
var canonHostname = 'wsc-worker04.chi.us.siteprotect.com';
var accountId     = 'AHW050INXXL6';
var companyName   = 'Stronger+Hope+Baptist+Church';
var htmlTitle	  = 'Stronger+Hope+Baptist+Church';
var metaKeywords  = 'Stronger+++Hope+++Baptist+++Church++Ronald++Moore';
var metaContents  = 'Stonger+Hope+Baptist+Church+is+committed+to+bringing+people+to+Jesus+and+fellowhip+in+the+church+family%2C+to+develop+them+into+Christ-Like+maturity+and+equip+them+for+their+ministry+in+the+Lords+church+and+for+lifes+mission+in+the+world+in+order+to+magnify+our+Lord+and+Savior+Jesus+Christ.+We+endeavor+to+exalt+the+Savior%2C+equip+the+saint+and+evangelize+the+sinners.+';
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();
};

