//todo lo que viene a continuación debería meterse en un .js aparte y ser enlazado desde todas las páginas del sitio
/*
VCHmacro('','','','');
*/

VCHmacro('_inicio','Home','','');
	VCHmacro('_bienvenido','Welcome','bienvenido.hps','');
	VCHmacro('_historico','Press log','historicodeactualidad.hps','');

VCHmacro('_conocenos','About us','','');
	VCHmacro('_historia','History','historia.hps','');
		VCHmacro('_historiacrea','Hunosa is born, the public mining enterprise','','');
			VCHmacro('_historiacrea_antecedentes','Background','historia_creacion_antecedentes.hps','');
			VCHmacro('_historiacrea_creacion','Creation','historia_creacion_creacion.hps','');
		VCHmacro('_historiasetenta','The 70s: hard years','','');
			VCHmacro('_historia70iplan','1st restructuring plan','historia_70_iplan.hps','');
			VCHmacro('_historia70revision','1975-1979 Approved action review','historia_70_revision.hps','');
		VCHmacro('_historiaochenta','Program contracts. Concerted Planification','','');
			VCHmacro('_historia80_1','First programme contract: 1981-1983','historia_80_1.hps','');
			VCHmacro('_historia80_2','Second programme contract: 1984-1986','historia_80_2.hps','');
			VCHmacro('_historia80_3','Future plan and third programme contract: 1987-1990','historia_80_3.hps','');
		VCHmacro('_historianoventa','The nineties','','');
			VCHmacro('_historia90_1','1st business plan (1991-1993) and 4th programme contract','historia_90_1.hps','');
			VCHmacro('_historia90_2','2nd business plan (1994-1997) and 5th programme contract','historia_90_2.hps','');
			VCHmacro('_historia90_3','Business plan and collective bargaining agreement (1998-2001)','historia_90_3.hps','');
		VCHmacro('_historiapresente','Present and Future','','');
			VCHmacro('_historiapresente_1','Present and future (I)','historia_presente_1.hps','');
			VCHmacro('_historiapresente_2','Present and future (II)','historia_presente_2.hps','');
	VCHmacro('_organizacion','Organisation','','');
		VCHmacro('_organizacionpagina','Organisation','organizacion.hps','');
		VCHmacro('_organigrama','Organizational chart','organigrama.hps','');
		VCHmacro('_organiconsejo','Board of directors','organizacionconsejo.hps','');
	VCHmacro('_plantilla','Workforce and Production by Areas','plantilla.hps','');
			VCHmacro('_plantillazonacaudal','El Caudal area','','');
				VCHmacro('_plantilla_caudal','Zone of El Caudal','plantillazonacaudal.hps','');
				VCHmacro('_plantilla_sannicolas','San Nicolás','plantillasannicolas.hps','');
				VCHmacro('_plantilla_monsacro','Monsacro','plantillamonsacro.hps','');
				VCHmacro('_plantilla_figaredo','Figaredo','plantillafigaredo.hps','');
				VCHmacro('_plantilla_aller','Aller','plantillaaller.hps','');
				VCHmacro('_plantilla_batan','Batán','plantillabatan.hps','');
			VCHmacro('_plantillazonanalon','El Nalón area','','');
				VCHmacro('_plantilla_nalon','Zona of the Nalón','plantillazonanalon.hps','');
				VCHmacro('_plantilla_marialuisa','María Luisa','plantillamarialuisa.hps','');
				VCHmacro('_plantilla_candin','Candín','plantillacandin.hps','');
				VCHmacro('_plantilla_soton','Sotón','plantillasoton.hps','');
				VCHmacro('_plantilla_carrio','Carrio','plantillacarrio.hps','');
				VCHmacro('_plantilla_modesta','Modesta','plantillamodesta.hps','');
			VCHmacro('_plantillazonatermica','La Pereda Thermal Power Plant','','');
				VCHmacro('_plantilla_termica','La Pereda Thermal Power Plant','plantillatermica.hps','');

VCHmacro('_formacion','Training','','');
	VCHmacro('_formacionhunosa','Hunosa training','formacionhunosa.hps','');
	VCHmacro('_directoriodecursos','Course directory','directoriodecursos.hps','');
		VCHmacro('_formacion_prevencion','Prevention','formacionprevencion.hps','');
		VCHmacro('_formacion_mantenimiento','Maintenance','formacionmantenimiento.hps','');
		VCHmacro('_formacion_explotacion','Explotation','formacionexplotacion.hps','');
		VCHmacro('_formacion_medioambiente','Enviromental techniques','formacionmedioambiente.hps','');
		VCHmacro('_formacion_gestion','Management and administration','formaciongestion.hps','');
		VCHmacro('_formacion_teleformacion','Teleformation','formacionteleformacion.hps','');
		VCHmacro('_formacion_apoyo','Support programs','formacionapoyo.hps','');
	VCHmacro('_oferta_servicios','Range of services','ofertadeservicios.hps','');
		VCHmacro('_oferta_formativa','Range of training activities','','');
			VCHmacro('_oferta_prevencionriesgos','Working risks prevention','ofertaprevencionriesgos.hps','');
			VCHmacro('_oferta_mantenimiento','Maintenance','ofertamantenimiento.hps','');
			VCHmacro('_oferta_explotacion','Explotation','ofertaexplotacion.hps','');
			VCHmacro('_oferta_medioambiente','Enviromental techniques','ofertamedioambiental.hps','');
			VCHmacro('_oferta_gestion','Administration and management techniques','ofertagestion.hps','');
		VCHmacro('_serviciosdeconsultoria','Training and consulting services','','');
			VCHmacro('_servicios_aula','Enterprise Future Classroom','serviciosaula.hps','');
			VCHmacro('_servicios_atex','Explosive atmospheres','serviciosatex.hps','');
			VCHmacro('_servicios_ventilacion','Civil building venting','serviciosventilacion.hps','');
			VCHmacro('_servicios_otros','Other management services','serviciosotros.hps','');
	
	VCHmacro('_novedades','News','novedades.hps','');

VCHmacro('_diversificacion','Diversification','','');
	VCHmacro('_diversificacionpagina','Diversification','diversificacion.hps','');

//
VCHmacro('_mapaweb','mapaweb.hps','','');
//VCHmacro('_','','','');

VCHroot.ad(_inicio,_conocenos,_formacion,_diversificacion);
	_inicio.ad(_bienvenido,_historico);	
	_conocenos.ad(_historia,_organizacion,_plantilla);
		_historia.ad(_historiacrea,_historiasetenta,_historiaochenta,_historianoventa,_historiapresente);
			_historiacrea.ad(_historiacrea_antecedentes,_historiacrea_creacion);
			_historiasetenta.ad(_historia70iplan,_historia70revision);
			_historiaochenta.ad(_historia80_1,_historia80_2,_historia80_3);
			_historianoventa.ad(_historia90_1,_historia90_2,_historia90_3);
			_historiapresente.ad(_historiapresente_1,_historiapresente_2);
		_plantilla.ad(_plantillazonacaudal,_plantillazonanalon,_plantillazonatermica);
			_plantillazonacaudal.ad(_plantilla_caudal,_plantilla_sannicolas,_plantilla_monsacro,_plantilla_figaredo,_plantilla_aller,_plantilla_batan);
			_plantillazonanalon.ad(_plantilla_nalon,_plantilla_marialuisa,_plantilla_candin,_plantilla_soton,_plantilla_carrio,_plantilla_modesta);
			_plantillazonatermica.ad(_plantilla_termica);
		_organizacion.ad(_organizacionpagina,_organigrama,_organiconsejo);
	_formacion.ad(_formacionhunosa,_directoriodecursos,_oferta_servicios,_novedades);
		_directoriodecursos.ad(_formacion_prevencion,_formacion_mantenimiento,_formacion_explotacion,_formacion_medioambiente,_formacion_gestion,_formacion_teleformacion, _formacion_apoyo);
		_oferta_servicios.ad(_oferta_formativa,_serviciosdeconsultoria);
			_oferta_formativa.ad(_oferta_prevencionriesgos,_oferta_mantenimiento,_oferta_explotacion,_oferta_medioambiente,_oferta_gestion);
			_serviciosdeconsultoria.ad(_servicios_aula,_servicios_atex,_servicios_ventilacion,_servicios_otros);
	_diversificacion.ad(_diversificacionpagina);

//seleccionamos el menú que queremos esté activo en cada página: esto debería cambiar según la página
	_inicio.activar();
// o alternativamente, activar el item a partir del análisis de la URL de la página, siempre que la defina unívocamente
//	VCHactivarSegunURL();

