/* [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','2501',jdecode('Home'),jdecode(''), jdecode('%2F2501.html'), 'true',[],'',''],
	['PAGE','2552',jdecode('About+Us'),jdecode(''), jdecode('%2F2552%2Findex.html'), 'true',[ 
		['PAGE','2594',jdecode('Leadership+Team'),jdecode(''), jdecode('%2F2552%2F2594.html'), 'true',[],'',''],
		['PAGE','14901',jdecode('Partners'),jdecode(''), jdecode('%2F2552%2F14901.html'), 'true',[],'',''],
		['PAGE','23001',jdecode('Case+Studies'),jdecode(''), jdecode('%2F2552%2F23001.html'), 'true',[],'','']
	],'',''],
	['PAGE','2636',jdecode('Services'),jdecode(''), jdecode('%2F2636%2Findex.html'), 'true',[ 
		['PAGE','22501',jdecode('Consulting+Services'),jdecode(''), jdecode('%2F2636%2F22501.html'), 'true',[],'',''],
		['PAGE','31512',jdecode('Healthcare+Services'),jdecode(''), jdecode('%2F2636%2F31512.html'), 'true',[],'',''],
		['PAGE','39812',jdecode('Solutions%3A+ePhysicianHub'),jdecode(''), jdecode('%2F2636%2F39812.html'), 'true',[],'',''],
		['PAGE','13401',jdecode('Information+Technology'),jdecode(''), jdecode('%2F2636%2F13401.html'), 'true',[],'',''],
		['PAGE','13201',jdecode('Infrastructure'),jdecode(''), jdecode('%2F2636%2F13201.html'), 'true',[],'',''],
		['PAGE','12801',jdecode('Lean+Manufacturing'),jdecode(''), jdecode('%2F2636%2F12801.html'), 'true',[],'','']
	],'',''],
	['PAGE','13601',jdecode('Training'),jdecode(''), jdecode('%2F13601%2Findex.html'), 'true',[ 
		['PAGE','24101',jdecode('ISO+Training'),jdecode(''), jdecode('%2F13601%2F24101.html'), 'true',[],'',''],
		['PAGE','26512',jdecode('ISO+Training+Schedule'),jdecode(''), jdecode('%2F13601%2F26512.html'), 'true',[],'',''],
		['PAGE','24122',jdecode('Lean+Six+Sigma+Training'),jdecode(''), jdecode('%2F13601%2F24122.html'), 'true',[],'',''],
		['PAGE','11101',jdecode('Register+%26+Enroll'),jdecode(''), jdecode('%2F13601%2F11101.html'), 'true',[],'','']
	],'',''],
	['PAGE','23501',jdecode('In+the+News'),jdecode(''), jdecode('%2F23501.html'), 'true',[],'',''],
	['PAGE','2678',jdecode('Contact+Us'),jdecode(''), jdecode('%2F2678.html'), 'true',[],'',''],
	['PAGE','2699',jdecode('Careers'),jdecode(''), jdecode('%2F2699.html'), 'true',[],'',''],
	['PAGE','2657',jdecode('Press'),jdecode(''), jdecode('%2F2657.html'), 'false',[],'','']];
var siteelementCount=21;
theSitetree.topTemplateName='Blog';
theSitetree.paletteFamily='536BD3';
theSitetree.keyvisualId='11527';
theSitetree.keyvisualName='kv_11527.jpg';
theSitetree.fontsetId='32865';
theSitetree.graphicsetId='13950';
theSitetree.contentColor='FFFFFF';
theSitetree.contentBGColor='989696';
var localeDef={
  language: 'en',
  country: 'US'
};
var prodDef={
  wl_name: 'grp19-dulles',
  product: 'WSCSYSSSSLYTCPI5'
};
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Blog',
				paletteFamily: 	'536BD3',
				keyvisualId: 	'11527',
				keyvisualName: 	'kv_11527.jpg',
				fontsetId: 		'32865',
				graphicsetId: 	'13950',
				contentColor: 	'FFFFFF',
				contentBGColor: '989696',
				a_color: 		'FFE933',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'000000',
				f_color: 		'000000',
				hasCustomLogo: 	'true',
				contentFontFace:'Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '2501',
internalId:  '',
customField: '20111204-133554'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '2552',
internalId:  '',
customField: '20111204-114434'
};
webappMappings['4001']=webappMappings['4001-1506455']={
webappId:    '4001',
documentId:  '11101',
internalId:  '1506455',
customField: 'language:en;country:US;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '2636',
internalId:  '',
customField: '20111204-133504'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '2657',
internalId:  '',
customField: '20100421-171039'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '2594',
internalId:  '',
customField: '20111204-115211'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '2678',
internalId:  '',
customField: '20111204-122210'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '2699',
internalId:  '',
customField: '20110711-064657'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '12801',
internalId:  '',
customField: '20100422-172302'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13201',
internalId:  '',
customField: '20100422-172227'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13401',
internalId:  '',
customField: '20111204-120847'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13601',
internalId:  '',
customField: '20100423-032223'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '11101',
internalId:  '',
customField: '20100423-025937'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14901',
internalId:  '',
customField: '20111204-115501'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '22501',
internalId:  '',
customField: '20100422-172152'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '23001',
internalId:  '',
customField: '20100421-180639'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '23501',
internalId:  '',
customField: '20111204-121600'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '39812',
internalId:  '',
customField: '20111204-125520'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '26512',
internalId:  '',
customField: '20110122-132339'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '24101',
internalId:  '',
customField: '20100422-175506'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '24122',
internalId:  '',
customField: '20100423-024447'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '31512',
internalId:  '',
customField: '20111204-120607'
};
var webAppHostname = 'diycgi.cluster.stngva01.us.diy-servers.net:80';
var canonHostname = 'diywk00.verio.stngva01.us.diy-servers.net';
var accountId     = 'AVF340I7CUHU';
var companyName   = 'TA+SOLUTIONS%3A%3A+Strategy+and+Transformation';
var htmlTitle	  = 'TA+Solutions%3A%3A+Strategy+and+Transformation+Consulting+Services';
var metaKeywords  = 'TA+Solutions%2C+business%2C+technology%2C+consulting%2C+business+case%2C+strategy%2C+transformation%2C+ISO%2C+Six+Sigma%2C+project+management%2C+program+management%2C+management%2C+project%2C+program%2C+PMO%2C+healthcare%2C+finance%2C+financial+services%2C+banking%2C+facets%2C+trizetto%2C+qnxt%2C+life+science%2C+clinical%2C+software%2C+development%2C+tactical%2C+train%2C+trainiing';
var metaContents  = 'TA+Solutions+helps+businesses+achieve+high+performance+results.+Drawing+on+our+hands-on+experience+with+high-performance+businesses%2C+TA+Solutions+helps+businesses+turn+your+vision+and+strategy+and+puts+them+into+action.';
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();
};

