/* [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','10164',jdecode('Eventos'),jdecode(''),'/10164.html','true',[],'',''],
	['PAGE','501',jdecode('%C2%A1Bienvenidos%21'),jdecode(''),'/501.html','true',[],'',''],
	['PAGE','9622',jdecode('%C2%BFQui%C3%A9nes+somos%3F'),jdecode(''),'/9622.html','true',[],'',''],
	['PAGE','10101',jdecode('Cronistas'),jdecode(''),'/10101/index.html','true',[ 
		['PAGE','23501',jdecode('Tem%C3%A1ticos'),jdecode(''),'/10101/23501.html','true',[],'',''],
		['PAGE','11301',jdecode('%C3%81lvaro+Obreg%C3%B3n'),jdecode(''),'/10101/11301.html','true',[],'',''],
		['PAGE','11322',jdecode('Azcapotzalco'),jdecode(''),'/10101/11322.html','true',[],'',''],
		['PAGE','11343',jdecode('Benito+Ju%C3%A1rez'),jdecode(''),'/10101/11343.html','true',[],'',''],
		['PAGE','11364',jdecode('Cuajimalpa'),jdecode(''),'/10101/11364.html','true',[],'',''],
		['PAGE','11385',jdecode('Coyoac%C3%A1n'),jdecode(''),'/10101/11385.html','true',[],'',''],
		['PAGE','11406',jdecode('Cuauht%C3%A9moc'),jdecode(''),'/10101/11406.html','true',[],'',''],
		['PAGE','11427',jdecode('Gustavo+A.+Madero'),jdecode(''),'/10101/11427.html','true',[],'',''],
		['PAGE','11448',jdecode('Iztapalapa'),jdecode(''),'/10101/11448.html','true',[],'',''],
		['PAGE','11469',jdecode('Iztacalco'),jdecode(''),'/10101/11469.html','true',[],'',''],
		['PAGE','11490',jdecode('Magadalena+Contreras'),jdecode(''),'/10101/11490.html','true',[],'',''],
		['PAGE','11511',jdecode('Miguel+Hidalgo'),jdecode(''),'/10101/11511.html','true',[],'',''],
		['PAGE','11532',jdecode('Milpa+Alta'),jdecode(''),'/10101/11532.html','true',[],'',''],
		['PAGE','11553',jdecode('Tl%C3%A1huac'),jdecode(''),'/10101/11553.html','true',[],'',''],
		['PAGE','11574',jdecode('Tlalpan'),jdecode(''),'/10101/11574.html','true',[],'',''],
		['PAGE','11595',jdecode('Venustiano+Carranza'),jdecode(''),'/10101/11595.html','true',[],'',''],
		['PAGE','11616',jdecode('Xochimilco'),jdecode(''),'/10101/11616.html','true',[],'','']
	],'',''],
	['PAGE','10122',jdecode('Publicaciones'),jdecode(''),'/10122/index.html','true',[ 
		['PAGE','23522',jdecode('Asociaci%C3%B3n'),jdecode(''),'/10122/23522.html','true',[],'',''],
		['PAGE','36201',jdecode('Tem%C3%A1ticos'),jdecode(''),'/10122/36201.html','true',[],'',''],
		['PAGE','23543',jdecode('%C3%81varo+Obreg%C3%B3n'),jdecode(''),'/10122/23543.html','true',[],'',''],
		['PAGE','23564',jdecode('Azcapotzalco'),jdecode(''),'/10122/23564.html','true',[],'',''],
		['PAGE','23585',jdecode('Benito+Ju%C3%A1rez'),jdecode(''),'/10122/23585.html','true',[],'',''],
		['PAGE','23606',jdecode('Cuajimalpa'),jdecode(''),'/10122/23606.html','true',[],'',''],
		['PAGE','23627',jdecode('Coyoac%C3%A1n'),jdecode(''),'/10122/23627.html','true',[],'',''],
		['PAGE','23648',jdecode('Cuauht%C3%A9moc'),jdecode(''),'/10122/23648.html','true',[],'',''],
		['PAGE','23669',jdecode('Gustavo+A.+Madero'),jdecode(''),'/10122/23669.html','true',[],'',''],
		['PAGE','23690',jdecode('Iztapalapa'),jdecode(''),'/10122/23690.html','true',[],'',''],
		['PAGE','23711',jdecode('Iztacalco'),jdecode(''),'/10122/23711.html','true',[],'',''],
		['PAGE','23732',jdecode('Magdalena+Contreras'),jdecode(''),'/10122/23732.html','true',[],'',''],
		['PAGE','23753',jdecode('Miguel+Hidalgo'),jdecode(''),'/10122/23753.html','true',[],'',''],
		['PAGE','23774',jdecode('Milpa+Alta'),jdecode(''),'/10122/23774.html','true',[],'',''],
		['PAGE','23795',jdecode('Tl%C3%A1huac'),jdecode(''),'/10122/23795.html','true',[],'',''],
		['PAGE','23816',jdecode('Tlalpan'),jdecode(''),'/10122/23816.html','true',[],'',''],
		['PAGE','23837',jdecode('Venustiano+Carranza'),jdecode(''),'/10122/23837.html','true',[],'',''],
		['PAGE','23858',jdecode('Xochimilco'),jdecode(''),'/10122/23858.html','true',[],'','']
	],'',''],
	['PAGE','10143',jdecode('Art%C3%ADculos'),jdecode(''),'/10143/index.html','true',[ 
		['PAGE','98601',jdecode('Tem%C3%A1ticos'),jdecode(''),'/10143/98601.html','true',[],'',''],
		['PAGE','98622',jdecode('%C3%81lvaro+Obreg%C3%B3n'),jdecode(''),'/10143/98622.html','true',[],'',''],
		['PAGE','98643',jdecode('Azcapotzalco'),jdecode(''),'/10143/98643.html','true',[],'',''],
		['PAGE','98664',jdecode('Benito+Ju%C3%A1rez'),jdecode(''),'/10143/98664.html','true',[],'',''],
		['PAGE','98685',jdecode('Cuajimalpa'),jdecode(''),'/10143/98685.html','true',[],'',''],
		['PAGE','98706',jdecode('Coyoac%C3%A1n'),jdecode(''),'/10143/98706.html','true',[],'',''],
		['PAGE','98727',jdecode('Cuauht%C3%A9moc'),jdecode(''),'/10143/98727.html','true',[],'',''],
		['PAGE','98748',jdecode('Gustavo+A.+Madero'),jdecode(''),'/10143/98748.html','true',[],'',''],
		['PAGE','98769',jdecode('Iztapalapa'),jdecode(''),'/10143/98769.html','true',[],'',''],
		['PAGE','98790',jdecode('Iztacalco'),jdecode(''),'/10143/98790.html','true',[],'',''],
		['PAGE','98811',jdecode('Magdalena+Contreras'),jdecode(''),'/10143/98811.html','true',[],'',''],
		['PAGE','98832',jdecode('Miguel+Hidalgo'),jdecode(''),'/10143/98832.html','true',[],'',''],
		['PAGE','98853',jdecode('Milpa+Alta'),jdecode(''),'/10143/98853.html','true',[],'',''],
		['PAGE','98874',jdecode('Tl%C3%A1huac'),jdecode(''),'/10143/98874.html','true',[],'',''],
		['PAGE','98895',jdecode('Tlalpan'),jdecode(''),'/10143/98895.html','true',[],'',''],
		['PAGE','98916',jdecode('Venustiano+Carranza'),jdecode(''),'/10143/98916.html','true',[],'',''],
		['PAGE','98937',jdecode('Xochimilco'),jdecode(''),'/10143/98937.html','true',[],'',''],
		['PAGE','103101',jdecode('Asociaci%C3%B3n'),jdecode(''),'/10143/103101.html','true',[],'','']
	],'',''],
	['PAGE','42401',jdecode('Galer%C3%ADa+de+Fotos'),jdecode(''),'/42401/index.html','true',[ 
		['PAGE','47901',jdecode('Tem%C3%A1ticos'),jdecode(''),'/42401/47901.html','true',[],'',''],
		['PAGE','47922',jdecode('%C3%81lvaro+Obreg%C3%B3n'),jdecode(''),'/42401/47922.html','true',[],'',''],
		['PAGE','47943',jdecode('Azcapotzalco'),jdecode(''),'/42401/47943.html','true',[],'',''],
		['PAGE','47964',jdecode('Benito+Ju%C3%A1rez'),jdecode(''),'/42401/47964.html','true',[],'',''],
		['PAGE','47985',jdecode('Cuajimalpa'),jdecode(''),'/42401/47985.html','true',[],'',''],
		['PAGE','48006',jdecode('Coyoac%C3%A1n'),jdecode(''),'/42401/48006.html','true',[],'',''],
		['PAGE','48027',jdecode('Cuauht%C3%A9moc'),jdecode(''),'/42401/48027.html','true',[],'',''],
		['PAGE','48048',jdecode('Gustavo+A.+Madero'),jdecode(''),'/42401/48048.html','true',[],'',''],
		['PAGE','48069',jdecode('Iztapalapa'),jdecode(''),'/42401/48069.html','true',[],'',''],
		['PAGE','48090',jdecode('Iztacalco'),jdecode(''),'/42401/48090.html','true',[],'',''],
		['PAGE','48111',jdecode('Magdalena+Contreras'),jdecode(''),'/42401/48111.html','true',[],'',''],
		['PAGE','48132',jdecode('Miguel+Hidalgo'),jdecode(''),'/42401/48132.html','true',[],'',''],
		['PAGE','48153',jdecode('Milpa+Alta'),jdecode(''),'/42401/48153.html','true',[],'',''],
		['PAGE','48174',jdecode('Tl%C3%A1huac'),jdecode(''),'/42401/48174.html','true',[],'',''],
		['PAGE','48195',jdecode('Tlalpan'),jdecode(''),'/42401/48195.html','true',[],'',''],
		['PAGE','48216',jdecode('Venustiano+Carranza'),jdecode(''),'/42401/48216.html','true',[],'',''],
		['PAGE','48237',jdecode('Xochimilco'),jdecode(''),'/42401/48237.html','true',[],'','']
	],'',''],
	['PAGE','9643',jdecode('Cont%C3%A1ctenos'),jdecode(''),'/9643.html','true',[],'',''],
	['PAGE','11006',jdecode('Libro+de+visitas'),jdecode(''),'/11006/index.html','true',[ 
		['PAGE','11001',jdecode('Leer+el+libro+de+Visitas'),jdecode(''),'/11006/11001.html','false',[],'','']
	],'','']];
var siteelementCount=80;
theSitetree.topTemplateName='Transfer';
theSitetree.paletteFamily='CC7600';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='382';
theSitetree.graphicsetId='433';
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: 			'Transfer',
				paletteFamily: 	'CC7600',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'382',
				graphicsetId: 	'433',
				contentColor: 	'000000',
				contentBGColor: 'FFFFFF',
				a_color: 		'FFFFFF',
				b_color: 		'333333',
				c_color: 		'FFFFFF',
				d_color: 		'FFFFFF',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'false',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '10164',
internalId:  '1006',
customField: '1006'
};
webappMappings['1002']=webappMappings['1002-11006avec10infjgy']={
webappId:    '1002',
documentId:  '11006',
internalId:  '11006avec10infjgy',
customField: 'icq=false'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '10164',
internalId:  '',
customField: '20100726-224012'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '98853',
internalId:  '',
customField: '20100707-214947'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '501',
internalId:  '',
customField: '20100116-131251'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '9622',
internalId:  '',
customField: '20100116-131727'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '10101',
internalId:  '',
customField: '20080709-212449'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '23501',
internalId:  '',
customField: '20100629-211316'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '11301',
internalId:  '',
customField: '20080709-174216'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '11322',
internalId:  '',
customField: '20090607-153018'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '11343',
internalId:  '',
customField: '20080730-112733'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '11364',
internalId:  '',
customField: '20080730-112750'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '11385',
internalId:  '',
customField: '20080730-112817'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '11406',
internalId:  '',
customField: '20081130-160324'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '11427',
internalId:  '',
customField: '20090402-124116'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '11448',
internalId:  '',
customField: '20100519-095520'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '11469',
internalId:  '',
customField: '20090819-192942'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '11490',
internalId:  '',
customField: '20080730-113820'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '11511',
internalId:  '',
customField: '20090607-152831'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '11532',
internalId:  '',
customField: '20090301-151105'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '11553',
internalId:  '',
customField: '20080709-215123'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '11574',
internalId:  '',
customField: '20090308-134057'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '11595',
internalId:  '',
customField: '20080709-173329'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '11616',
internalId:  '',
customField: '20080709-114624'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '10122',
internalId:  '',
customField: '20080730-134720'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '23522',
internalId:  '',
customField: '20091216-121801'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '36201',
internalId:  '',
customField: '20100424-212640'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '23543',
internalId:  '',
customField: '20100210-215258'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '23564',
internalId:  '',
customField: '20090829-180946'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '23585',
internalId:  '',
customField: '20100424-204107'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '23606',
internalId:  '',
customField: '20080709-220200'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '23627',
internalId:  '',
customField: '20091216-124448'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '23648',
internalId:  '',
customField: '20100425-010404'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '23669',
internalId:  '',
customField: '20090727-194301'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '23690',
internalId:  '',
customField: '20100505-163455'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '23711',
internalId:  '',
customField: '20090620-182520'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '23732',
internalId:  '',
customField: '20080709-120119'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '23753',
internalId:  '',
customField: '20091216-130136'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '23774',
internalId:  '',
customField: '20091216-131418'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '23795',
internalId:  '',
customField: '20091216-131711'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '23816',
internalId:  '',
customField: '20090620-182326'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '23837',
internalId:  '',
customField: '20080709-222006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '23858',
internalId:  '',
customField: '20100424-211807'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '10143',
internalId:  '',
customField: '20100704-212843'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42401',
internalId:  '',
customField: '20100707-171701'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '47901',
internalId:  '',
customField: '20100130-193610'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '47922',
internalId:  '',
customField: '20080802-143129'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '47943',
internalId:  '',
customField: '20100130-202601'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '47964',
internalId:  '',
customField: '20081130-153852'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '47985',
internalId:  '',
customField: '20090810-004704'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '48006',
internalId:  '',
customField: '20090704-191445'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '48027',
internalId:  '',
customField: '20100531-230413'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '48048',
internalId:  '',
customField: '20090607-130838'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '48069',
internalId:  '',
customField: '20100722-224517'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '48090',
internalId:  '',
customField: '20090812-215909'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '48111',
internalId:  '',
customField: '20090810-005005'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '48132',
internalId:  '',
customField: '20100712-105058'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '48153',
internalId:  '',
customField: '20100316-155133'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '48174',
internalId:  '',
customField: '20090929-132003'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '48195',
internalId:  '',
customField: '20091123-233526'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '48216',
internalId:  '',
customField: '20081102-171223'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '48237',
internalId:  '',
customField: '20090607-142038'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '9643',
internalId:  '',
customField: '20100226-232219'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '11006',
internalId:  '',
customField: '20080709-211949'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '11001',
internalId:  '',
customField: '20080326-152317'
};
webappMappings['1501']=webappMappings['1501-1501']={
webappId:    '1501',
documentId:  '10164',
internalId:  '1501',
customField: '1501'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '98622',
internalId:  '',
customField: '20100314-000959'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '98832',
internalId:  '',
customField: '20100707-174304'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '98895',
internalId:  '',
customField: '20100619-110116'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '98769',
internalId:  '',
customField: '20100723-000954'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '98727',
internalId:  '',
customField: '20100712-100456'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '98601',
internalId:  '',
customField: '20100723-012545'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '98643',
internalId:  '',
customField: '20100723-011716'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '103101',
internalId:  '',
customField: '20100526-201815'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '98664',
internalId:  '',
customField: '20100416-104114'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '98685',
internalId:  '',
customField: '20100406-221746'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '98706',
internalId:  '',
customField: '20100210-211710'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '98748',
internalId:  '',
customField: '20100112-162601'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '98790',
internalId:  '',
customField: '20100407-171923'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '98811',
internalId:  '',
customField: '20100110-205207'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '98874',
internalId:  '',
customField: '20090922-122256'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '98916',
internalId:  '',
customField: '20090824-155512'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '98937',
internalId:  '',
customField: '20100216-113146'
};
var canonHostname = 'diywk02.verio.stngva01.us.diy-servers.net';
var accountId     = 'AVEC10INFJGY';
var companyName   = 'CRONISTAS+DF';
var htmlTitle	  = 'www.cronistasdf.org.mx';
var metaKeywords  = 'cronistas%2C++distrito+federal%2C++ciudad+de+mexico%2C+df%2C+historia%2C+fotografias%2C+libros';
var metaContents  = 'cronistas%2C++distrito+federal%2C++ciudad+de+mexico%2C++df%2C+historia%2C+fotografias%2C+libros';
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();
};
