/* [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','401',jdecode('Home'),jdecode(''),'/401.html','true',[],'',''],
	['PAGE','452',jdecode('Miguel+A.+Garc%C3%ACa+Rodz.'),jdecode(''),'/452.html','true',[],'',''],
	['PAGE','141427',jdecode('Ana+Luisa+Garc%C3%ACa'),jdecode(''),'/141427.html','true',[],'',''],
	['PAGE','1361148',jdecode('Aracely+Solano'),jdecode(''),'/1361148.html','true',[],'',''],
	['PAGE','1421059',jdecode('Ernesto+Avalos+Salda%C3%B1a'),jdecode(''),'/1421059.html','true',[],'',''],
	['PAGE','704317',jdecode('Melit%C3%B2n+Guevara+Castillo'),jdecode(''),'/704317.html','true',[],'',''],
	['PAGE','1777158',jdecode('Armando+Gonzalez+H.'),jdecode(''),'/1777158.html','true',[],'',''],
	['PAGE','1246317',jdecode('Cuauht%C3%A9moc+D%C3%ADaz+Mart%C3%ADnez'),jdecode(''),'/1246317.html','true',[],'',''],
	['PAGE','908817',jdecode('Primitivo+L%C3%B2pez'),jdecode(''),'/908817.html','true',[],'',''],
	['PAGE','593999',jdecode('Carlos+L%C3%B2pez+Arriaga'),jdecode(''),'/593999.html','true',[],'',''],
	['PAGE','324749',jdecode('Angel+Guerra'),jdecode(''),'/324749.html','true',[],'',''],
	['PAGE','914317',jdecode('Mario+Enrique+Torres'),jdecode(''),'/914317.html','true',[],'',''],
	['PAGE','394584',jdecode('Mario+A.+Aquino+L%C3%B2pez'),jdecode(''),'/394584.html','true',[],'',''],
	['PAGE','1251917',jdecode('Hector+Sandoval'),jdecode(''),'/1251917.html','true',[],'',''],
	['PAGE','829017',jdecode('Anwar+A.+Vivian+Peralta'),jdecode(''),'/829017.html','true',[],'',''],
	['PAGE','1515451',jdecode('Jesus+Hernandez'),jdecode(''),'/1515451.html','true',[],'',''],
	['PAGE','1361169',jdecode('Gilberto+Gonzalez+Aguirre'),jdecode(''),'/1361169.html','true',[],'',''],
	['PAGE','544999',jdecode('Jos%C3%A8+de+la+Paz+Berm%C3%B9dez'),jdecode(''),'/544999.html','true',[],'',''],
	['PAGE','1218717',jdecode('Franc%C3%ACsco+Flamarique'),jdecode(''),'/1218717.html','true',[],'',''],
	['PAGE','865817',jdecode('Oscar+D%C3%ACaz'),jdecode(''),'/865817.html','true',[],'',''],
	['PAGE','384284',jdecode('Jos%C3%A8+Luis+%C3%80vila'),jdecode(''),'/384284.html','true',[],'',''],
	['PAGE','362684',jdecode('Pedro+Natividad'),jdecode(''),'/362684.html','true',[],'',''],
	['PAGE','751917',jdecode('Jos%C3%A8+Walle+Juarez'),jdecode(''),'/751917.html','true',[],'',''],
	['PAGE','1476865',jdecode('Miguel+Parras'),jdecode(''),'/1476865.html','true',[],'',''],
	['PAGE','2622',jdecode('La+Entrevista'),jdecode(''),'/2622.html','true',[],'',''],
	['PAGE','1492090',jdecode('Candelero'),jdecode(''),'/1492090.html','true',[],'',''],
	['PAGE','2643',jdecode('El+Reportaje'),jdecode(''),'/2643.html','true',[],'',''],
	['PAGE','1554990',jdecode('Formas+y+Tiempos'),jdecode(''),'/1554990.html','true',[],'',''],
	['PAGE','1785858',jdecode('Tras+la+Pol%C3%ACtica'),jdecode(''),'/1785858.html','true',[],'',''],
	['PAGE','1180417',jdecode('El+Francotirador'),jdecode(''),'/1180417.html','true',[],'',''],
	['PAGE','468799',jdecode('Anecdotario'),jdecode(''),'/468799.html','true',[],'',''],
	['PAGE','1735225',jdecode('Los+Tres+Puntos'),jdecode(''),'/1735225.html','true',[],'',''],
	['PAGE','1180438',jdecode('Al+Tanto'),jdecode(''),'/1180438.html','true',[],'',''],
	['PAGE','1122617',jdecode('Marem%C3%A0gnum'),jdecode(''),'/1122617.html','true',[],'',''],
	['PAGE','1117617',jdecode('Dialogando'),jdecode(''),'/1117617.html','true',[],'',''],
	['PAGE','143727',jdecode('Asi+son...'),jdecode(''),'/143727.html','true',[],'',''],
	['PAGE','1469365',jdecode('Entredichos'),jdecode(''),'/1469365.html','true',[],'',''],
	['PAGE','1134817',jdecode('Por+los+Cristales+%28%2B%29'),jdecode(''),'/1134817.html','true',[],'',''],
	['PAGE','1758158',jdecode('Quecosahedro'),jdecode(''),'/1758158.html','true',[],'',''],
	['PAGE','1125217',jdecode('Cartelera'),jdecode(''),'/1125217.html','true',[],'',''],
	['PAGE','641599',jdecode('Llera+Siempre+es+Noticia'),jdecode(''),'/641599.html','true',[],'',''],
	['PAGE','2685',jdecode('Especulaciones'),jdecode(''),'/2685.html','true',[],'',''],
	['PAGE','1799069',jdecode('Periplo+Pol%C3%ACtico'),jdecode(''),'/1799069.html','true',[],'',''],
	['PAGE','1790258',jdecode('Cupula'),jdecode(''),'/1790258.html','true',[],'',''],
	['PAGE','1215317',jdecode('Sin+Censura'),jdecode(''),'/1215317.html','true',[],'',''],
	['PAGE','1197117',jdecode('Desde+Esta+Esquina'),jdecode(''),'/1197117.html','true',[],'',''],
	['PAGE','1808569',jdecode('Resonancia+Pol%C3%ACtica'),jdecode(''),'/1808569.html','true',[],'',''],
	['PAGE','1792958',jdecode('Expresi%C3%B2n+Pol%C3%ACtica'),jdecode(''),'/1792958.html','true',[],'',''],
	['PAGE','502599',jdecode('Nacional'),jdecode(''),'/502599.html','true',[],'',''],
	['PAGE','105211',jdecode('Altamira+'),jdecode(''),'/105211.html','true',[],'',''],
	['PAGE','239638',jdecode('Victoria'),jdecode(''),'/239638.html','true',[],'',''],
	['PAGE','125027',jdecode('R%C3%ACo+Bravo'),jdecode(''),'/125027.html','true',[],'',''],
	['PAGE','137927',jdecode('Nuevo+Laredo'),jdecode(''),'/137927.html','true',[],'',''],
	['PAGE','156438',jdecode('Reynosa'),jdecode(''),'/156438.html','true',[],'',''],
	['PAGE','156938',jdecode('Miguel+Alem%C3%A0n'),jdecode(''),'/156938.html','true',[],'',''],
	['PAGE','1084317',jdecode('Tampico-Madero'),jdecode(''),'/1084317.html','true',[],'',''],
	['PAGE','751980',jdecode('Mante'),jdecode(''),'/751980.html','true',[],'',''],
	['PAGE','111927',jdecode('Gobierno+Estatal'),jdecode(''),'/111927.html','true',[],'',''],
	['PAGE','453304',jdecode('EL+BUZ%C3%92N+'),jdecode(''),'/453304.html','true',[],'',''],
	['PAGE','2706',jdecode('Quienes+somos%3F'),jdecode(''),'/2706.html','true',[],'','']];
var siteelementCount=60;
theSitetree.topTemplateName='Mazy';
theSitetree.paletteFamily='96958D';
theSitetree.keyvisualId='11098';
theSitetree.keyvisualName='kv_11098.jpg';
theSitetree.fontsetId='31988';
theSitetree.graphicsetId='13823';
theSitetree.contentColor='3C3D3C';
theSitetree.contentBGColor='FFFFFF';
var localeDef={
  language: 'es',
  country: 'ES'
};
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Mazy',
				paletteFamily: 	'96958D',
				keyvisualId: 	'11098',
				keyvisualName: 	'kv_11098.jpg',
				fontsetId: 		'31988',
				graphicsetId: 	'13823',
				contentColor: 	'3C3D3C',
				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:     'true'
			  };
var webappMappings = {};
webappMappings['1002']=webappMappings['1002-453304avec10in2oj0']={
webappId:    '1002',
documentId:  '453304',
internalId:  '453304avec10in2oj0',
customField: 'icq=false'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '401',
internalId:  '',
customField: '20100310-211825'
};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '401',
internalId:  '1006',
customField: '1006'
};
webappMappings['1501']=webappMappings['1501-1501']={
webappId:    '1501',
documentId:  '401',
internalId:  '1501',
customField: '1501'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '452',
internalId:  '',
customField: '20100310-205945'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '1735225',
internalId:  '',
customField: '20091216-202255'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '141427',
internalId:  '',
customField: '20100225-200334'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '704317',
internalId:  '',
customField: '20100309-212242'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '1799069',
internalId:  '',
customField: '20100308-184804'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '908817',
internalId:  '',
customField: '20100309-215337'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '593999',
internalId:  '',
customField: '20100301-134412'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '324749',
internalId:  '',
customField: '20100308-203438'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '914317',
internalId:  '',
customField: '20100304-140319'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '1758158',
internalId:  '',
customField: '20100127-055352'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '394584',
internalId:  '',
customField: '20100308-212535'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '1554990',
internalId:  '',
customField: '20100302-105919'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '829017',
internalId:  '',
customField: '20100308-211348'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '544999',
internalId:  '',
customField: '20100226-200921'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '865817',
internalId:  '',
customField: '20100309-193708'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '1790258',
internalId:  '',
customField: '20100124-221839'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '384284',
internalId:  '',
customField: '20100301-133125'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '362684',
internalId:  '',
customField: '20100309-221027'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '751917',
internalId:  '',
customField: '20100301-120446'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '2622',
internalId:  '',
customField: '20100206-210833'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '2643',
internalId:  '',
customField: '20100214-030917'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '143727',
internalId:  '',
customField: '20091024-094424'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '1777158',
internalId:  '',
customField: '20100115-202906'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '468799',
internalId:  '',
customField: '20100308-182346'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '2685',
internalId:  '',
customField: '20100113-185608'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '641599',
internalId:  '',
customField: '20100309-145306'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '502599',
internalId:  '',
customField: '20100218-224952'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '105211',
internalId:  '',
customField: '20100310-210952'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '239638',
internalId:  '',
customField: '20100309-221654'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '125027',
internalId:  '',
customField: '20091001-164802'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '137927',
internalId:  '',
customField: '20100309-215110'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '156438',
internalId:  '',
customField: '20100309-164643'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '156938',
internalId:  '',
customField: '20080229-153748'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '1084317',
internalId:  '',
customField: '20100304-212750'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '751980',
internalId:  '',
customField: '20100309-193100'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '111927',
internalId:  '',
customField: '20090930-163359'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '453304',
internalId:  '',
customField: '20090731-112524'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '1180417',
internalId:  '',
customField: '20100309-194435'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '1180438',
internalId:  '',
customField: '20090520-182349'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '2706',
internalId:  '',
customField: '20090923-195503'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '1117617',
internalId:  '',
customField: '20100309-182816'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '1122617',
internalId:  '',
customField: '20100303-202612'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '1125217',
internalId:  '',
customField: '20100308-111317'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '1515451',
internalId:  '',
customField: '20091002-104341'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '1134817',
internalId:  '',
customField: '20090912-102722'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '1792958',
internalId:  '',
customField: '20100125-202006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '1197117',
internalId:  '',
customField: '20100303-121737'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '1785858',
internalId:  '',
customField: '20100309-163832'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '1215317',
internalId:  '',
customField: '20100309-211341'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '1218717',
internalId:  '',
customField: '20100309-164448'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '1246317',
internalId:  '',
customField: '20100309-164005'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '1251917',
internalId:  '',
customField: '20091207-093909'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '1476865',
internalId:  '',
customField: '20091224-112130'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '1361148',
internalId:  '',
customField: '20090916-123538'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '1469365',
internalId:  '',
customField: '20100309-192827'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '1361169',
internalId:  '',
customField: '20090720-100021'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '1492090',
internalId:  '',
customField: '20090924-101516'
};
webappMappings['1501']=webappMappings['1501-1814888']={
webappId:    '1501',
documentId:  '401',
internalId:  '1814888',
customField: '1501'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '1421059',
internalId:  '',
customField: '20100308-132007'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '1808569',
internalId:  '',
customField: '20100202-073032'
};
var canonHostname = 'diywk00.verio.stngva01.us.diy-servers.net';
var accountId     = 'AVEC10IN2OJ0';
var companyName   = 'ENCONTACTOCONMIGUELGARCIA';
var htmlTitle	  = 'www.encontactoconmiguelgarcia.com.mx';
var metaKeywords  = '';
var metaContents  = '';
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();
};
