/* [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','1201',jdecode('Home'),jdecode(''),'/1201.html','true',[],'',''],
	['PAGE','1252',jdecode('Resume'),jdecode(''),'/1252.html','true',[],'',''],
	['PAGE','1273',jdecode('Contact+Me'),jdecode(''),'/1273/index.html','true',[ 
		['PAGE','8301',jdecode('Contact+Me+%28follow+up+page%29'),jdecode(''),'/1273/8301.html','false',[],'','']
	],'','']];
var siteelementCount=4;
theSitetree.topTemplateName='Inspiration';
theSitetree.paletteFamily='819B9B';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='100';
theSitetree.graphicsetId='126';
theSitetree.contentColor='FFFFFF';
theSitetree.contentBGColor='819B9B';
var localeDef={
  language: 'en',
  country: 'US'
};
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Inspiration',
				paletteFamily: 	'819B9B',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'100',
				graphicsetId: 	'126',
				contentColor: 	'FFFFFF',
				contentBGColor: '819B9B',
				a_color: 		'819B9B',
				b_color: 		'C8C899',
				c_color: 		'000000',
				d_color: 		'FFFFFF',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'true',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '1201',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '1201',
internalId:  '',
customField: '20100604-234301'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '1252',
internalId:  '',
customField: '20100604-234736'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '1273',
internalId:  '',
customField: '20091202-123943'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '8301',
internalId:  '',
customField: '20070707-160452'
};
webappMappings['5001']=webappMappings['5001-']={
webappId:    '5001',
documentId:  '1201',
internalId:  '',
customField: 'language:en;country:US;'
};
webappMappings['5001']=webappMappings['5001-']={
webappId:    '5001',
documentId:  '1252',
internalId:  '',
customField: 'language:en;country:US;'
};
webappMappings['5001']=webappMappings['5001-']={
webappId:    '5001',
documentId:  '1273',
internalId:  '',
customField: 'language:en;country:US;'
};
webappMappings['5001']=webappMappings['5001-']={
webappId:    '5001',
documentId:  '8301',
internalId:  '',
customField: 'language:en;country:US;'
};
webappMappings['7008']=webappMappings['7008-1565']={
webappId:    '7008',
documentId:  '1273',
internalId:  '1565',
customField: 'language:en;country:US;'
};
var canonHostname = 'wscwrk01.ehost-services.com';
var accountId     = 'AEN010IN3L18';
var companyName   = '4+His+Kingdom+Ministries';
var htmlTitle	  = 'www.CarlosSales.org';
var metaKeywords  = 'executive+pastor+church+consultant+life+coaching+pastoral+ministries+ministry+small+groups+construction+administration+leadership+Church+consulting+and+ministry+pastoral+coaching+weddings+memorial+services+funerals+San+Diego++World+Vision%2C+Oppertunity+Internations%2C+Malawi%2C+Africa%2C+Missions++Y-Malawi%3F+FaithQuest+Missions%2C+Faith+Quest+Missions%2C+Carlos+Lisa+Sales%2C+weddings%2C+weddngs+dresses%2C+wedding+flowers%2C+wedding+cakes%2C+wedding+invitations%2C+wet+wedding%2C+wedding+rings%2C+wedding+songs%2C+Temecula+Weddings%2C+Temecula+Officiant%2C+San+Diego+weddings%2C+San+Diego+Officiant%2C+officiants';
var metaContents  = 'Church+consulting+and+ministry+pastoral+coaching+weddings+memorial+services+funerals+San+Diego+executive+pastor+church+consultant+life+coaching+pastoral+ministries+ministry+small+groups+construction+administration+leadershi+++++++++We+been+happily+married+to+Lisa+since+May+of+1987.++We+have+four+children...+Gracie+%2817%29%2C+Alison+%2815%29%2C+Olivia+%2814%29+and+Chase+%2811%29.++Lisa+home+schools+our+children.+However%2C+Chase+has+Downs+syndrome%2C+so+he+currently+attends+a+special+needs+school+in+Vista.+Our+family+loves+to+swim+and+play+games+together.++We+love+to+vacation+as+a+family+and+one+of+our+favorite+vacations+each+year+is+Forest+Home+Family+Camp.+++++I+enjoy+riding+street+motorcycles%2C+computers%2C+reading+and+working+out.+++++I%E2%80%99m+passionately+committed+to+helping+people+develop+and+build+an+intimate+love+relationship+with+God+through+prayer%2C+study+of+His+Word%2C+and+using+their+gifts+to+serve+others+and+to+lead+them+to+Christ.++Encouraging+others+to+live+life+to+it%E2%80%99s+fullest+is+also+a+passion+of+mine.++++My+purpose+in+life+is...+%E2%80%9CTo+bring+glory+to+God+by+pursuing+a+rich%2C+intimate%2C+authentic+love+relationship+with+Jesus+Christ+and+by+investing+all+the+resources+He+has+entrusted+to+me+%E2%80%94+my+gifts%2C+my+abilities%2C+my+time+and+my+money+%E2%80%94+in+ways+that+directly+contribute+to+fulfilling+the+Great+Commission.+++++My+priorities+in+ministry+include+building+and+leading+ministry+teams+through+partnership%2C+affirmation%2C+collaboration%2C+empowerment+and+accountability.++I+care+deeply+about+designing+and+implementing+ministries+that+reflect+biblical+integrity+and+cultural+relevancy.++My+values+and+desires+are+to+maximize+each+persons+unique+gifts%2C+competencies+and+passions+as+they+take+steps+of+faith+towards+spiritual+maturity.++++I+studied+Civil+Engineering+and+Computer+Science+in+my+early+years+and+later+received+my+Bachelor+of+Science+degree+at+Biola+University+for+Organizational+Leadership.+++++I+was+born+in+Hong+Kong+and+moved+with+my+family+to+the+United+States+when+I+was+nine-years-old.+I+was+raised+in+a+strict+Catholic+home.+I+attended+Catholic+school%2C+Catechism+and+mass+every+weekend.+I+considered+myself+a+religious+and+moral+person.++++On+February+4%2C+1978%2C+I+accepted+an+invitation+to+a+Christian+concert+at+Calvary+Chapel+in+Costa+Mesa.+I+heard%2C+for+the+first+time%2C+that+it+was+possible+to+have+a+personal+relationship+with+God.+God+opened+my+eyes+and+I+took+a+step+of+faith+in+accepting+Jesus+Christ+into+my+life+as+my+Lord+and+Savior.+My+spirit+came+alive+and+I+instantly+developed+a+new+awareness+and+passion+for+God+and+His+Word.++++My+call+stems+from+a+strong+desire+to+serve+God+with+all+my+heart+and+with+all+my+life.+In+February+of+1995%2C+I+was+a+Systems+and+Programming+Manager+for+Lockheed+Martin+Corporation+when+the+Senior+Pastor+at+Cypress+E.V.+Free+Church+approached+me.+He+asked+me+to+pray+about+leaving+a+good+paying+career+to+serve+full-time+in+my+local+church%3B+it+was+not+a+difficult+decision.+God+had+prepared+me+for+that+day.+As+the+responsibilities+of+the+Executive+Pastor+position+were+explained+to+me%2C+I+saw+God+putting+together+the+puzzle+pieces+of+my+life+experiences.+All+the+pieces+came+together+into+a+clear+picture+that+this+was+my+purpose%3B+to+serve+God+in+full-time+ministry.+I+have+never+regretted+leaving+the+secular+workplace+to+serve+first+as+an+Executive+Pastor+for+7+years+at+Cypress+Church%2C+2+years+as+a+Small+Groups++Events+Pastor+at+a+mega-church+in+North+San+Diego+County%2C+and+then+almost+4+years+as+the+Pastor+of+Ministries+at+Mission+Hills+Church.++All+along+consulting+with+churches+and+coaching+pastors.+++++Ms+God+reveals+to+us+His+will+for+our+lives...+we+see+even+more+clearly+how+He+has+prepared+us+to+serve+Him+in+the+following+areas.+++++Lisa+and+I+have+been+called+by+God+from+the+Shepherd%E2%80%99s+field+to+the+Mission+field.++We+believe+that+God+has+called+us+to+take+this+step+of+faith+to+serve+Him+in+a+whole+new+way.++We+are+excited+yet+very+humbled+by+what+He+is+doing+in+our+hearts.+++++To+check-out+the+Missions+Organizations+that+were+partnering+with+go+to...++++www.FaithQuestMissions.org+++www.Y-Malawi.com+++We+are+taking+a+step+of+faith%2C+joining+FaithQuest+Missions+and+making+the+Y-Malawi+project+our+primary+focus.++Our+primary+source+of+income+will+be+financial+support+of+individuals+and+churches.++Please+prayerfully+consider+partnering+with+us+to+mobilize+the+church+to+reach+the+lost+and+care+for+the+poor+of+the+world.++++If+you+feel+lead+you+can+send+checks+to%3A+++FaithQuest+Missions+-+25016+Adelanto+Drive%2C+Laguna+Niguel%2C+CA+92677.+++Just+write+my+name+on+the+memo+line.++++Contributions+can+also+be+made+online.++Simply+click+on+this+button%3A++++FaithQuest+Missions+is+a+501%28c%293+Non-Profit+Organization+%28Tax+ID+%23+81-0599806%29.+++All+donors+will+receive+a+year-end+tax+receipt+totalling+all+contributions+within+the+year.+An+immediate+receipt+for+each+contribution+will+be+happily+made+upon+request%21+++++To+review+our+Church+Consulting+and+Ministry+Services+sites+go+to...++++www.SDMinistryServices.net+++www.MyExecutivePastor.com+++++To+review+my+Recommendations...+Click+HERE.++Im+looking+forward+to+meeting+you+in+person+someday+soon.++For+now%2C+please+take+a+few+minutes+to+browse+this+site%2C+and+fill+out+my+GUEST+BOOK.++If+you+would+prefer+to+contact+me+directly...+you+can+reach+me+at+%28760%29+734-1553%2C+or+email+me+at+PastorCarlos%40cox.net.++++Lisa%2C+the+Love+of+My+Life%21++On+May+2%2C+2007+we+celebrated+our+20th+Anniversary.++++Our+Children...++Gracie+Elisabeth+%2817%29++Alison+Joy+%2815%29++Olivia+Faith+%2814%29++Carlos%2C+Jr.+Chase+%2811%29++++CARLOS+ANGELS+++BODY+GUARDS++++++Lisa%2C+Alison%2C+Olivia%2C++Gracie+++CHASE++HIS+DOG+FAITH+++World+Vision%2C+Oppertunity+Internations%2C+Malawi%2C+Africa%2C+Missions';
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();
};
