/* [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','128704',jdecode('Ventana+Principal'),jdecode(''),'/128704.html','true',[],'',''],
	['PAGE','139954',jdecode('Or%C3%ADgenes+'),jdecode(''),'/139954.html','true',[],'',''],
	['PAGE','417601',jdecode('Declaraci%C3%B3n+de+Principios'),jdecode(''),'/417601/index.html','true',[ 
		['PAGE','417622',jdecode('%C2%BFQu%C3%A9+somos%3F'),jdecode(''),'/417601/417622.html','true',[],'','']
	],'',''],
	['PAGE','3324795',jdecode('Hist%C3%B3rico%3A+Agosto%2C+2010'),jdecode(''),'/3324795/index.html','true',[ 
		['PAGE','3271984',jdecode('Julio%2C2010'),jdecode(''),'/3324795/3271984.html','true',[],'',''],
		['PAGE','3227261',jdecode('Junio+2010'),jdecode(''),'/3324795/3227261.html','true',[],'',''],
		['PAGE','3182150',jdecode('Mayo%2C2010'),jdecode(''),'/3324795/3182150.html','true',[],'',''],
		['PAGE','3147050',jdecode('Abril%2C2010'),jdecode(''),'/3324795/3147050.html','true',[],'',''],
		['PAGE','3080991',jdecode('+Marzo%2C+2010'),jdecode(''),'/3324795/3080991.html','true',[],'',''],
		['PAGE','3025391',jdecode('+Febrero+2010'),jdecode(''),'/3324795/3025391.html','true',[],'',''],
		['PAGE','2954691',jdecode('+Enero+2010'),jdecode(''),'/3324795/2954691.html','true',[],'',''],
		['PAGE','2873254',jdecode('Diciembre+09'),jdecode(''),'/3324795/2873254.html','true',[],'',''],
		['PAGE','2830600',jdecode('+Noviembre+09'),jdecode(''),'/3324795/2830600.html','true',[],'',''],
		['PAGE','2709145',jdecode('Octubre+2009'),jdecode(''),'/3324795/2709145.html','true',[],'',''],
		['PAGE','2665445',jdecode('Septiembre+09'),jdecode(''),'/3324795/2665445.html','true',[],'',''],
		['PAGE','2614145',jdecode('+Agosto+2009'),jdecode(''),'/3324795/2614145.html','true',[],'',''],
		['PAGE','2562874',jdecode('Julio+2009'),jdecode(''),'/3324795/2562874.html','true',[],'',''],
		['PAGE','2427074',jdecode('Campa%C3%B1a+BJ+Junio+09'),jdecode(''),'/3324795/2427074.html','true',[],'',''],
		['PAGE','2389343',jdecode('+Mayo+2009'),jdecode(''),'/3324795/2389343.html','true',[],'',''],
		['PAGE','2340132',jdecode('+Abril+2009'),jdecode(''),'/3324795/2340132.html','true',[],'',''],
		['PAGE','2314132',jdecode('Marzo+2009'),jdecode(''),'/3324795/2314132.html','true',[],'',''],
		['PAGE','2253455',jdecode('Febrero+2009'),jdecode(''),'/3324795/2253455.html','true',[],'',''],
		['PAGE','2197255',jdecode('Enero+2009'),jdecode(''),'/3324795/2197255.html','true',[],'',''],
		['PAGE','327101',jdecode('A%C3%B1o+2008'),jdecode(''),'/3324795/327101.html','true',[],'',''],
		['PAGE','1679834',jdecode('Verano+2007'),jdecode(''),'/3324795/1679834.html','true',[],'',''],
		['PAGE','1681434',jdecode('Oto%C3%B1o+2007'),jdecode(''),'/3324795/1681434.html','true',[],'',''],
		['PAGE','1686934',jdecode('Invierno+2007'),jdecode(''),'/3324795/1686934.html','true',[],'',''],
		['PAGE','2197276',jdecode('Agenda+LGBT'),jdecode(''),'/3324795/2197276.html','true',[],'',''],
		['PAGE','2583506',jdecode('Grito+09'),jdecode(''),'/3324795/2583506.html','true',[],'',''],
		['PAGE','139972',jdecode('Giras+AMLO'),jdecode(''),'/3324795/139972.html','true',[],'',''],
		['PAGE','2298832',jdecode('Apuntes+de+AMLO'),jdecode(''),'/3324795/2298832.html','true',[],'',''],
		['PAGE','1210612',jdecode('Brigada+%23+15+fotos'),jdecode(''),'/3324795/1210612.html','true',[],'',''],
		['PAGE','1473723',jdecode('Consulta+Petrolera'),jdecode(''),'/3324795/1473723.html','true',[],'',''],
		['PAGE','1354423',jdecode('%C2%BFQui%C3%A9nes+somos%3F'),jdecode(''),'/3324795/1354423.html','true',[],'',''],
		['PAGE','2873233',jdecode('Oaxaca%3A+Un+viaje+al+coraz%C3%B3n+del+M%C3%A9xico+Profundo.+AMLO'),jdecode(''),'/3324795/2873233.html','true',[],'','']
	],'',''],
	['PAGE','3168950',jdecode('%C2%BFQui%C3%A9nes+somos%3F'),jdecode(''),'/3168950.html','true',[],'',''],
	['PAGE','417643',jdecode('Horizonte'),jdecode(''),'/417643/index.html','true',[ 
		['PAGE','417664',jdecode('Estructura+Organizativa'),jdecode(''),'/417643/417664.html','true',[],'',''],
		['PAGE','754412',jdecode('Acciones+2007'),jdecode(''),'/417643/754412.html','true',[],'',''],
		['PAGE','566012',jdecode('Marcha+Revoluci%C3%B3n'),jdecode(''),'/417643/566012.html','true',[],'',''],
		['PAGE','641312',jdecode('Llegada+de+la+Marcha+'),jdecode(''),'/417643/641312.html','true',[],'',''],
		['PAGE','365501',jdecode('Grito+de+los+Libres'),jdecode(''),'/417643/365501.html','true',[],'',''],
		['PAGE','420401',jdecode('Acciones+de+Difusi%C3%B3n'),jdecode(''),'/417643/420401.html','true',[],'',''],
		['PAGE','150592',jdecode('Resistencia+AICM'),jdecode(''),'/417643/150592.html','true',[],'',''],
		['PAGE','645712',jdecode('Premier+de+Fraude%2C+M%C3%A9xico+2006'),jdecode(''),'/417643/645712.html','true',[],'',''],
		['PAGE','644812',jdecode('Velada+en+el+%C3%81ngel+de+la+Independencia'),jdecode(''),'/417643/644812.html','true',[],'',''],
		['PAGE','184843',jdecode('Clausura+IFE'),jdecode(''),'/417643/184843.html','true',[],'',''],
		['PAGE','233401',jdecode('%C2%BFeres+del+IFE%3F'),jdecode(''),'/417643/233401.html','true',[],'',''],
		['PAGE','1689934',jdecode('Grito+de+los+Libres+%C2%B408'),jdecode(''),'/417643/1689934.html','true',[],'',''],
		['PAGE','492206',jdecode('Libro+de+visitas'),jdecode(''),'/417643/492206.html','true',[],'','']
	],'',''],
	['PAGE','244001',jdecode('Gobierno+Leg%C3%ADtimo'),jdecode(''),'/244001.html','true',[],'',''],
	['PAGE','755412',jdecode('V%C3%ADnculos'),jdecode(''),'/755412.html','true',[],'',''],
	['PAGE','296822',jdecode('Avisos'),jdecode(''),'/296822.html','true',[],'',''],
	['PAGE','492201',jdecode('Leer+el+libro+de+Visitas'),jdecode(''),'/492201.html','false',[],'','']];
var siteelementCount=55;
theSitetree.topTemplateName='Champagne';
theSitetree.paletteFamily='52504D';
theSitetree.keyvisualId='11358';
theSitetree.keyvisualName='kv_11358.jpg';
theSitetree.fontsetId='31943';
theSitetree.graphicsetId='13784';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='52504D';
var localeDef={
  language: 'es',
  country: 'ES'
};
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Champagne',
				paletteFamily: 	'52504D',
				keyvisualId: 	'11358',
				keyvisualName: 	'kv_11358.jpg',
				fontsetId: 		'31943',
				graphicsetId: 	'13784',
				contentColor: 	'000000',
				contentBGColor: '52504D',
				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['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '128704',
internalId:  '1006',
customField: '1006'
};
webappMappings['1501']=webappMappings['1501-10935']={
webappId:    '1501',
documentId:  '128704',
internalId:  '10935',
customField: '1501'
};
webappMappings['7060']=webappMappings['7060-54cdabde38cb8d32476300458661e9a7']={
webappId:    '7060',
documentId:  '150592',
internalId:  '54cdabde38cb8d32476300458661e9a7',
customField: 'language:es;country:ES;'
};
webappMappings['1002']=webappMappings['1002-492206avec10inxstw']={
webappId:    '1002',
documentId:  '492206',
internalId:  '492206avec10inxstw',
customField: 'icq=false'
};
webappMappings['7060']=webappMappings['7060-66afb589a101d7ebd0289aa65b9f8360']={
webappId:    '7060',
documentId:  '1210612',
internalId:  '66afb589a101d7ebd0289aa65b9f8360',
customField: 'language:es;country:ES;'
};
webappMappings['7060']=webappMappings['7060-1853b055450191250666ce4abcb1456d']={
webappId:    '7060',
documentId:  '641312',
internalId:  '1853b055450191250666ce4abcb1456d',
customField: 'language:es;country:ES;'
};
webappMappings['7060']=webappMappings['7060-8b7cf06832c017183eebba15bdc15255']={
webappId:    '7060',
documentId:  '644812',
internalId:  '8b7cf06832c017183eebba15bdc15255',
customField: 'language:es;country:ES;'
};
webappMappings['7060']=webappMappings['7060-cc8b94b612de4bf383b2cc10b39b070b']={
webappId:    '7060',
documentId:  '645712',
internalId:  'cc8b94b612de4bf383b2cc10b39b070b',
customField: 'language:es;country:ES;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '128704',
internalId:  '',
customField: '20100902-122456'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '139954',
internalId:  '',
customField: '20081215-120028'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '417601',
internalId:  '',
customField: '20080220-131957'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '417622',
internalId:  '',
customField: '20080128-185210'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '417643',
internalId:  '',
customField: '20080221-013515'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '417664',
internalId:  '',
customField: '20080117-164110'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '754412',
internalId:  '',
customField: '20080216-103153'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '566012',
internalId:  '',
customField: '20071210-184605'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '641312',
internalId:  '',
customField: '20071112-200305'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '365501',
internalId:  '',
customField: '20080216-105303'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '420401',
internalId:  '',
customField: '20070817-121733'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '150592',
internalId:  '',
customField: '20080216-103445'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '645712',
internalId:  '',
customField: '20071117-013723'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '644812',
internalId:  '',
customField: '20071117-013653'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '184843',
internalId:  '',
customField: '20070618-120056'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '233401',
internalId:  '',
customField: '20070627-111329'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '1689934',
internalId:  '',
customField: '20080804-124406'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '1354423',
internalId:  '',
customField: '20091008-120352'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '139972',
internalId:  '',
customField: '20091111-111525'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '1210612',
internalId:  '',
customField: '20080412-223858'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '1473723',
internalId:  '',
customField: '20080730-095554'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '244001',
internalId:  '',
customField: '20100324-111550'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '755412',
internalId:  '',
customField: '20100824-160920'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '296822',
internalId:  '',
customField: '20100724-152028'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '492206',
internalId:  '',
customField: '20070912-183331'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '492201',
internalId:  '',
customField: '20070912-183331'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '327101',
internalId:  '',
customField: '20090129-110931'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '1679834',
internalId:  '',
customField: '20080730-114051'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '1681434',
internalId:  '',
customField: '20080730-122302'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '1686934',
internalId:  '',
customField: '20080731-114827'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '2873233',
internalId:  '',
customField: '20091214-165747'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '2197276',
internalId:  '',
customField: '20090116-183144'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '2197255',
internalId:  '',
customField: '20090206-134931'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '2253455',
internalId:  '',
customField: '20090226-104152'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '2298832',
internalId:  '',
customField: '20090318-104424'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '2427074',
internalId:  '',
customField: '20090714-170741'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '2314132',
internalId:  '',
customField: '20090331-120245'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '2340132',
internalId:  '',
customField: '20090429-152951'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '2389343',
internalId:  '',
customField: '20090524-202717'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '2562874',
internalId:  '',
customField: '20090809-211959'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '2583506',
internalId:  '',
customField: '20090902-152611'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '2614145',
internalId:  '',
customField: '20090907-103315'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '2665445',
internalId:  '',
customField: '20091005-113223'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '2709145',
internalId:  '',
customField: '20091103-120213'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '3025391',
internalId:  '',
customField: '20100309-134650'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '2830600',
internalId:  '',
customField: '20091214-163735'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '2873254',
internalId:  '',
customField: '20100110-134744'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '2954691',
internalId:  '',
customField: '20100202-163121'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '3271984',
internalId:  '',
customField: '20100809-102615'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '3080991',
internalId:  '',
customField: '20100327-130121'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '3147050',
internalId:  '',
customField: '20100503-125431'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '3168950',
internalId:  '',
customField: '20100420-133140'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '3182150',
internalId:  '',
customField: '20100603-122016'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '3227261',
internalId:  '',
customField: '20100705-100039'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '3324795',
internalId:  '',
customField: '20100830-114440'
};
var canonHostname = 'diywk01.verio.stngva01.us.diy-servers.net';
var accountId     = 'AVEC10INXSTW';
var companyName   = 'Flor+y+Canto';
var htmlTitle	  = '';
var metaKeywords  = 'Presidente+Leg%C3%ADtimo%2C+AMLO%2C+Movimiento%2C+Flor+y+Canto%2C+Brigada%2C+obradorista%2C+Angel+de+la+Independencia%2C+soberan%C3%ADa+popular%2C+resistencia+civil+pac%C3%ADfica%2C+seminario+de+capacitaci%C3%B3n+pol%C3%ADtica%2C+froylan+yescas%2C+comites+ciudadanos%2C+amlo+2012%2C+revoluci%C3%B3n+de+las+conciencias';
var metaContents  = 'Presidente+Leg%C3%ADtimo%2C+AMLO%2C+Movimiento%2C+Flor+y+Canto%2C+Brigada%2C+obradorista%2C+Angel+de+la+Independencia%2C+soberan%C3%ADa+popular%2C+resistencia+civil+pac%C3%ADfica%2C+seminario+de+capacitaci%C3%B3n+pol%C3%ADtica%2C+froylan+yescas%2C+comites+ciudadanos%2C+amlo+2012%2C+revoluci%C3%B3n+de+las+conciencias';
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();
};
