/* [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','5801',jdecode('Inicio'),jdecode(''),'/5801.html','true',[],'',''],
	['PAGE','5852',jdecode('La+Empresa'),jdecode(''),'/5852/index.html','true',[ 
		['PAGE','5873',jdecode('Instalaciones'),jdecode(''),'/5852/5873.html','true',[],'',''],
		['PAGE','5894',jdecode('Actividades'),jdecode(''),'/5852/5894.html','true',[],'',''],
		['PAGE','5915',jdecode('Contacto'),jdecode(''),'/5852/5915.html','true',[],'',''],
		['PAGE','5936',jdecode('Calidad'),jdecode(''),'/5852/5936.html','true',[],'',''],
		['PAGE','5957',jdecode('Clasificaciones'),jdecode(''),'/5852/5957.html','true',[],'',''],
		['PAGE','5978',jdecode('Localizaci%C3%B3n'),jdecode(''),'/5852/5978.html','true',[],'','']
	],'',''],
	['PAGE','5999',jdecode('Equipos+Hidromec%C3%A1nicos'),jdecode(''),'/5999/index.html','true',[ 
		['PAGE','60101',jdecode('Filtros+Rotativos'),jdecode(''),'/5999/60101.html','false',[],'',''],
		['PAGE','61301',jdecode('Limpiarrejas'),jdecode(''),'/5999/61301.html','false',[],'',''],
		['PAGE','62501',jdecode('Compuertas+Bureau'),jdecode(''),'/5999/62501.html','false',[],'',''],
		['PAGE','63401',jdecode('Valvula+Howell-Bunger'),jdecode(''),'/5999/63401.html','false',[],'',''],
		['PAGE','64401',jdecode('Toma+Flotante'),jdecode(''),'/5999/64401.html','false',[],'',''],
		['PAGE','65601',jdecode('Compuertas+Vagon'),jdecode(''),'/5999/65601.html','false',[],'',''],
		['PAGE','67501',jdecode('Compuertas+Taintor'),jdecode(''),'/5999/67501.html','false',[],'',''],
		['PAGE','68601',jdecode('Compuertas+Canal+o+Deslizantes'),jdecode(''),'/5999/68601.html','false',[],'',''],
		['PAGE','81001',jdecode('Clapetas'),jdecode(''),'/5999/81001.html','false',[],'','']
	],'',''],
	['PAGE','71401',jdecode('Estructuras+Met%C3%A1licas'),jdecode(''),'/71401.html','true',[],'',''],
	['PAGE','11201',jdecode('Bombas+Hidr%C3%A1ulicas'),jdecode(''),'/11201/index.html','true',[ 
		['PAGE','12601',jdecode('Suministro'),jdecode(''),'/11201/12601.html','true',[],'',''],
		['PAGE','12622',jdecode('Reparaci%C3%B3n%2FMantenimiento'),jdecode(''),'/11201/12622.html','true',[],'',''],
		['PAGE','77001',jdecode('Bombas+sumergibles+de+helices'),jdecode(''),'/11201/77001.html','false',[],'','']
	],'',''],
	['PAGE','73001',jdecode('Banco+de+Ensayos'),jdecode(''),'/73001.html','true',[],'',''],
	['PAGE','6020',jdecode('Referencias'),jdecode(''),'/6020/index.html','true',[ 
		['PAGE','7301',jdecode('2011'),jdecode(''),'/6020/7301.html','true',[],'',''],
		['PAGE','35601',jdecode('Sustitucion+Junta+Central+Hidroelectrica+Pampaneira'),jdecode(''),'/6020/35601.html','false',[],'',''],
		['PAGE','36001',jdecode('Captacion+de+Agua+Bruta+Centrales+Termosolares+San+Jose+del+Valle'),jdecode(''),'/6020/36001.html','false',[],'',''],
		['PAGE','37301',jdecode('Deposito+de+pruebas+PN+100+para+ensayos+energeticos+con+gases'),jdecode(''),'/6020/37301.html','false',[],'',''],
		['PAGE','37701',jdecode('Sustituci%C3%B3n+de+dos+tramos+de+las+tuber%C3%ADas+de+impulsi%C3%B3n+del+sistema+de+achique+del+grupo+3+de+la+Central+Hidroel%C3%A9ctrica+de+El+Pintado'),jdecode(''),'/6020/37701.html','false',[],'',''],
		['PAGE','38301',jdecode('Reparaciones+y+reformas+de+compuertas+en+las+instalaciones+contra+inundaciones+de+%C3%89cija'),jdecode(''),'/6020/38301.html','false',[],'',''],
		['PAGE','38901',jdecode('Fabricaci%C3%B3n+y+montaje+de+barandillas+en+instalaciones+de+Puebla+del+R%C3%ADo+y+Coria+del+R%C3%ADo.'),jdecode(''),'/6020/38901.html','false',[],'',''],
		['PAGE','39401',jdecode('Mantenimiento+de+la+central+hidroel%C3%A9ctrica+de+Guadalhorce+%E2%80%93+Guadalteba+en+M%C3%A1laga.'),jdecode(''),'/6020/39401.html','false',[],'',''],
		['PAGE','40601',jdecode('Reparaci%C3%B3n+de+las+tres+bombas+de+refrigeraci%C3%B3n+de+la+Central+Hidroel%C3%A9ctrica+de+Guillena+en+Sevilla'),jdecode(''),'/6020/40601.html','false',[],'',''],
		['PAGE','41201',jdecode('Reparaci%C3%B3n+del+accionamiento+de+la+compuerta+n%C2%BA+1+del+azud+de+Pe%C3%B1aflor+en+C%C3%B3rdoba'),jdecode(''),'/6020/41201.html','false',[],'',''],
		['PAGE','41601',jdecode('Dise%C3%B1o+y+fabricaci%C3%B3n+de+cinco+compuertas+vag%C3%B3n+electromec%C3%A1nicas+para+el+aislamiento+de+la+Estaci%C3%B3n+de+Bombeo+de+Ramblilla+en+Sevilla'),jdecode(''),'/6020/41601.html','false',[],'',''],
		['PAGE','42101',jdecode('Fabricaci%C3%B3n+de+soportes+de+tuber%C3%ADa+de+impulsi%C3%B3n+en+acero+inoxidable+para+la+estaci%C3%B3n+de+bombeo+del+And%C3%A9valo'),jdecode(''),'/6020/42101.html','false',[],'',''],
		['PAGE','42601',jdecode('Dise%C3%B1o%2C+fabricaci%C3%B3n+y+montaje+de+cinco+compuertas+tipo+canal+en+acero+inoxidable+para+los+canales+de+desbaste+de+la+EDAR+Casaquemada+en+Madrid'),jdecode(''),'/6020/42601.html','false',[],'',''],
		['PAGE','43101',jdecode('Dise%C3%B1o%2C+fabricaci%C3%B3n+y+montaje+de+dos+compuertas+oleohidr%C3%A1ulicas+de+altura+reducida+y+otra+electromec%C3%A1nica+en+el+Tanque+de+Tormentas+de+Alcal%C3%A1+de+Guadaira+en+Sevilla'),jdecode(''),'/6020/43101.html','false',[],'',''],
		['PAGE','7322',jdecode('2010'),jdecode(''),'/6020/7322.html','true',[],'',''],
		['PAGE','43701',jdecode('Dise%C3%B1o%2C+fabricaci%C3%B3n+y+montaje+de+seis+limpiarrejas+en+las+tomas+I+y+II+del+Canal+de+las+Dehesas+en+Badajoz'),jdecode(''),'/6020/43701.html','false',[],'',''],
		['PAGE','44201',jdecode('Trabajos+de+adecuaci%C3%B3n+de+la+presa+de+Jos%C3%A9+Tor%C3%A1n+en+Sevilla+al+Reglamento+T%C3%A9cnico+de+Seguridad+de+Presas%2C+incluyendo+la+sustituci%C3%B3n+de+los+sistemas+de+by-pass+de+las+compuertas+bureau+de+aguas+arriba+los+desag%C3%BCes+de+fondo+sin+necesidad+de+trabajos+subacu%C3%A1ticos'),jdecode(''),'/6020/44201.html','false',[],'',''],
		['PAGE','45001',jdecode('Dise%C3%B1o%2C+fabricaci%C3%B3n+y+montaje+de+dos+v%C3%A1lvulas+de+chorro+hueco+tipo+Howell+%E2%80%93+Bunger+en+el+by-pass+de+la+central+hidroel%C3%A9ctrica+de+Valdentales+%28presa+de+El+Atazar%29+en+Madrid'),jdecode(''),'/6020/45001.html','false',[],'',''],
		['PAGE','46101',jdecode('Fabricaci%C3%B3n+y+montaje+del+sistema+de+recirculaci%C3%B3n+de+fangos%2C+en+acero+inoxidable%2C+de+la+ampliaci%C3%B3n+de+la+EDAR+Guadalquivir+de+Sevilla'),jdecode(''),'/6020/46101.html','false',[],'',''],
		['PAGE','46701',jdecode('Dise%C3%B1o%2C+fabricaci%C3%B3n+y+montaje+de+escalera+de+acceso+en+acero+inoxidable+al+sistema+de+depuraci%C3%B3n+del+agua+del+canal+recreativo+de+la+Plaza+de+Espa%C3%B1a+en+Sevilla'),jdecode(''),'/6020/46701.html','false',[],'',''],
		['PAGE','47301',jdecode('Dise%C3%B1o%2C+fabricaci%C3%B3n+y+montaje+de+dos+limpiarrejas+1650+x+2400+mm%2C+dos+compuertas+1650+x+2400+mm+y+una+reja+de+desbaste+4.000+x+2.000+mm+en+la+obra+de+toma+del+sector+XII+del+Canal+de+Orellana+en+Badajoz'),jdecode(''),'/6020/47301.html','false',[],'',''],
		['PAGE','47801',jdecode('Dise%C3%B1o%2C+fabricaci%C3%B3n+y+montaje+de+dos+limpiarrejas+1800+x+3100+mm+y+dos+compuertas+DN+800+mm+en+la+obra+de+toma+de+la+balsa+de+La+Restinga+en+Sevilla'),jdecode(''),'/6020/47801.html','false',[],'',''],
		['PAGE','48601',jdecode('Reparaci%C3%B3n+de+un+grupo+con+motor+de+300+KW+capaz+de+impulsar+1.200+litros%2Fsegundo+a+15+m.c.a.+Las+necesidades+de+la+reparaci%C3%B3n+han+sido+el+rebobinado+del+motor%2C+la+reparaci%C3%B3n+del+eje+del+rotor%2C+el+cambio+de+juntas+y+cierres+mec%C3%A1nicos+y+la+reparaci%C3%B3n+del+alojamiento+del+eje+en+el+rodete'),jdecode(''),'/6020/48601.html','false',[],'',''],
		['PAGE','52401',jdecode('Trabajos+de+ingenier%C3%ADa+para+el+dise%C3%B1o%2C+realizaci%C3%B3n+y+montaje+de+proyecto+de+incorporaci%C3%B3n+de+elementos+hidromec%C3%A1nicos+para+el+cierre+de+seguridad+del+t%C3%BAnel+de+conexi%C3%B3n+entre+el+parque+del+Charco+de+la+Pava+y+el+barrio+de+Triana+de+Sevilla'),jdecode(''),'/6020/52401.html','false',[],'',''],
		['PAGE','53001',jdecode('Dise%C3%B1o%2C+fabricaci%C3%B3n+y+montaje+de+21+compuertas+%28previo+desmontaje+de+las+existentes%29+en+el+Canal+de+%C3%81rrago'),jdecode(''),'/6020/53001.html','false',[],'',''],
		['PAGE','53701',jdecode('Trabajos+de+reparaci%C3%B3n+de+los+desag%C3%BCes+intermedios+de+la+presa+del+Tranco+de+Beas%2C+con+1300mm+de+di%C3%A1metro'),jdecode(''),'/6020/53701.html','false',[],'',''],
		['PAGE','54401',jdecode('Dise%C3%B1o%2C+fabricaci%C3%B3n+y+montaje+de+2+filtros+rotativos+de+3%2C6+m+de+di%C3%A1metro+y+5+m+de+longitud+para+un+caudal+unitario+de+3.125+l%2Fs%2C+tres+compuertas+de+fondo+de+2.200+x+2.300+mm+en+acero+inoxidable+AISI+304+y+un+muro+divisor+de+4%2C3+x+4%2C1+m+en+acero+inoxidable+AISI+304'),jdecode(''),'/6020/54401.html','false',[],'',''],
		['PAGE','55401',jdecode('Modernizaci%C3%B3n+de+la+Comunidad+de+Regantes+Pichardo+Bancos'),jdecode(''),'/6020/55401.html','false',[],'',''],
		['PAGE','56001',jdecode('Dise%C3%B1o%2C+fabricaci%C3%B3n+y+montaje+del+desag%C3%BCe+de+fondo+de+la+balsa+de+La+Restinga+formada+por+dos+embocaduras+rectangulares%2C+cuatro+compuertas+Bureau+y+dos+piezas+de+transici%C3%B3n'),jdecode(''),'/6020/56001.html','false',[],'',''],
		['PAGE','56401',jdecode('Reparaci%C3%B3n+de+los+desag%C3%BCes+de+fondo+de+las+presas+de+Fresnedas+y+J%C3%A1ndula'),jdecode(''),'/6020/56401.html','false',[],'',''],
		['PAGE','7343',jdecode('2009'),jdecode(''),'/6020/7343.html','true',[],'',''],
		['PAGE','9801',jdecode('2008'),jdecode(''),'/6020/9801.html','true',[],'',''],
		['PAGE','34801',jdecode('Toma+Flotante+Rebollar+Oeste'),jdecode(''),'/6020/34801.html','false',[],'',''],
		['PAGE','9822',jdecode('2007'),jdecode(''),'/6020/9822.html','true',[],'',''],
		['PAGE','11501',jdecode('1995+-+2006'),jdecode(''),'/6020/11501.html','true',[],'','']
	],'',''],
	['PAGE','6041',jdecode('Clientes'),jdecode(''),'/6041.html','true',[],'',''],
	['PAGE','6062',jdecode('Noticias'),jdecode(''),'/6062.html','true',[],'',''],
	['PAGE','57301',jdecode('Zona+Multimedia'),jdecode(''),'/57301.html','true',[],'',''],
	['PAGE','6083',jdecode('Aviso+legal'),jdecode(''),'/6083.html','true',[],'','']];
var siteelementCount=64;
theSitetree.topTemplateName='Undulate';
theSitetree.paletteFamily='67BAFF';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='33116';
theSitetree.graphicsetId='14072';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='67BAFF';
var localeDef={
  language: 'es',
  country: 'ES'
};
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Undulate',
				paletteFamily: 	'67BAFF',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'33116',
				graphicsetId: 	'14072',
				contentColor: 	'000000',
				contentBGColor: '67BAFF',
				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['2001']=webappMappings['2001-location']={
webappId:    '2001',
documentId:  '5978',
internalId:  'location',
customField: 'language:es;country:ES;isIncluded:true;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5801',
internalId:  '',
customField: '20120210-101739'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5852',
internalId:  '',
customField: '20120116-083506'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5873',
internalId:  '',
customField: '20120216-122954'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '6083',
internalId:  '',
customField: '20120116-084548'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5894',
internalId:  '',
customField: '20120116-083605'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5915',
internalId:  '',
customField: '20120116-083627'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5936',
internalId:  '',
customField: '20120116-083654'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5957',
internalId:  '',
customField: '20120116-083722'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5978',
internalId:  '',
customField: '20120116-083744'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5999',
internalId:  '',
customField: '20120213-142122'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '6020',
internalId:  '',
customField: '20120201-141926'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '6041',
internalId:  '',
customField: '20120116-084457'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '6062',
internalId:  '',
customField: '20120215-081557'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '7301',
internalId:  '',
customField: '20120116-084218'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '7322',
internalId:  '',
customField: '20120118-085437'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '7343',
internalId:  '',
customField: '20120116-084304'
};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '5801',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '9822',
internalId:  '',
customField: '20120116-084358'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '9801',
internalId:  '',
customField: '20120116-084328'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '11201',
internalId:  '',
customField: '20120216-092025'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '11501',
internalId:  '',
customField: '20120116-084433'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '12601',
internalId:  '',
customField: '20120215-083243'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '12622',
internalId:  '',
customField: '20120116-084013'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '77001',
internalId:  '',
customField: '20120216-110951'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '34801',
internalId:  '',
customField: '20120110-094147'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '35601',
internalId:  '',
customField: '20120110-091730'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '36001',
internalId:  '',
customField: '20120110-091812'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '37301',
internalId:  '',
customField: '20120110-103127'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '37701',
internalId:  '',
customField: '20120110-104721'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '38301',
internalId:  '',
customField: '20120110-113531'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '38901',
internalId:  '',
customField: '20120110-132104'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '39401',
internalId:  '',
customField: '20120110-134727'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40601',
internalId:  '',
customField: '20120111-082053'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41201',
internalId:  '',
customField: '20120111-084623'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41601',
internalId:  '',
customField: '20120116-143026'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42101',
internalId:  '',
customField: '20120111-090849'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42601',
internalId:  '',
customField: '20120111-093438'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43101',
internalId:  '',
customField: '20120111-094414'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43701',
internalId:  '',
customField: '20120112-083116'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44201',
internalId:  '',
customField: '20120112-092101'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45001',
internalId:  '',
customField: '20120112-093330'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '46101',
internalId:  '',
customField: '20120112-142756'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '46701',
internalId:  '',
customField: '20120113-084418'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '47301',
internalId:  '',
customField: '20120113-090251'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '47801',
internalId:  '',
customField: '20120113-092536'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '48601',
internalId:  '',
customField: '20120113-133432'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '52401',
internalId:  '',
customField: '20120117-122444'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '53001',
internalId:  '',
customField: '20120117-125540'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '53701',
internalId:  '',
customField: '20120117-133059'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '54401',
internalId:  '',
customField: '20120117-141203'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '55401',
internalId:  '',
customField: '20120117-142744'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '56001',
internalId:  '',
customField: '20120118-082753'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '56401',
internalId:  '',
customField: '20120118-090400'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '57301',
internalId:  '',
customField: '20120124-140113'
};
webappMappings['1501']=webappMappings['1501-1322175']={
webappId:    '1501',
documentId:  '5801',
internalId:  '1322175',
customField: '1501'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '60101',
internalId:  '',
customField: '20120127-125349'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '61301',
internalId:  '',
customField: '20120214-141304'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '62501',
internalId:  '',
customField: '20120130-130307'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '63401',
internalId:  '',
customField: '20120131-082752'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '64401',
internalId:  '',
customField: '20120130-134444'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '65601',
internalId:  '',
customField: '20120130-140846'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '67501',
internalId:  '',
customField: '20120130-133740'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '68601',
internalId:  '',
customField: '20120130-140715'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '71401',
internalId:  '',
customField: '20120202-110614'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '73001',
internalId:  '',
customField: '20120215-143043'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '81001',
internalId:  '',
customField: '20120214-142223'
};
var canonHostname = 'eul0300556.eu.verio.net';
var accountId     = 'ANTTE0INX2X1';
var companyName   = 'INGENIER%C3%8DA+DEL+AGUA+Y+LA+ENERG%C3%8DA%2C+INAGEN%2C+S.+L.';
var htmlTitle	  = 'INAGEN';
var metaKeywords  = 'Banco%2C+ensayo%2C+bombas%2C+hidraulicas%2C+inagen%2C+ingenieria%2C+agua%2C+energia%2C+compuerta%2C+compuertas%2C+bureau%2C+toma%2C+tomas%2C+flotante%2C+flotantes%2C+bomba%2C+bombas%2C+sumergible%2C+sumergibles%2C+ataguia%2C+ataguias%2C+taintor%2C+valvula%2C+filtro%2C+filtros%2C+rotativo%2C+rotativos%2C+valvulas%2C+howell%2C+bunger%2C+chorro%2C+hueco%2C+presa%2C+presas%2C+radial%2C+oleohidraulica%2C+inoxidable%2C+acero%2C+estructura%2C+taller%2C+reparacion%2C+banco%2C+ensayo%2C+caudalimetro%2C+variador%2C+frecuencia%2C+epdm%2C+tornilleria%2C+motor%2C+grupo%2C+electrogeno%2C+accionamiento%2C+husillo%2C+cilindro%2C+carrera%2C+dos+hermanas%2C+sevilla%2C+desague%2C+fondo%2C+intermedio%2C+torre%2C+estanqueidad%2C+obturacion%2C+junta%2C+juntas%2C+caldereria%2C+indar%2C+worthington%2C+franklin%2C+emu%2C+wilo%2C+siemens%2C+abb%2C+saer%2C+saci%2C+flowserve%2C+abs%2C+flygt%2C+itt%2C+itur%2C+barandilla%2C+barandillas';
var metaContents  = 'Proveedor+y+fabricante+de+equipos+hidraulicos%2C+con+taller+de+reparacion+y+mantenimiento+de+bombas.+Obtencion+del+rendimiento+y+otros+parametros+de+las+bombas+en+nuestro+banco+de+ensayos.+';
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();
};

