/* [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','701',jdecode('Valqu%C3%ADria+Garske'),jdecode(''),'/701.html','true',[],'',''],
	['PAGE','152909',jdecode('Quem+Somos'),jdecode(''),'/152909.html','true',[],'',''],
	['PAGE','152930',jdecode('Agenda'),jdecode(''),'/152930.html','true',[],'',''],
	['PAGE','152951',jdecode('Consultoria'),jdecode(''),'/152951.html','true',[],'',''],
	['PAGE','152972',jdecode('Recursos+Humanos'),jdecode(''),'/152972.html','true',[],'',''],
	['PAGE','152993',jdecode('Maling'),jdecode(''),'/152993.html','true',[],'',''],
	['PAGE','153014',jdecode('Treinamentos'),jdecode(''),'/153014/index.html','true',[ 
		['PAGE','155509',jdecode('Inscreva-se+aqui'),jdecode(''),'/153014/155509.html','true',[],'',''],
		['PAGE','153809',jdecode('Atendimento'),jdecode(''),'/153014/153809.html','true',[],'',''],
		['PAGE','153851',jdecode('E-mail+Marketing'),jdecode(''),'/153014/153851.html','true',[],'',''],
		['PAGE','159409',jdecode('Forma%C3%A7%C3%A3o+de+Supervisores'),jdecode(''),'/153014/159409.html','true',[],'',''],
		['PAGE','159009',jdecode('Gest%C3%A3o+de+Televendas'),jdecode(''),'/153014/159009.html','true',[],'',''],
		['PAGE','153830',jdecode('L%C3%ADderes'),jdecode(''),'/153014/153830.html','true',[],'',''],
		['PAGE','153914',jdecode('T%C3%A9cnicas+de+Vendas'),jdecode(''),'/153014/153914.html','true',[],'','']
	],'',''],
	['PAGE','153035',jdecode('Ebook'),jdecode(''),'/153035/index.html','true',[ 
		['PAGE','160209',jdecode('Atendimento'),jdecode(''),'/153035/160209.html','true',[],'',''],
		['PAGE','160230',jdecode('Gest%C3%A3o+de+Televendas'),jdecode(''),'/153035/160230.html','true',[],'',''],
		['PAGE','160251',jdecode('Lideres'),jdecode(''),'/153035/160251.html','true',[],'',''],
		['PAGE','160272',jdecode('T%C3%A9cnicas+de+Vendas'),jdecode(''),'/153035/160272.html','true',[],'','']
	],'',''],
	['PAGE','159709',jdecode('Site+F%C3%A1cil'),jdecode(''),'/159709.html','true',[],'',''],
	['PAGE','153077',jdecode('Artigos'),jdecode(''),'/153077.html','true',[],'',''],
	['PAGE','153098',jdecode('Vagas+abertas'),jdecode(''),'/153098.html','true',[],'',''],
	['PAGE','153140',jdecode('Blog'),jdecode(''),'/153140.html','true',[],'',''],
	['PAGE','161309',jdecode('Fale+Conosco'),jdecode(''),'/161309.html','true',[],'','']];
var siteelementCount=24;
theSitetree.topTemplateName='Optic';
theSitetree.paletteFamily='974745';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='10489';
theSitetree.graphicsetId='11050';
theSitetree.contentColor='FFFFFF';
theSitetree.contentBGColor='A75250';
var localeDef={
  language: 'pt',
  country: 'BR'
};
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Optic',
				paletteFamily: 	'974745',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'10489',
				graphicsetId: 	'11050',
				contentColor: 	'FFFFFF',
				contentBGColor: 'A75250',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'C8C7C7',
				e_color: 		'C8C7C7',
				f_color: 		'C8C7C7',
				hasCustomLogo: 	'false',
				contentFontFace:'Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'true'
			  };
var webappMappings = {};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '701',
internalId:  '1006',
customField: '1006'
};
webappMappings['7008']=webappMappings['7008-16443']={
webappId:    '7008',
documentId:  '161309',
internalId:  '16443',
customField: 'language:pt;country:BR;'
};
webappMappings['1501']=webappMappings['1501-5650866']={
webappId:    '1501',
documentId:  '701',
internalId:  '5650866',
customField: '1501'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '160272',
internalId:  '',
customField: '20100326-110606'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '160230',
internalId:  '',
customField: '20100326-110452'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '160251',
internalId:  '',
customField: '20100326-110527'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '701',
internalId:  '',
customField: '20100802-113421'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '161309',
internalId:  '',
customField: '20100419-132105'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '153140',
internalId:  '',
customField: '20100311-091254'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '155509',
internalId:  '',
customField: '20100310-112827'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '159009',
internalId:  '',
customField: '20100809-095319'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '159409',
internalId:  '',
customField: '20100326-102100'
};
webappMappings['7008']=webappMappings['7008-15492']={
webappId:    '7008',
documentId:  '153098',
internalId:  '15492',
customField: 'language:pt;country:BR;'
};
webappMappings['7050']=webappMappings['7050-4235']={
webappId:    '7050',
documentId:  '153140',
internalId:  '4235',
customField: 'language:pt;country:BR;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '152909',
internalId:  '',
customField: '20100310-082819'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '152930',
internalId:  '',
customField: '20100805-142921'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '152951',
internalId:  '',
customField: '20100310-091756'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '152972',
internalId:  '',
customField: '20100310-112828'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '152993',
internalId:  '',
customField: '20100310-093321'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '153014',
internalId:  '',
customField: '20100310-112828'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '153809',
internalId:  '',
customField: '20100806-113443'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '160209',
internalId:  '',
customField: '20100326-110158'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '153851',
internalId:  '',
customField: '20100806-113649'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '153830',
internalId:  '',
customField: '20100326-101347'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '153914',
internalId:  '',
customField: '20100809-115731'
};
webappMappings['7008']=webappMappings['7008-15493']={
webappId:    '7008',
documentId:  '155509',
internalId:  '15493',
customField: 'language:pt;country:BR;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '153035',
internalId:  '',
customField: '20100311-083259'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '159709',
internalId:  '',
customField: '20100326-104445'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '153077',
internalId:  '',
customField: '20100310-082216'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '153098',
internalId:  '',
customField: '20100721-094144'
};
var canonHostname = 'diywk01.verio.stngva01.us.diy-servers.net';
var accountId     = 'AVEC10INLCDR';
var companyName   = '';
var htmlTitle	  = 'VALQUIRIA+GARSKE+-+Consultoria+em+vendas%2C+telemarketing%2C+televendas%2C+atendimento%2C+marketing+de+relacionamento';
var metaKeywords  = 'consultoria%2C+marketing%2C+estrat%C3%A9gia%2C+lideran%C3%A7a%2C+atendimento%2C+vendas%2C+comercial%2C+palestra%2C+cursos%2C+planejamento%2C+artigos%2C+Valqu%C3%ADria+Garske';
var metaContents  = 'consultoria%2C+marketing%2C+estrat%C3%A9gia%2C+lideran%C3%A7a%2C+atendimento%2C+vendas%2C+comercial%2C+palestra%2C+cursos%2C+planejamento%2C+artigos%2C+Valqu%C3%ADria+Garske';
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();
};
