/* [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 theSitetree=[ 
	['PAGE','3401',jdecode('Home'),jdecode(''),'/3401.html','true',[],''],
	['PAGE','3452',jdecode('Consulting+Services'),jdecode(''),'/3452/index.html','true',[ 
		['PAGE','3473',jdecode('Level+I'),jdecode(''),'/3452/3473.html','true',[],''],
		['PAGE','3494',jdecode('Level+II'),jdecode(''),'/3452/3494.html','true',[],''],
		['PAGE','3515',jdecode('Level+III'),jdecode(''),'/3452/3515.html','true',[],'']
	],''],
	['PAGE','3536',jdecode('Training+Programs'),jdecode(''),'/3536/index.html','true',[ 
		['PAGE','3557',jdecode('Management'),jdecode(''),'/3536/3557.html','true',[],''],
		['PAGE','3578',jdecode('Organization'),jdecode(''),'/3536/3578.html','true',[],'']
	],''],
	['PAGE','41626',jdecode('BRAND%3A+YOU+'),jdecode(''),'/41626.html','true',[],''],
	['PAGE','42111',jdecode('Webinars'),jdecode(''),'/42111.html','true',[],''],
	['PAGE','3599',jdecode('Speaking+Engagements'),jdecode(''),'/3599.html','true',[],''],
	['PAGE','3620',jdecode('Partial+Client+List'),jdecode(''),'/3620.html','true',[],''],
	['PAGE','32601',jdecode('Upcoming+Events'),jdecode(''),'/32601.html','true',[],''],
	['PAGE','3641',jdecode('Julius+Rhodes+Profile'),jdecode(''),'/3641.html','true',[],''],
	['PAGE','35201',jdecode('Photos+Past+and+Present'),jdecode(''),'/35201.html','true',[],''],
	['PAGE','3662',jdecode('Contact+Us'),jdecode(''),'/3662/index.html','true',[ 
		['PAGE','11901',jdecode('Contact+Us+%28follow+up+page%29'),jdecode(''),'/3662/11901.html','false',[],'']
	],''],
	['PAGE','42204',jdecode('Products+and+Services'),jdecode(''),'/42204.html','true',[],''],
	['PAGE','9106',jdecode('Guestbook'),jdecode(''),'/9106/index.html','true',[ 
		['PAGE','9101',jdecode('Read+Guestbook'),jdecode(''),'/9106/9101.html','false',[],'']
	],'']];
var siteelementCount=20;
theSitetree.topTemplateName='Collage';
theSitetree.paletteFamily='6683B6';
theSitetree.keyvisualId='2445';
theSitetree.keyvisualName='blanko.jpg';
theSitetree.fontsetId='406';
theSitetree.graphicsetId='461';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='FFFFFF';
var theTemplate={
				name: 			'Collage',
				paletteFamily: 	'6683B6',
				keyvisualId: 	'2445',
				keyvisualName: 	'blanko.jpg',
				fontsetId: 		'406',
				graphicsetId: 	'461',
				contentColor: 	'000000',
				contentBGColor: 'FFFFFF',
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				a_color: 		'FFFFFF',
				b_color: 		'6683B6',
				c_color: 		'FFFFFF',
				d_color: 		'FFFFFF',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'false',
				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:  '3401',
internalId:  '',
customField: '20090703-112219'
};
webappMappings['1002']=webappMappings['1002-9106AHW050INX2IZ']={
webappId:    '1002',
documentId:  '9106',
internalId:  '9106AHW050INX2IZ',
customField: 'icq=false'
};
webappMappings['1001']=webappMappings['1001-ahw050inx2ize7ca73f102df96b1']={
webappId:    '1001',
documentId:  '3662',
internalId:  'ahw050inx2ize7ca73f102df96b1',
customField: ''
};
webappMappings['1001']=webappMappings['1001-ahw050inx2ize7ca73f102df96b1']={
webappId:    '1001',
documentId:  '11901',
internalId:  'ahw050inx2ize7ca73f102df96b1',
customField: 'followUp'
};
webappMappings['1501']=webappMappings['1501-106267']={
webappId:    '1501',
documentId:  '3401',
internalId:  '106267',
customField: '1501'
};
webappMappings['7060']=webappMappings['7060-90c87cc6564e3ba493428c23f5ed0c16']={
webappId:    '7060',
documentId:  '35201',
internalId:  '90c87cc6564e3ba493428c23f5ed0c16',
customField: 'language:en;country:US;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '32601',
internalId:  '',
customField: '20100118-205002'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '3452',
internalId:  '',
customField: '20070515-150834'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '3473',
internalId:  '',
customField: '20070517-125108'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '3494',
internalId:  '',
customField: '20070517-125125'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '3515',
internalId:  '',
customField: '20070517-125141'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '3536',
internalId:  '',
customField: '20070524-130439'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '3557',
internalId:  '',
customField: '20070517-125211'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '3578',
internalId:  '',
customField: '20070517-125232'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '3599',
internalId:  '',
customField: '20070517-125301'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '3620',
internalId:  '',
customField: '20100118-203850'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '3641',
internalId:  '',
customField: '20090703-113017'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '35201',
internalId:  '',
customField: '20080602-235449'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '3662',
internalId:  '',
customField: '20090405-184650'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '11901',
internalId:  '',
customField: '20070515-225822'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '9106',
internalId:  '',
customField: '20090923-215159'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '9101',
internalId:  '',
customField: '20070517-125453'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41626',
internalId:  '',
customField: '20100118-210601'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42111',
internalId:  '',
customField: '20100125-144547'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42204',
internalId:  '',
customField: '20100118-212944'
};
var canonHostname = 'wsc-worker03.chi.us.siteprotect.com';
var accountId     = 'AHW050INX2IZ';
var companyName   = 'mpr+group';
var htmlTitle	  = 'http%3A%2F%2Fmprgroup.info';
var metaKeywords  = 'Human+Capital+Services+Human+Resources+Consulting+Julius+E.+Rhodes%2C+SPHR+Organization+Effectiveness+Leadership+Staff+Development+Training+and+Development+mpr+group';
var metaContents  = 'Human+Capital+Services+Human+Resources+Companies+Training+and+Development+Management+Consulting+Project+Management+Motivational+and+Keynote+Addresses+Organization+Effectiveness+Leadership+Development+';
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();
};
