/* [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','4598',jdecode('Home'),jdecode(''),'/4598.html','true',[],'',''],
	['PAGE','67403',jdecode('Mercadotecnia'),jdecode(''),'/67403/index.html','true',[ 
		['PAGE','110883',jdecode('Estrategia'),jdecode(''),'/67403/110883.html','true',[],'',''],
		['PAGE','110910',jdecode('Segmentaci%C3%B3n'),jdecode(''),'/67403/110910.html','true',[],'',''],
		['PAGE','110937',jdecode('Mercados'),jdecode(''),'/67403/110937.html','true',[],'',''],
		['PAGE','110964',jdecode('Investigaci%C3%B3n'),jdecode(''),'/67403/110964.html','true',[],'',''],
		['PAGE','171976',jdecode('Planeaci%C3%B3n'),jdecode(''),'/67403/171976.html','true',[],'','']
	],'',''],
	['PAGE','172459',jdecode('Retail'),jdecode(''),'/172459/index.html','true',[ 
		['PAGE','172536',jdecode('Gesti%C3%B3n'),jdecode(''),'/172459/172536.html','true',[],'',''],
		['PAGE','172545',jdecode('Comunicaci%C3%B3n'),jdecode(''),'/172459/172545.html','true',[],'',''],
		['PAGE','172554',jdecode('Evaluaci%C3%B3n'),jdecode(''),'/172459/172554.html','true',[],'','']
	],'',''],
	['PAGE','183687',jdecode('Liderazgo'),jdecode(''),'/183687.html','true',[],'',''],
	['PAGE','173783',jdecode('Diagn%C3%B3stico+Comercial'),jdecode(''),'/173783.html','true',[],'',''],
	['PAGE','4957',jdecode('%C2%BFQuienes+somos%3F'),jdecode(''),'/4957/index.html','true',[ 
		['PAGE','20302',jdecode('Nuestros+Clientes'),jdecode(''),'/4957/20302.html','true',[],'','']
	],'',''],
	['PAGE','69703',jdecode('Servicios'),jdecode(''),'/69703/index.html','true',[ 
		['PAGE','69730',jdecode('Investigaci%C3%B3n'),jdecode(''),'/69703/69730.html','true',[],'',''],
		['PAGE','69757',jdecode('Consultor%C3%ADa'),jdecode(''),'/69703/69757.html','true',[],'',''],
		['PAGE','69811',jdecode('Promociones'),jdecode(''),'/69703/69811.html','true',[],'',''],
		['PAGE','69838',jdecode('Extranjero'),jdecode(''),'/69703/69838.html','true',[],'',''],
		['PAGE','104042',jdecode('Project+Management'),jdecode(''),'/69703/104042.html','true',[],'',''],
		['PAGE','173792',jdecode('Coordinador+de+Merc.'),jdecode(''),'/69703/173792.html','true',[],'','']
	],'',''],
	['PAGE','167821',jdecode('Escuela+de+Negocios'),jdecode(''),'/167821.html','true',[],'',''],
	['PAGE','110083',jdecode('Consultor%C3%ADa+en+l%C3%ACnea'),jdecode(''),'/110083/index.html','true',[ 
		['PAGE','174281',jdecode('Marketing+Plan+PLUS'),jdecode(''),'/110083/174281.html','true',[],'',''],
		['PAGE','143590',jdecode('+Evaluaci%C3%B3n+SC'),jdecode(''),'/110083/143590.html','true',[],'',''],
		['PAGE','143563',jdecode('+Modelo+de+desempe%C3%B1o'),jdecode(''),'/110083/143563.html','true',[],'',''],
		['PAGE','174290',jdecode('Business+Plan+PLUS'),jdecode(''),'/110083/174290.html','true',[],'','']
	],'',''],
	['PAGE','202904',jdecode('Escuela+de+liderazgo'),jdecode(''),'/202904/index.html','true',[ 
		['PAGE','202925',jdecode('Habilidades+de+Liderazgo'),jdecode(''),'/202904/202925.html','true',[],'',''],
		['PAGE','202946',jdecode('Equipos+de+trabajo'),jdecode(''),'/202904/202946.html','true',[],'',''],
		['PAGE','202967',jdecode('Matriz+de+Valor'),jdecode(''),'/202904/202967.html','true',[],'','']
	],'',''],
	['PAGE','206136',jdecode('Logrando.net'),jdecode(''),'/206136.html','true',[],'',''],
	['PAGE','183211',jdecode('Estudios'),jdecode(''),'/183211.html','true',[],'',''],
	['PAGE','183838',jdecode('Revista+Electr%C3%B3nica'),jdecode(''),'/183838.html','true',[],'',''],
	['PAGE','178881',jdecode('Registro+productos'),jdecode(''),'/178881.html','true',[],'',''],
	['PAGE','211636',jdecode('Comprar'),jdecode(''),'/211636.html','true',[],'',''],
	['PAGE','5119',jdecode('Cont%C3%A1ctenos'),jdecode(''),'/5119.html','true',[],'',''],
	['PAGE','5503',jdecode('Bolsa+de+trabajo'),jdecode(''),'/5503.html','true',[],'',''],
	['PAGE','70202',jdecode('Su+opini%C3%B3n'),jdecode(''),'/70202/index.html','true',[ 
		['PAGE','70203',jdecode('Leer+participaciones'),jdecode(''),'/70202/70203.html','true',[],'','']
	],'',''],
	['PAGE','183112',jdecode('At%C2%B4n+a+clientes'),jdecode(''),'/183112.html','true',[],'',''],
	['PAGE','183121',jdecode('Foro+de+experiencias'),jdecode(''),'/183121.html','true',[],'','']];
var siteelementCount=43;
theSitetree.topTemplateName='Profile';
theSitetree.paletteFamily='003399';
theSitetree.keyvisualId='1278';
theSitetree.keyvisualName='auge.jpg';
theSitetree.fontsetId='195';
theSitetree.graphicsetId='228';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='FFFFFF';
var localeDef={
  language: 'es',
  country: 'ES'
};
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Profile',
				paletteFamily: 	'003399',
				keyvisualId: 	'1278',
				keyvisualName: 	'auge.jpg',
				fontsetId: 		'195',
				graphicsetId: 	'228',
				contentColor: 	'000000',
				contentBGColor: 'FFFFFF',
				a_color: 		'003399',
				b_color: 		'000066',
				c_color: 		'000000',
				d_color: 		'FFFFFF',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'true',
				contentFontFace:'Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'true'
			  };
var webappMappings = {};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '4598',
internalId:  '1006',
customField: '1006'
};
webappMappings['1002']=webappMappings['1002-70202AVEC10INXS8X']={
webappId:    '1002',
documentId:  '70202',
internalId:  '70202AVEC10INXS8X',
customField: 'icq=false'
};
webappMappings['1501']=webappMappings['1501-4386']={
webappId:    '1501',
documentId:  '4598',
internalId:  '4386',
customField: '1501'
};
webappMappings['1003']=webappMappings['1003-avec10inxs8x11e41dac5b9']={
webappId:    '1003',
documentId:  '183121',
internalId:  'avec10inxs8x11e41dac5b9',
customField: 'es:ES'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '183838',
internalId:  '',
customField: '20100112-232919'
};
webappMappings['7008']=webappMappings['7008-5058']={
webappId:    '7008',
documentId:  '183838',
internalId:  '5058',
customField: 'language:es;country:ES;'
};
webappMappings['7008']=webappMappings['7008-711']={
webappId:    '7008',
documentId:  '110083',
internalId:  '711',
customField: 'language:es;country:ES;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '202904',
internalId:  '',
customField: '20100112-222832'
};
webappMappings['7008']=webappMappings['7008-714']={
webappId:    '7008',
documentId:  '172554',
internalId:  '714',
customField: 'language:es;country:ES;'
};
webappMappings['7008']=webappMappings['7008-716']={
webappId:    '7008',
documentId:  '173783',
internalId:  '716',
customField: 'language:es;country:ES;'
};
webappMappings['7008']=webappMappings['7008-718']={
webappId:    '7008',
documentId:  '167821',
internalId:  '718',
customField: 'language:es;country:ES;'
};
webappMappings['7008']=webappMappings['7008-719']={
webappId:    '7008',
documentId:  '178881',
internalId:  '719',
customField: 'language:es;country:ES;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4598',
internalId:  '',
customField: '20100421-125029'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '67403',
internalId:  '',
customField: '20100117-215343'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '110883',
internalId:  '',
customField: '20100117-215619'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '110910',
internalId:  '',
customField: '20100117-215903'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '110937',
internalId:  '',
customField: '20100117-220045'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '110964',
internalId:  '',
customField: '20100117-220243'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '171976',
internalId:  '',
customField: '20100117-220425'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '172459',
internalId:  '',
customField: '20100117-220551'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '172536',
internalId:  '',
customField: '20100117-221412'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '172545',
internalId:  '',
customField: '20100117-221608'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '172554',
internalId:  '',
customField: '20100117-221744'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '173783',
internalId:  '',
customField: '20100117-222036'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4957',
internalId:  '',
customField: '20100117-222202'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '20302',
internalId:  '',
customField: '20100117-222234'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '69703',
internalId:  '',
customField: '20100118-171225'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '69730',
internalId:  '',
customField: '20100118-171445'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '69757',
internalId:  '',
customField: '20100118-171537'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '69811',
internalId:  '',
customField: '20100118-171715'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '69838',
internalId:  '',
customField: '20100118-171740'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '104042',
internalId:  '',
customField: '20100118-171818'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '173792',
internalId:  '',
customField: '20100118-171842'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '167821',
internalId:  '',
customField: '20100708-134354'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '110083',
internalId:  '',
customField: '20100112-232346'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '174281',
internalId:  '',
customField: '20100112-232522'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '143590',
internalId:  '',
customField: '20100112-232611'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '143563',
internalId:  '',
customField: '20100112-232655'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '174290',
internalId:  '',
customField: '20100112-232730'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '211636',
internalId:  '',
customField: '20100712-164508'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '178881',
internalId:  '',
customField: '20080326-095335'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '183211',
internalId:  '',
customField: '20090127-024842'
};
webappMappings['7008']=webappMappings['7008-3250']={
webappId:    '7008',
documentId:  '183211',
internalId:  '3250',
customField: 'language:es;country:ES;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '183687',
internalId:  '',
customField: '20100117-221946'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5119',
internalId:  '',
customField: '20100108-215447'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5503',
internalId:  '',
customField: '20070528-133142'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '70202',
internalId:  '',
customField: '20061002-132153'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '70203',
internalId:  '',
customField: '20060609-122950'
};
webappMappings['7050']=webappMappings['7050-89']={
webappId:    '7050',
documentId:  '183112',
internalId:  '89',
customField: 'language:es;country:ES;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '183112',
internalId:  '',
customField: '20081216-170733'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '183121',
internalId:  '',
customField: '20081216-171447'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '202925',
internalId:  '',
customField: '20100112-222832'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '202946',
internalId:  '',
customField: '20100112-222832'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '202967',
internalId:  '',
customField: '20100112-222832'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '206136',
internalId:  '',
customField: '20100112-233520'
};
var canonHostname = 'diywk00.verio.stngva01.us.diy-servers.net';
var accountId     = 'AVEC10INXS8X';
var companyName   = 'EMARKETPLUS+-+Estratega+Plus+S.A.+de+C.V.';
var htmlTitle	  = '';
var metaKeywords  = 'Mercadotecnia%2C+Investigaci%C3%B3n+de+Mercados%2C+Consultoria%2C+Investigacion%2C+Negocios%2C+ventas%2C+comercio%2C+Escuela';
var metaContents  = 'Consultoria+de+Marketing%2C+Investigac%C3%B3n+de+Mercados%2C+Mercadotecnia%2C+Negocios';
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();
};
