/* [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','148801',jdecode('J+O+R+N+A+I+S+'),jdecode(''), jdecode('%2F148801%2Findex.html'), 'true',[ 
		['PAGE','197401',jdecode('Colunistas'),jdecode(''), jdecode('%2F148801%2F197401.html'), 'true',[],'','']
	],'',''],
	['PAGE','149901',jdecode('C+B+N+++'),jdecode(''), jdecode('%2F149901.html'), 'true',[],'',''],
	['PAGE','197422',jdecode('G1++'),jdecode(''), jdecode('%2F197422.html'), 'true',[],'',''],
	['PAGE','601',jdecode('A+P+R+E+S+E+N+T+A+%C3%87+%C3%83+O'),jdecode(''), jdecode('%2F601.html'), 'true',[],'',''],
	['PAGE','652',jdecode('A+EMPRESA'),jdecode(''), jdecode('%2F652%2Findex.html'), 'true',[ 
		['PAGE','673',jdecode('+++++++Foco'),jdecode(''), jdecode('%2F652%2F673.html'), 'true',[],'',''],
		['PAGE','63901',jdecode('+++++++Vis%C3%A3o'),jdecode(''), jdecode('%2F652%2F63901.html'), 'true',[],'',''],
		['PAGE','63922',jdecode('+++++++Valores+++'),jdecode(''), jdecode('%2F652%2F63922.html'), 'true',[],'',''],
		['PAGE','180101',jdecode('B+++L+++O+++G'),jdecode(''), jdecode('%2F652%2F180101.html'), 'true',[],'','']
	],'',''],
	['PAGE','71001',jdecode('SOLU%C3%87%C3%95ES'),jdecode(''), jdecode('%2F71001%2Findex.html'), 'true',[ 
		['PAGE','71701',jdecode('P+E+C+++%2F+++P+E+S++++'),jdecode(''), jdecode('%2F71001%2F71701.html'), 'true',[],'',''],
		['PAGE','71722',jdecode('++++objetivo++'),jdecode(''), jdecode('%2F71001%2F71722.html'), 'true',[],'',''],
		['PAGE','72901',jdecode('A+P+P+++++++'),jdecode(''), jdecode('%2F71001%2F72901.html'), 'true',[],'',''],
		['PAGE','109901',jdecode('++++APP+web'),jdecode(''), jdecode('%2F71001%2F109901.html'), 'true',[],'',''],
		['PAGE','78564',jdecode('Plano+Estrat%C3%A9gico'),jdecode(''), jdecode('%2F71001%2F78564.html'), 'true',[],'',''],
		['PAGE','121901',jdecode('Cl%C3%ADnica+de+Gest%C3%A3o'),jdecode(''), jdecode('%2F71001%2F121901.html'), 'true',[],'',''],
		['PAGE','78585',jdecode('Gest%C3%A3o+Conhecimento'),jdecode(''), jdecode('%2F71001%2F78585.html'), 'true',[],'',''],
		['PAGE','78522',jdecode('Gest%C3%A3o+Crescimento'),jdecode(''), jdecode('%2F71001%2F78522.html'), 'true',[],'',''],
		['PAGE','78543',jdecode('Plano+Sucess%C3%B3rio'),jdecode(''), jdecode('%2F71001%2F78543.html'), 'true',[],'',''],
		['PAGE','72922',jdecode('Hunting'),jdecode(''), jdecode('%2F71001%2F72922.html'), 'true',[],'',''],
		['PAGE','5201',jdecode('++++Enviar+Curr%C3%ADculo'),jdecode(''), jdecode('%2F71001%2F5201.html'), 'true',[],'',''],
		['PAGE','88501',jdecode('Coaching+'),jdecode(''), jdecode('%2F71001%2F88501.html'), 'true',[],'',''],
		['PAGE','72943',jdecode('++++master+++'),jdecode(''), jdecode('%2F71001%2F72943.html'), 'true',[],'',''],
		['PAGE','73301',jdecode('++++personal+++'),jdecode(''), jdecode('%2F71001%2F73301.html'), 'true',[],'',''],
		['PAGE','73322',jdecode('++++executive++'),jdecode(''), jdecode('%2F71001%2F73322.html'), 'true',[],'',''],
		['PAGE','73343',jdecode('Palestras'),jdecode(''), jdecode('%2F71001%2F73343.html'), 'true',[],'',''],
		['PAGE','84901',jdecode('++++10+FCS+++'),jdecode(''), jdecode('%2F71001%2F84901.html'), 'true',[],'',''],
		['PAGE','50401',jdecode('APPWEB'),jdecode(''), jdecode('%2F71001%2F50401.html'), 'true',[],'','']
	],'',''],
	['PAGE','883',jdecode('CONTATO'),jdecode(''), jdecode('%2F883.html'), 'true',[],'',''],
	['PAGE','63964',jdecode('CLIENTES'),jdecode(''), jdecode('%2F63964.html'), 'true',[],'',''],
	['PAGE','59001',jdecode('ARTIGOS'),jdecode(''), jdecode('%2F59001%2Findex.html'), 'true',[ 
		['PAGE','213112',jdecode('A+Uni%C3%A3o+Est%C3%A1vel+Homoafetiva'),jdecode(''), jdecode('%2F59001%2F213112.html'), 'true',[],'',''],
		['PAGE','59401',jdecode('Estrat%C3%A9gias+++'),jdecode(''), jdecode('%2F59001%2F59401.html'), 'true',[],'',''],
		['PAGE','59801',jdecode('Planejar'),jdecode(''), jdecode('%2F59001%2F59801.html'), 'true',[],'',''],
		['PAGE','62701',jdecode('Aprimorando'),jdecode(''), jdecode('%2F59001%2F62701.html'), 'true',[],'',''],
		['PAGE','116401',jdecode('Intelig%C3%AAncia'),jdecode(''), jdecode('%2F59001%2F116401.html'), 'true',[],'','']
	],'',''],
	['PAGE','61301',jdecode('D%C3%9AVIDAS'),jdecode(''), jdecode('%2F61301%2Findex.html'), 'true',[ 
		['PAGE','61322',jdecode('Talentos%3F'),jdecode(''), jdecode('%2F61301%2F61322.html'), 'true',[],'',''],
		['PAGE','61343',jdecode('Reter+Talentos%3F'),jdecode(''), jdecode('%2F61301%2F61343.html'), 'true',[],'',''],
		['PAGE','61364',jdecode('Mudan%C3%A7as%3F'),jdecode(''), jdecode('%2F61301%2F61364.html'), 'true',[],'','']
	],'',''],
	['PAGE','89801',jdecode('LIVROS'),jdecode(''), jdecode('%2F89801.html'), 'true',[],'',''],
	['PAGE','90901',jdecode('MENTORES'),jdecode(''), jdecode('%2F90901.html'), 'true',[],'','']];
var siteelementCount=43;
theSitetree.topTemplateName='Display';
theSitetree.paletteFamily='4F4F4B';
theSitetree.keyvisualId='11379';
theSitetree.keyvisualName='kv_11379.jpg';
theSitetree.fontsetId='31963';
theSitetree.graphicsetId='13801';
theSitetree.contentColor='1B1B1B';
theSitetree.contentBGColor='FFFFFF';
var localeDef={
  language: 'pt',
  country: 'BR'
};
var prodDef={
  wl_name: 'brazilprod',
  product: 'WSCSYSSSSLY0X9A9'
};
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Display',
				paletteFamily: 	'4F4F4B',
				keyvisualId: 	'11379',
				keyvisualName: 	'kv_11379.jpg',
				fontsetId: 		'31963',
				graphicsetId: 	'13801',
				contentColor: 	'1B1B1B',
				contentBGColor: 'FFFFFF',
				a_color: 		'000000',
				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['7008']=webappMappings['7008-275']={
webappId:    '7008',
documentId:  '5201',
internalId:  '275',
customField: 'language:pt;country:BR;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '148801',
internalId:  '',
customField: '20100813-094926'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '197401',
internalId:  '',
customField: '20100813-094630'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '149901',
internalId:  '',
customField: '20100813-101914'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '883',
internalId:  '',
customField: '20110407-164035'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '601',
internalId:  '',
customField: '20110729-144033'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '652',
internalId:  '',
customField: '20110713-154553'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '673',
internalId:  '',
customField: '20090217-093957'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '63901',
internalId:  '',
customField: '20090217-093924'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '63922',
internalId:  '',
customField: '20110328-161500'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '71001',
internalId:  '',
customField: '20110328-154831'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '72901',
internalId:  '',
customField: '20110328-161836'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '109901',
internalId:  '',
customField: '20110328-161918'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '71701',
internalId:  '',
customField: '20110402-133234'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '71722',
internalId:  '',
customField: '20110328-161656'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '72922',
internalId:  '',
customField: '20110328-162052'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '88501',
internalId:  '',
customField: '20110328-162145'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '72943',
internalId:  '',
customField: '20090217-095231'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '73301',
internalId:  '',
customField: '20080130-131452'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '73322',
internalId:  '',
customField: '20090324-113800'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '73343',
internalId:  '',
customField: '20110328-162326'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '84901',
internalId:  '',
customField: '20090324-113957'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '121901',
internalId:  '',
customField: '20110328-162002'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '213112',
internalId:  '',
customField: '20110627-200006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '78522',
internalId:  '',
customField: '20110329-213820'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '78543',
internalId:  '',
customField: '20110328-162543'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '78564',
internalId:  '',
customField: '20110328-162620'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '78585',
internalId:  '',
customField: '20110328-162726'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '63964',
internalId:  '',
customField: '20110328-154550'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '50401',
internalId:  '',
customField: '20110328-162845'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5201',
internalId:  '',
customField: '20071106-130204'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '59001',
internalId:  '',
customField: '20110627-195240'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '59401',
internalId:  '',
customField: '20090326-175048'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '59801',
internalId:  '',
customField: '20090326-175302'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '62701',
internalId:  '',
customField: '20090326-175425'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '116401',
internalId:  '',
customField: '20080630-162736'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '61301',
internalId:  '',
customField: '20110328-163913'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '61322',
internalId:  '',
customField: '20110328-163945'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '61343',
internalId:  '',
customField: '20071030-130434'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '61364',
internalId:  '',
customField: '20071119-113543'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '89801',
internalId:  '',
customField: '20110328-164057'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '90901',
internalId:  '',
customField: '20110328-143153'
};
webappMappings['1501']=webappMappings['1501-13600548']={
webappId:    '1501',
documentId:  '601',
internalId:  '13600548',
customField: '1501'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '197422',
internalId:  '',
customField: '20100813-101715'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '180101',
internalId:  '',
customField: '20110418-140849'
};
var webAppHostname = 'diycgi.cluster.stngva01.us.diy-servers.net:80';
var canonHostname = 'diywk01.verio.stngva01.us.diy-servers.net';
var accountId     = 'AVEC10INEIR9';
var companyName   = '+++++++++++++++++++++++++++++++++++++SOLU%C3%87%C3%95ES++EMPRESARIAIS++';
var htmlTitle	  = 'Educar+Gest%C3%A3o+de+Neg%C3%B3cios';
var metaKeywords  = 'Search%2C+Executive+Search%2CCapta%C3%A7%C3%A3o%2C+Sele%C3%A7%C3%A3o%2C+Consultoria+de+Headhunting%2C+planejamento+estrat%C3%A9gico%2C+coach%2C+gest%C3%A3o%2C+gest%C3%A3o+organizacional%2C+gest%C3%A3o+do+conhecimento%2C+gest%C3%A3o+hol%C3%ADstica.';
var metaContents  = 'Sele%C3%A7%C3%A3o%2C+Capta%C3%A7%C3%A3o%2C+Hunting%2C+Consultoria+de+Headhunting%2C+Search%2C+Executive+Search%2C+Searching%2CPlanejamento+estrat%C3%A9gico%2C+prop%C3%B3sito+de+vida%2C+coach%2C+coach+organizacional%2C+gest%C3%A3o+do+conhecimento%2C+gest%C3%A3o+hol%C3%ADstica.';
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();
};

