/* [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','301',jdecode('HOME'),jdecode(''),'/301.html','true',[],'',''],
	['PAGE','13122',jdecode('JUVENTUD+BALOMPIE'),jdecode(''),'/13122.html','true',[],'',''],
	['PAGE','13143',jdecode('TRIANA+BALOMPIE%281962-72%29'),jdecode(''),'/13143/index.html','true',[ 
		['PAGE','70612',jdecode('El+Ascenso+a+3%C2%AA+Divisi%C3%B3n'),jdecode(''),'/13143/70612.html','true',[],'',''],
		['PAGE','73412',jdecode('Jugando+en+el+Villamar%C3%ADn'),jdecode(''),'/13143/73412.html','true',[],'',''],
		['PAGE','76012',jdecode('La+F%C3%A1brica+ante+la+crisis'),jdecode(''),'/13143/76012.html','true',[],'',''],
		['PAGE','78612',jdecode('Con+la+Cantera%2C+a+Primera'),jdecode(''),'/13143/78612.html','true',[],'',''],
		['PAGE','80012',jdecode('El+Trofeo+Amberes'),jdecode(''),'/13143/80012.html','true',[],'','']
	],'',''],
	['PAGE','13164',jdecode('BETIS+BALOMPIE+%281972-76%29'),jdecode(''),'/13164.html','true',[],'',''],
	['PAGE','13185',jdecode('BETIS+DEPORTIVO%281976-90%29'),jdecode(''),'/13185.html','true',[],'',''],
	['PAGE','13206',jdecode('REAL+BETIS+B+%281990-2010%29'),jdecode(''),'/13206.html','true',[],'',''],
	['PAGE','13227',jdecode('EL+MANQUEPIERDA'),jdecode(''),'/13227/index.html','true',[ 
		['PAGE','26512',jdecode('1953-54%2C+la+salida+del+tunel'),jdecode(''),'/13227/26512.html','true',[],'',''],
		['PAGE','49812',jdecode('1952-53%2C+Temporada+decepcionante'),jdecode(''),'/13227/49812.html','true',[],'',''],
		['PAGE','66112',jdecode('1951-52%2C+el+Betis+de+los+tres+presidentes'),jdecode(''),'/13227/66112.html','true',[],'',''],
		['PAGE','51312',jdecode('1950-51%2C+Fracaso+en+la+fase+de+ascenso'),jdecode(''),'/13227/51312.html','true',[],'',''],
		['PAGE','53212',jdecode('1949-50%2C+Noventa+goles+insuficientes'),jdecode(''),'/13227/53212.html','true',[],'',''],
		['PAGE','64612',jdecode('1948-49%2C+Nuevo+en+el+Grupo+Sexto'),jdecode(''),'/13227/64612.html','true',[],'',''],
		['PAGE','48212',jdecode('1947-48%2C+la+llegada+de+Pascual+Aparicio'),jdecode(''),'/13227/48212.html','true',[],'','']
	],'',''],
	['PAGE','14501',jdecode('RETAZOS+DE+LA+HISTORIA'),jdecode(''),'/14501/index.html','true',[ 
		['PAGE','186612',jdecode('100+A%C3%91OS+DEL+BETIS+FC'),jdecode(''),'/14501/186612.html','true',[],'',''],
		['PAGE','196223',jdecode('ANDR%C3%89S+ARANDA+MURI%C3%93+HACE+45+A%C3%91OS'),jdecode(''),'/14501/196223.html','true',[],'',''],
		['PAGE','35912',jdecode('EL+ESCUDO+REPUBLICANO+DESCONOCIDO'),jdecode(''),'/14501/35912.html','true',[],'',''],
		['PAGE','81512',jdecode('El+Betis+de+S%C3%A1nchez+Mej%C3%ADas'),jdecode(''),'/14501/81512.html','true',[],'',''],
		['PAGE','85412',jdecode('En+tiempos+de+Mar%C3%ADa+Trifulca'),jdecode(''),'/14501/85412.html','true',[],'',''],
		['PAGE','46012',jdecode('OPERACI%C3%93N+15.000'),jdecode(''),'/14501/46012.html','true',[],'',''],
		['PAGE','190912',jdecode('El+Rinc%C3%B3n+de+Eusebio'),jdecode(''),'/14501/190912.html','true',[],'','']
	],'',''],
	['PAGE','14522',jdecode('HOMENAJES+Y+ACTOS'),jdecode(''),'/14522/index.html','true',[ 
		['PAGE','188412',jdecode('Homenaje+a+Andr%C3%A9s+Aranda+1940'),jdecode(''),'/14522/188412.html','true',[],'',''],
		['PAGE','23301',jdecode('Homenaje+a+Alfonso+en+1944'),jdecode(''),'/14522/23301.html','true',[],'','']
	],'',''],
	['PAGE','14543',jdecode('BETICOS+EN+LA+HISTORIA'),jdecode(''),'/14543/index.html','true',[ 
		['PAGE','37312',jdecode('D.Alfonso+Jaramillo+Gonzalez'),jdecode(''),'/14543/37312.html','true',[],'',''],
		['PAGE','39612',jdecode('D.Ventura+Castello+Hernandez'),jdecode(''),'/14543/39612.html','true',[],'','']
	],'',''],
	['PAGE','14564',jdecode('NUESTROS+RECINTOS'),jdecode(''),'/14564/index.html','true',[ 
		['PAGE','68212',jdecode('El+Real+Patronato+Obrero'),jdecode(''),'/14564/68212.html','true',[],'',''],
		['PAGE','57812',jdecode('El+Betis+de+la+Enramadilla'),jdecode(''),'/14564/57812.html','true',[],'',''],
		['PAGE','103912',jdecode('El+Stadium+de+la+Exposici%C3%B3n'),jdecode(''),'/14564/103912.html','true',[],'',''],
		['PAGE','108612',jdecode('De+Heli%C3%B3polis+al+Villamar%C3%ADn'),jdecode(''),'/14564/108612.html','true',[],'','']
	],'',''],
	['PAGE','42512',jdecode('LA+OPINI%C3%93N+PERSONAL'),jdecode(''),'/42512/index.html','true',[ 
		['PAGE','42533',jdecode('YO+TAMBI%C3%89N+ESTUVE%2C+BETIS'),jdecode(''),'/42512/42533.html','true',[],'',''],
		['PAGE','166712',jdecode('Rafa+Gordillo%2C+b%C3%A9tico+en+may%C3%BAsculas'),jdecode(''),'/42512/166712.html','true',[],'',''],
		['PAGE','144212',jdecode('Sevillan%C3%ADa+del+nombre+del+Betis'),jdecode(''),'/42512/144212.html','true',[],'',''],
		['PAGE','93412',jdecode('ESCUDO+DEL+BETIS+FC'),jdecode(''),'/42512/93412.html','true',[],'',''],
		['PAGE','124112',jdecode('An%C3%A1lisis+uniformes+hist%C3%B3ricos+2009'),jdecode(''),'/42512/124112.html','true',[],'',''],
		['PAGE','132712',jdecode('APAG%C3%93N+B%C3%89TICO+EN+INTERNET'),jdecode(''),'/42512/132712.html','true',[],'','']
	],'',''],
	['PAGE','14901',jdecode('MIS+M%C3%81GICOS+MOMENTOS'),jdecode(''),'/14901/index.html','true',[ 
		['PAGE','141412',jdecode('Paliza+al+Sevilla+en+la+Copa+del+85'),jdecode(''),'/14901/141412.html','true',[],'',''],
		['PAGE','185612',jdecode('%C2%A1Gordillo%2CGordillo%2CGordillo%21'),jdecode(''),'/14901/185612.html','true',[],'','']
	],'',''],
	['PAGE','59012',jdecode('EN+LA+CIMA+Y+EN+LA+SIMA'),jdecode(''),'/59012/index.html','true',[ 
		['PAGE','59312',jdecode('1931-32%2C+El+Primer+Club+Andaluz+en+Primera'),jdecode(''),'/59012/59312.html','true',[],'',''],
		['PAGE','187512',jdecode('Aquella+Primavera+del+42'),jdecode(''),'/59012/187512.html','true',[],'',''],
		['PAGE','139412',jdecode('1957-58%2C+a+1%C2%AA+tras+15+a%C3%B1os...'),jdecode(''),'/59012/139412.html','true',[],'',''],
		['PAGE','91312',jdecode('El+Currobetis'),jdecode(''),'/59012/91312.html','true',[],'',''],
		['PAGE','129912',jdecode('EL+Descenso+a+3%C2%AA+Divisi%C3%B3n'),jdecode(''),'/59012/129912.html','true',[],'','']
	],'',''],
	['PAGE','146612',jdecode('100+A%C3%91OS+DE+ALINEACIONES'),jdecode(''),'/146612/index.html','true',[ 
		['PAGE','161812',jdecode('Los+a%C3%B1os+de+1920'),jdecode(''),'/146612/161812.html','true',[],'',''],
		['PAGE','171112',jdecode('Los+a%C3%B1os+de+1930'),jdecode(''),'/146612/171112.html','true',[],'',''],
		['PAGE','159512',jdecode('Los+a%C3%B1os+1940-50'),jdecode(''),'/146612/159512.html','true',[],'',''],
		['PAGE','150012',jdecode('Los+a%C3%B1os+1950-60'),jdecode(''),'/146612/150012.html','true',[],'',''],
		['PAGE','146912',jdecode('Los+a%C3%B1os+1960-70'),jdecode(''),'/146612/146912.html','true',[],'',''],
		['PAGE','156012',jdecode('Los+a%C3%B1os+1970-80'),jdecode(''),'/146612/156012.html','true',[],'',''],
		['PAGE','158312',jdecode('los+a%C3%B1os+1990-00'),jdecode(''),'/146612/158312.html','true',[],'','']
	],'',''],
	['PAGE','162812',jdecode('EL+BANQUILLO+VERDIBLANCO'),jdecode(''),'/162812/index.html','true',[ 
		['PAGE','163512',jdecode('Sabino+Barinaga'),jdecode(''),'/162812/163512.html','true',[],'',''],
		['PAGE','164712',jdecode('Enrique+Fern%C3%A1ndez'),jdecode(''),'/162812/164712.html','true',[],'',''],
		['PAGE','178612',jdecode('Ernesto+Pons+Forns'),jdecode(''),'/162812/178612.html','true',[],'',''],
		['PAGE','192812',jdecode('Rosendo+Hern%C3%A1ndez'),jdecode(''),'/162812/192812.html','true',[],'',''],
		['PAGE','165412',jdecode('C%C3%A9sar+Rodr%C3%ADguez'),jdecode(''),'/162812/165412.html','true',[],'',''],
		['PAGE','182912',jdecode('Charles+Slade'),jdecode(''),'/162812/182912.html','true',[],'','']
	],'',''],
	['PAGE','130712',jdecode('F%C3%BAtbol+sevillano+desaparecido'),jdecode(''),'/130712.html','true',[],'',''],
	['PAGE','179112',jdecode('LOS+QUE+NO+JUGARON'),jdecode(''),'/179112/index.html','true',[ 
		['PAGE','179812',jdecode('Fdo.TABALES+Prieto'),jdecode(''),'/179112/179812.html','true',[],'','']
	],'',''],
	['PAGE','193823',jdecode('Rivales%2C+nunca+enemigos'),jdecode(''),'/193823/index.html','true',[ 
		['PAGE','194623',jdecode('Homenaje+a+Vicente+Bru'),jdecode(''),'/193823/194623.html','true',[],'','']
	],'',''],
	['PAGE','170012',jdecode('%C2%BFQUIENES+SOMOS....%3F'),jdecode(''),'/170012.html','true',[],'','']];
var siteelementCount=75;
theSitetree.topTemplateName='Soccer';
theSitetree.paletteFamily='34B034';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='10499';
theSitetree.graphicsetId='11115';
theSitetree.contentColor='FFFFFF';
theSitetree.contentBGColor='000000';
var localeDef={
  language: 'es',
  country: 'ES'
};
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Soccer',
				paletteFamily: 	'34B034',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'10499',
				graphicsetId: 	'11115',
				contentColor: 	'FFFFFF',
				contentBGColor: '000000',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'34B034',
				e_color: 		'34B034',
				f_color: 		'34B034',
				hasCustomLogo: 	'true',
				contentFontFace:'Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '301',
internalId:  '',
customField: '20090316-225452'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '70612',
internalId:  '',
customField: '20100302-162500'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13122',
internalId:  '',
customField: '20100302-162127'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13143',
internalId:  '',
customField: '20100302-162435'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13164',
internalId:  '',
customField: '20090312-161221'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13185',
internalId:  '',
customField: '20090312-161221'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13206',
internalId:  '',
customField: '20090312-161221'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13227',
internalId:  '',
customField: '20090313-005338'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '39612',
internalId:  '',
customField: '20100302-160202'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14501',
internalId:  '',
customField: '20100310-021218'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14522',
internalId:  '',
customField: '20100304-010342'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14543',
internalId:  '',
customField: '20100302-160044'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14564',
internalId:  '',
customField: '20091105-201045'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14901',
internalId:  '',
customField: '20100302-161400'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '26512',
internalId:  '',
customField: '20091114-220952'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '23301',
internalId:  '',
customField: '20100302-161306'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '68212',
internalId:  '',
customField: '20091010-220901'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '178612',
internalId:  '',
customField: '20100131-200029'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '170012',
internalId:  '',
customField: '20100302-163510'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '171112',
internalId:  '',
customField: '20100219-192757'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '35912',
internalId:  '',
customField: '20100302-160429'
};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '14501',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '37312',
internalId:  '',
customField: '20100302-160108'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '124112',
internalId:  '',
customField: '20091120-214535'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42512',
internalId:  '',
customField: '20091213-104507'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42533',
internalId:  '',
customField: '20091213-094211'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '182912',
internalId:  '',
customField: '20100302-162040'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '46012',
internalId:  '',
customField: '20100302-161210'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '48212',
internalId:  '',
customField: '20090707-225926'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '49812',
internalId:  '',
customField: '20090716-132010'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '51312',
internalId:  '',
customField: '20090929-205152'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '53212',
internalId:  '',
customField: '20091112-195537'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '57812',
internalId:  '',
customField: '20090801-143400'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '59012',
internalId:  '',
customField: '20100302-161455'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '59312',
internalId:  '',
customField: '20100302-161606'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '64612',
internalId:  '',
customField: '20090825-234247'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '66112',
internalId:  '',
customField: '20091112-101513'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '73412',
internalId:  '',
customField: '20100302-162519'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '76012',
internalId:  '',
customField: '20100302-162609'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '78612',
internalId:  '',
customField: '20100302-162628'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '80012',
internalId:  '',
customField: '20100302-162653'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '81512',
internalId:  '',
customField: '20100302-160609'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '85412',
internalId:  '',
customField: '20100302-161144'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '91312',
internalId:  '',
customField: '20100302-161803'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '93412',
internalId:  '',
customField: '20090930-141741'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '156012',
internalId:  '',
customField: '20100309-073727'
};
webappMappings['1501']=webappMappings['1501-1501']={
webappId:    '1501',
documentId:  '14501',
internalId:  '1501',
customField: '1501'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '103912',
internalId:  '',
customField: '20091101-193138'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '108612',
internalId:  '',
customField: '20091117-210655'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '139412',
internalId:  '',
customField: '20100302-161721'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '150012',
internalId:  '',
customField: '20100302-163019'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '129912',
internalId:  '',
customField: '20100302-161904'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '130712',
internalId:  '',
customField: '20091112-220917'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '132712',
internalId:  '',
customField: '20091119-123232'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '141412',
internalId:  '',
customField: '20100302-161421'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '144212',
internalId:  '',
customField: '20091213-104625'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '146612',
internalId:  '',
customField: '20100309-072937'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '146912',
internalId:  '',
customField: '20100308-224943'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '158312',
internalId:  '',
customField: '20100302-163424'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '162812',
internalId:  '',
customField: '20100305-161636'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '159512',
internalId:  '',
customField: '20100302-162840'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '161812',
internalId:  '',
customField: '20100302-162722'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '163512',
internalId:  '',
customField: '20100302-161947'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '164712',
internalId:  '',
customField: '20100302-162002'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '165412',
internalId:  '',
customField: '20100302-162019'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '166712',
internalId:  '',
customField: '20100119-195525'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '179112',
internalId:  '',
customField: '20100302-161328'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '179812',
internalId:  '',
customField: '20100302-161346'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '185612',
internalId:  '',
customField: '20100302-161443'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '186612',
internalId:  '',
customField: '20100302-160320'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '187512',
internalId:  '',
customField: '20100227-193949'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '188412',
internalId:  '',
customField: '20100302-102626'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '193823',
internalId:  '',
customField: '20100309-072826'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '190912',
internalId:  '',
customField: '20100304-003511'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '192812',
internalId:  '',
customField: '20100305-161812'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '194623',
internalId:  '',
customField: '20100307-200406'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '196223',
internalId:  '',
customField: '20100310-005355'
};
var canonHostname = 'llwc535.servidoresdns.net';
var accountId     = 'AARS20INVVYQ';
var companyName   = 'ESTUDIO+DE+LA+HISTORIA+DEL+REAL+BETIS+BALOMPI%C3%89';
var htmlTitle	  = '';
var metaKeywords  = 'beticista%2C+manquepierda%2C+Real+Betis%2C+Juventud+Balompie%2C+historia+del+betis%2C+historia%2C+personajes+historicos%2C+da%C3%B1o+historico%2C+triana+balompie%2C+betis+balompie%2C+betis+deportivo%2C+real+betis+b%2C+viva+er+beti%2C+retazos+de+la+historia%2C+homenajes%2C+Tercera+Division%2C+Manuel+Simo%2C+manque+pierda%2C+Manuel+Ruiz+Rodriguez%2C+Saenz+de+Buruaga%2C+Alfonso+Jaramillo%2C+Bar+Avelino%2C+Sabino+Barinaga%2C+Jose+Pe%C3%B1afuerte%2C+trecebarrado%2C+Manuel+Simo%2C+escudo+republicano%2C+nuevo+escudo%2C+escudo+de+1931%2C+noviembre+de+1931%2C+Mantecon+Navasal%2C+Tercera+Divisi%C3%B3n%2C+Charles+Slade%2C+Historia+del+Triana+Balompi%C3%A9%2C+Triana+Balompi%C3%A9%2C+historia+del+Real+Betis%2C+heliopolis%2C+Heli%C3%B3polis%2C+Betis+Libre%2C+Betis+Web%2C+BW%2C+Zamorita%2C+Casero%2C+Juan+Nadal+Vigil%2C+alineaciones+Betis%2C+Copa+Betis%2C+Betis+4+Madrid+1+++';
var metaContents  = 'historia+del+real+betis%2C+historia+del+betis%2C+Betis%2C+betis%2C+beticista%2C+betico';
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();
};
