/* [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','901',jdecode('About+George+Henderson'),jdecode(''),'/901/index.html','true',[ 
		['PAGE','7101',jdecode('Significant+Projects'),jdecode(''),'/901/7101.html','true',[],'',''],
		['PAGE','8301',jdecode('Industry+Experience'),jdecode(''),'/901/8301.html','true',[],'',''],
		['PAGE','5343',jdecode('Degrees+%26+Certifications'),jdecode(''),'/901/5343.html','true',[],'',''],
		['PAGE','973',jdecode('Personal'),jdecode(''),'/901/973.html','false',[],'','']
	],'',''],
	['PAGE','69201',jdecode('White+Papers'),jdecode(''),'/69201/index.html','true',[ 
		['PAGE','69701',jdecode('3++Essentials+for+Change'),jdecode(''),'/69201/69701.html','true',[],'',''],
		['PAGE','69901',jdecode('Your+Innovation+Quotient%C2%A9'),jdecode(''),'/69201/69901.html','true',[],'',''],
		['PAGE','70301',jdecode('Cost+of+Nincompoops'),jdecode(''),'/69201/70301.html','true',[],'',''],
		['PAGE','71101',jdecode('Transforming+Leadership'),jdecode(''),'/69201/71101.html','true',[],'',''],
		['PAGE','69222',jdecode('Cost-Containment'),jdecode(''),'/69201/69222.html','true',[],'',''],
		['PAGE','71601',jdecode('Turning+Pain+to+Participation'),jdecode(''),'/69201/71601.html','true',[],'','']
	],'',''],
	['PAGE','19201',jdecode('Blog+%26+Links'),jdecode(''),'/19201.html','true',[],'',''],
	['PAGE','5301',jdecode('Navigator+Consulting'),jdecode(''),'/5301.html','true',[],'',''],
	['PAGE','62601',jdecode('Executive+Retreat+Venues'),jdecode(''),'/62601/index.html','true',[ 
		['PAGE','59401',jdecode('Caleb%26%23x27%3Bs+Mountain+Ranch'),jdecode(''),'/62601/59401.html','true',[],'',''],
		['PAGE','10801',jdecode('Sailboat+%22Faith%22'),jdecode(''),'/62601/10801.html','true',[],'','']
	],'',''],
	['PAGE','6201',jdecode('Contact'),jdecode(''),'/6201/index.html','true',[ 
		['PAGE','9101',jdecode('Contact+%28follow+up+page%29'),jdecode(''),'/6201/9101.html','false',[],'','']
	],'','']];
var siteelementCount=19;
theSitetree.topTemplateName='Movement';
theSitetree.paletteFamily='3E6E72';
theSitetree.keyvisualId='1819';
theSitetree.keyvisualName='kv_dummy.jpg';
theSitetree.fontsetId='291';
theSitetree.graphicsetId='354';
theSitetree.contentColor='DDDDDD';
theSitetree.contentBGColor='3E6E72';
var localeDef={
  language: 'en',
  country: 'US'
};
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Movement',
				paletteFamily: 	'3E6E72',
				keyvisualId: 	'1819',
				keyvisualName: 	'kv_dummy.jpg',
				fontsetId: 		'291',
				graphicsetId: 	'354',
				contentColor: 	'DDDDDD',
				contentBGColor: '3E6E72',
				a_color: 		'3E6E72',
				b_color: 		'101C1D',
				c_color: 		'FFFFFF',
				d_color: 		'FFFFFF',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'false',
				contentFontFace:'Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '901',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '62601',
internalId:  '',
customField: '20100806-161810'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '59401',
internalId:  '',
customField: '20100806-162101'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '901',
internalId:  '',
customField: '20101108-104258'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '7101',
internalId:  '',
customField: '20080717-190020'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '8301',
internalId:  '',
customField: '20100825-153140'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5343',
internalId:  '',
customField: '20080802-151331'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '973',
internalId:  '',
customField: '20090416-053334'
};
webappMappings['7008']=webappMappings['7008-982']={
webappId:    '7008',
documentId:  '6201',
internalId:  '982',
customField: 'language:en;country:US;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '69222',
internalId:  '',
customField: '20101108-095337'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '69201',
internalId:  '',
customField: '20101104-053033'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5301',
internalId:  '',
customField: '20090617-063844'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '10801',
internalId:  '',
customField: '20100825-070937'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '6201',
internalId:  '',
customField: '20101108-105203'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '9101',
internalId:  '',
customField: '20080103-152414'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '19201',
internalId:  '',
customField: '20080802-151736'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '69901',
internalId:  '',
customField: '20101103-174620'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '69701',
internalId:  '',
customField: '20101103-181447'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '70301',
internalId:  '',
customField: '20101103-180017'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '71101',
internalId:  '',
customField: '20101104-051820'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '71601',
internalId:  '',
customField: '20101104-053258'
};
var canonHostname = 'wscwrk01.ehost-services.com';
var accountId     = 'AEN010INV2OF';
var companyName   = 'GEORGE+HENDERSON';
var htmlTitle	  = 'George+Henderson';
var metaKeywords  = 'HEADGeorge+Henderson%2FHEAD%2C+HEADHenderson%2FHEAD%2C+%2C+HEADGeorge%2FHEAD%2C+HEADNavigator+Consulting+Services%2FHEAD+HEADNavigator%2FHEAD%2C+HEADConsulting%2FHEAD%2C+HEADSix+Sigma%2FHEAD%2C+HEADBalanced+Scorecard%2FHEAD%2C+HEADActivity+Based+Costing%2FHEAD%2C+HEADConsultant%2FHEAD%2C+HEADTulane%2FHEAD%2C+HEADStrategy%2FHEAD%2C+HEADSTART%2FHEAD%2C+George+D+Henderson%2C+START%2C+Start+methodology%2C+tulane';
var metaContents  = 'George+Henderson+has+helped+mid-sized+to+Fortune+500+clients+save+more+than+%24120+million+since+2002.++A+speaker%2C+writer%2C+MBA+and+executive+coach%2C+he+has+led+tough+business+transformations+including+mergers+and+acquisitions%2C+organizational+and+management+restructurings%2C+insourcing+and+outsourcing+key+functions%2C+and+business+process+reengineering.++His+replicable+START+Change+Management+Methodology+links+people%2C+strategy%2C+operations+and+execution%2C+creating+sustainable+models+for+continuous+improvement.++George+is+the+author+of+Executive+Mandate%3A+A+CEOs+Rapid-Deployment+Guide+to+Achieving+a+Performance-Driven+Culture.++www.GeorgeHenderson.com';
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();
};

