/* [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','3401',jdecode('Home'),jdecode(''),'/3401.html','true',[],'',''],
	['PAGE','7901',jdecode('About+Leslie'),jdecode(''),'/7901.html','true',[],'',''],
	['PAGE','8701',jdecode('Leslie%26%23x27%3Bs+Blog'),jdecode(''),'/8701/index.html','true',[ 
		['PAGE','67101',jdecode('Leslie%26%23x27%3Bs+Blog+%28follow+up+page%29'),jdecode(''),'/8701/67101.html','true',[],'',''],
		['PAGE','35501',jdecode('Beginnings'),jdecode(''),'/8701/35501.html','true',[],'',''],
		['PAGE','35522',jdecode('Guidance'),jdecode(''),'/8701/35522.html','true',[],'',''],
		['PAGE','44401',jdecode('Knowing+God%21'),jdecode(''),'/8701/44401.html','true',[],'',''],
		['PAGE','46701',jdecode('Walking'),jdecode(''),'/8701/46701.html','true',[],'',''],
		['PAGE','49801',jdecode('Prayer'),jdecode(''),'/8701/49801.html','true',[],'',''],
		['PAGE','75001',jdecode('The+Choice'),jdecode(''),'/8701/75001.html','true',[],'',''],
		['PAGE','85101',jdecode('Life+is+a+Struggle'),jdecode(''),'/8701/85101.html','true',[],'',''],
		['PAGE','92301',jdecode('Seeing+the+Unseen'),jdecode(''),'/8701/92301.html','true',[],'',''],
		['PAGE','120901',jdecode('Things+I+Love'),jdecode(''),'/8701/120901.html','true',[],'',''],
		['PAGE','141255',jdecode('Gratitude'),jdecode(''),'/8701/141255.html','true',[],'',''],
		['PAGE','141797',jdecode('Emotions+or+God%26%23x27%3Bs+power%3F+'),jdecode(''),'/8701/141797.html','true',[],'','']
	],'',''],
	['PAGE','25701',jdecode('Forum+-+Let%26%23x27%3Bs+Talk%21'),jdecode(''),'/25701.html','true',[],'',''],
	['PAGE','140992',jdecode('Guest+Writers'),jdecode(''),'/140992/index.html','true',[ 
		['PAGE','141369',jdecode('Help%21++My+Husband+Has+Sexually+Abused+Our+Daughter+'),jdecode(''),'/140992/141369.html','true',[],'',''],
		['PAGE','141004',jdecode('The+Silent+Danger+of+Family'),jdecode(''),'/140992/141004.html','true',[],'',''],
		['PAGE','141013',jdecode('Abundant+Life+for+Everyone%3F+'),jdecode(''),'/140992/141013.html','true',[],'',''],
		['PAGE','141194',jdecode('Rainbows+and+Butterflies'),jdecode(''),'/140992/141194.html','true',[],'',''],
		['PAGE','142187',jdecode('Life+is+a+%22Road+Trip%22+NEW'),jdecode(''),'/140992/142187.html','true',[],'','']
	],'',''],
	['PAGE','137201',jdecode('Writer%26%23x27%3Bs+Corner'),jdecode(''),'/137201.html','true',[],'',''],
	['PAGE','14901',jdecode('Essays'),jdecode(''),'/14901/index.html','true',[ 
		['PAGE','18301',jdecode('Women+and+Popular+Media'),jdecode(''),'/14901/18301.html','true',[],'',''],
		['PAGE','36901',jdecode('Dealing+w%2F+the+Opposite+Sex'),jdecode(''),'/14901/36901.html','true',[],'','']
	],'',''],
	['PAGE','7922',jdecode('Stories'),jdecode(''),'/7922/index.html','true',[ 
		['PAGE','18322',jdecode('Leaving+a+Legacy'),jdecode(''),'/7922/18322.html','true',[],'',''],
		['PAGE','18343',jdecode('Victory+over+Illness'),jdecode(''),'/7922/18343.html','true',[],'','']
	],'',''],
	['PAGE','31701',jdecode('Poems'),jdecode(''),'/31701/index.html','true',[ 
		['PAGE','41201',jdecode('21st+Century+Deliverance'),jdecode(''),'/31701/41201.html','true',[],'','']
	],'',''],
	['PAGE','32701',jdecode('Book+Reviews'),jdecode(''),'/32701/index.html','true',[ 
		['PAGE','142069',jdecode('The+Singing+Silence'),jdecode(''),'/32701/142069.html','true',[],'',''],
		['PAGE','32722',jdecode('High+Call+High+Privilege'),jdecode(''),'/32701/32722.html','true',[],'',''],
		['PAGE','54801',jdecode('The+Gift+of+Fear'),jdecode(''),'/32701/54801.html','true',[],'',''],
		['PAGE','38701',jdecode('The+Organized+Executive'),jdecode(''),'/32701/38701.html','true',[],'',''],
		['PAGE','33101',jdecode('Women+as+Risk-Takers+'),jdecode(''),'/32701/33101.html','true',[],'',''],
		['PAGE','67401',jdecode('Speak+Up+W%2FConfidence'),jdecode(''),'/32701/67401.html','true',[],'',''],
		['PAGE','82201',jdecode('The+DNA+of+Relationships'),jdecode(''),'/32701/82201.html','true',[],'','']
	],'',''],
	['PAGE','24301',jdecode('Favorite+Books'),jdecode(''),'/24301.html','true',[],'',''],
	['PAGE','21801',jdecode('Favorite+Ministry%2FStudy+Links'),jdecode(''),'/21801.html','true',[],'',''],
	['PAGE','141575',jdecode('Favorite+Music+Ministries'),jdecode(''),'/141575.html','true',[],'',''],
	['PAGE','141538',jdecode('Family+Help+Links'),jdecode(''),'/141538.html','true',[],'',''],
	['PAGE','142383',jdecode('Words+to+Encourage'),jdecode(''),'/142383.html','true',[],'',''],
	['PAGE','8722',jdecode('Contact+Information'),jdecode(''),'/8722.html','true',[],'',''],
	['PAGE','14206',jdecode('Guestbook'),jdecode(''),'/14206.html','true',[],'','']];
var siteelementCount=46;
theSitetree.topTemplateName='Angkor';
theSitetree.paletteFamily='A5B351';
theSitetree.keyvisualId='6854';
theSitetree.keyvisualName='kv_6854.jpg';
theSitetree.fontsetId='11212';
theSitetree.graphicsetId='12031';
theSitetree.contentColor='657025';
theSitetree.contentBGColor='C1CF70';
var localeDef={
  language: 'en',
  country: 'US'
};
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Angkor',
				paletteFamily: 	'A5B351',
				keyvisualId: 	'6854',
				keyvisualName: 	'kv_6854.jpg',
				fontsetId: 		'11212',
				graphicsetId: 	'12031',
				contentColor: 	'657025',
				contentBGColor: 'C1CF70',
				a_color: 		'C1CF70',
				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:     'false'
			  };
var webappMappings = {};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '3401',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '7901',
internalId:  '',
customField: '20080801-205733'
};
webappMappings['1002']=webappMappings['1002-14206AHW050INEDWV']={
webappId:    '1002',
documentId:  '14206',
internalId:  '14206AHW050INEDWV',
customField: 'icq=false'
};
webappMappings['1003']=webappMappings['1003-ahw050inedwv11ae73f3c2c']={
webappId:    '1003',
documentId:  '25701',
internalId:  'ahw050inedwv11ae73f3c2c',
customField: 'en:US:'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '141194',
internalId:  '',
customField: '20081124-091913'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '3401',
internalId:  '',
customField: '20100709-174001'
};
webappMappings['7008']=webappMappings['7008-8827']={
webappId:    '7008',
documentId:  '8701',
internalId:  '8827',
customField: 'language:en;country:US;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '141369',
internalId:  '',
customField: '20081125-103140'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '141575',
internalId:  '',
customField: '20081219-211018'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '141797',
internalId:  '',
customField: '20090606-104520'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '8701',
internalId:  '',
customField: '20090605-215400'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '67101',
internalId:  '',
customField: '20070308-115838'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '35501',
internalId:  '',
customField: '20081124-114517'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '35522',
internalId:  '',
customField: '20100709-174123'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44401',
internalId:  '',
customField: '20081124-114754'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '46701',
internalId:  '',
customField: '20080907-174314'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '49801',
internalId:  '',
customField: '20080907-174452'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '75001',
internalId:  '',
customField: '20080907-175120'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '85101',
internalId:  '',
customField: '20080907-175504'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '92301',
internalId:  '',
customField: '20080907-175633'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '120901',
internalId:  '',
customField: '20080907-175852'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '25701',
internalId:  '',
customField: '20070401-144127'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '137201',
internalId:  '',
customField: '20080301-193956'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14901',
internalId:  '',
customField: '20090808-211952'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '18301',
internalId:  '',
customField: '20090808-211735'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '36901',
internalId:  '',
customField: '20090808-211837'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '7922',
internalId:  '',
customField: '20100709-174704'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '18322',
internalId:  '',
customField: '20090808-212039'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '18343',
internalId:  '',
customField: '20090808-212107'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '31701',
internalId:  '',
customField: '20100709-174545'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41201',
internalId:  '',
customField: '20100709-174647'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '32701',
internalId:  '',
customField: '20100709-174507'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '32722',
internalId:  '',
customField: '20080206-200858'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '54801',
internalId:  '',
customField: '20080206-200649'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '38701',
internalId:  '',
customField: '20080206-200733'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '33101',
internalId:  '',
customField: '20080206-201009'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '67401',
internalId:  '',
customField: '20080206-201116'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '82201',
internalId:  '',
customField: '20080206-201150'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '24301',
internalId:  '',
customField: '20100709-174317'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '21801',
internalId:  '',
customField: '20100709-174244'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '141538',
internalId:  '',
customField: '20081220-170748'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '141004',
internalId:  '',
customField: '20081125-103209'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '141013',
internalId:  '',
customField: '20081125-093609'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '142383',
internalId:  '',
customField: '20100709-173750'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '8722',
internalId:  '',
customField: '20080206-201644'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '141255',
internalId:  '',
customField: '20081217-115550'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14206',
internalId:  '',
customField: '20070204-202044'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '140992',
internalId:  '',
customField: '20100709-174831'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '142069',
internalId:  '',
customField: '20090808-234824'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '142187',
internalId:  '',
customField: '20090922-190300'
};
webappMappings['7008']=webappMappings['7008-8826']={
webappId:    '7008',
documentId:  '8722',
internalId:  '8826',
customField: 'language:en;country:US;'
};
var canonHostname = 'wsc-worker03.chi.us.siteprotect.com';
var accountId     = 'AHW050INEDWV';
var companyName   = 'JOURNEY+TO+DIGNITY';
var htmlTitle	  = 'JourneytoDignity.com';
var metaKeywords  = 'inspiration%2C+encouragement%2C+stories%2C+essays%2C+overcoming%2C+sexual+abuse%2C+Christian+woman%2C+writer%2C+growth+spiritual%2C+strength%2C+dignity%2C+courage%2C+prayer%2C+faith%2C+courage';
var metaContents  = 'Christian+women%2C+inspiration%2C+Essays%2C+Stories%2C+overcoming+abuse%2C+spiritual+growth%2C+friendships%2C+book+reviews%2C+recommended+reading%2C+recommended+links';
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();
};
