
var defOver = '#ffffe7', defBack = '#ffffe7', defMenuOver= '#ff6600', selectedBack = '#C7D5EA';
var defLength = 18;
//menu scroll
var ancho = 180 //anchura del cuadro
var alto = 120 //altura del cuadro
var marco = 1 //0 para que notenga marco (borde)
var fondo = '#FFFFCC' //color de fondo del cuadro
var pausilla = 2000 //tiempo de la pausa en milisegundos (2000 = 2 segundos)
var destino = "_blank" //target en donde se quiera que se carguen los enlaces, en caso de usarlos.
var cursor = "default;"  //cursor que se quiera sobre el cuadro
var colTitular = '#000066' //color del texto del titular
var colTexto = '#999999' // color del texto de la noticia
var colFecha = '#3399FF' //color del texto de la fecha
var colEnlace = '#660000' //color del texto del enlace
var fuente = "arial" //fuente para los textos 
var tamTitular = '12' //tamaño de la fuente del titular
var tamTexto = '10' //tamaño de la fuente del texto de la noticia
var tamFecha = '10' // tamaño de la fuente de la fecha
var tamEnlace = '10' // tamaño de la fuente del enlace 
var masInfo = true //Determina si se usa o no el enlace. true para usarlo. false para omitirlo
var poneFecha = true //true para poner fecha. false para omitirla. Si no se quiere fecha, dejar las comillas vacías ""

function noticia(titular,texto,fecha,enlace,destino)
	{
	this.titular = titular
	this.texto = texto
	this.fecha= fecha
	this.enlace = enlace
	this.destino = destino
	}
var noticias = new Array()

noticias[0]= new noticia("PHT","Plan Hidrológico de Tenerife (Avance)","04/05/2010","http://www.planhidrologicodetenerife.org","_blank")
noticias[1]= new noticia("PDA","Plan de Defensa frente Avenidas","04/05/2010","8_PDA/Avance_Noviembre/Introduccion.html","_blank")
noticias[2]= new noticia("Gesta","Gestión Insular de Aguas de Tenerife","04/05/2010","/10_GESTA/Introduccion.html","_blank")

var det = false
function escribe(){
document.write ('<div id="mami" style="width:' + ancho + '; height:' + alto + 'px; position:relative;  overflow:hidden ">')
document.write('<table bgcolor="' + fondo + '" border = "' + marco + '" width="' + ancho + '" height="100%" " bordercolor="#000066" ><tr><td valign="top">')
document.write ('<div id="uno"  style="top:' + alto +'; width:' + ancho + ' height:' + alto + 'px;  ">')
document.write ('<div class="titular">')
document.write (noticias[0].titular)
document.write ('</div>')
document.write ('<div class="fecha">')
document.write (noticias[0].fecha)
document.write ('</div>')
document.write ('<div class="texto">')
document.write (noticias[0].texto)
document.write ('</div>')
if(masInfo == true){
	document.write ('<a class="enlace" href="')
	document.write (noticias[0].enlace)
	document.write ('" target="' + destino + '">más información...</a>')
	}
document.write ('</div>')
document.write ('<div id="dos" bordercolor="#000066" style="top:' + (alto*2) +'; width:' + ancho + ' height:' + alto + 'px; ">')
document.write ('<div class="titular">')
document.write (noticias[1].titular)
document.write ('</div>')
document.write ('<div class="fecha">')
document.write (noticias[1].fecha)
document.write ('</div>')
document.write ('<div class="texto">')
document.write (noticias[1].texto)
document.write ('</div>')
if(masInfo == true){
	document.write ('<a class="enlace" href="')
	document.write (noticias[1].enlace)
	document.write ('" target = "' + destino + '">más información...</a>')
	}
document.write ('</div>')
document.write('</td></tr></table>')
document.write ('</div>')
if(navigator.appName == "Netscape")
{altoUno = document.getElementById('uno').offsetHeight}
else
{altoUno = document.getElementById('uno').clientHeight}
document.getElementById('uno').onmouseover =function(){
	det = true
	clearTimeout(tiempo)
	}
document.getElementById('uno').onmouseout =function(){
	det = false;
	clearTimeout(tiempo)
	escrolea()
	}

document.getElementById('dos').onmouseover =function(){
	det = true
	clearTimeout(tiempo)
	}
document.getElementById('dos').onmouseout =function(){
	det = false;
	clearTimeout(tiempo)
	 escrolea()
	 
	}
}
desp = 1
var cont = 1
var pos,pos2
function escrolea(){
pos = document.getElementById('uno').style.top
pos = pos.replace(/px/,"");
pos = pos.replace(/pt/,"");
pos = new Number(pos);
pos2 = document.getElementById('dos').style.top
pos2 = pos2.replace(/px/,"");
pos2 = pos2.replace(/pt/,"");
pos2 = new Number(pos2);
pos -= desp
pos2 -= desp

if (pos == desp){
	var contenidos = ""
	document.getElementById('dos').style.top = alto
	document.getElementById('dos').childNodes[0].firstChild.nodeValue  = noticias[cont].titular
	if(poneFecha == true){
	document.getElementById('dos').childNodes[1].firstChild.nodeValue  = noticias[cont].fecha
	}
	document.getElementById('dos').childNodes[2].firstChild.nodeValue  = noticias[cont].texto
	if(masInfo == true){
		document.getElementById('dos').childNodes[3].href = noticias[cont].enlace 
	}
	document.getElementById('uno').style.top = 0
	if(cont == noticias.length-1)
		{cont=0}
	else{
		cont++
		}
	pausa()
	return false
	}
else{
	if (pos2 == desp){
		var contenidos = ""
		document.getElementById('uno').style.top = alto
		document.getElementById('uno').childNodes[0].firstChild.nodeValue  = noticias[cont].titular
		if(poneFecha == true){
		document.getElementById('uno').childNodes[1].firstChild.nodeValue  = noticias[cont].fecha
		}
		document.getElementById('uno').childNodes[2].firstChild.nodeValue  = noticias[cont].texto
		if(masInfo == true){
		document.getElementById('uno').childNodes[3].href  = noticias[cont].enlace
		}
		document.getElementById('dos').style.top = 0
		if(cont == noticias.length-1)
		{cont=0}
	else{
		cont++
		}
		pausa()
		return false
		}
	else{
		document.getElementById('uno').style.top = pos
		document.getElementById('dos').style.top = pos2
		}
	}
tiempo = window.setTimeout('escrolea()',50)
}
var tiempo
function pausa()
{
clearTimeout(tiempo)
if (det == false){
	tiempo = setTimeout ('continuar()',2000)
	}
}
function continuar()
{
if(det == false)
	{escrolea()}
}

document.write('<style type="text/css">')
document.write ('#uno {')
document.write ('color: #006699;')
if(cursor == "pointer" || cursor == "hand"){
cursor = (navigator.appName == "Netscape")?'pointer;':'hand;';
}
document.write ('cursor:' + cursor + ";")
document.write ('position:absolute;}')
document.write ('#dos {')
document.write ('color: #006699;')
document.write ('cursor:' + cursor + ";")
document.write ('position:absolute;}')
document.write ('.titular{')
document.write ('color:' + colTitular +';')
document.write ('font-family:' + fuente + ';')
document.write ('font-size :' + tamTitular + ';font-weight:bold}')
document.write ('.texto{')
document.write ('color:' + colTexto + ';')
document.write ('font-family:' + fuente + ';')
document.write ('font-size:' + tamTexto + ';}')
if(poneFecha == true){
document.write ('.fecha{')
document.write ('color:' + colFecha +';')
document.write ('font-family:' + fuente + ';')
document.write ('font-size :' + tamFecha + ';font-weight:bold}')
}
else{
document.write ('.fecha{display: none;}')
}
document.write ('.enlace{')
document.write ('color:' + colEnlace + ';')
document.write ('font-family:' + fuente + ';')
document.write ('font-size:' + tamEnlace + ';}')
document.write ('</style>')


//Fin menu Scroll


function buildMenu(origen, selectedItem) {
	origenPath = origen.split("/");
	menuBar = new MenuBar('<img src="' + NIV_getRelativePath(origenPath , 'flecha_menu.gif') + '" width="4" height="17">', 500);
	var subsubmenu = new Array();
	var menu = new Menu(false, '', 48, 48, 26, defMenuOver, defBack, 'itemMenuBorder', 'itemMenuText');
	menuBar.addMenu(menu);
	var submenu1 = new Menu(true, '>', 0, 25, 155, defOver, defBack, 'itemBorder', 'itemText');
	submenu1.setBorders(NIV_getRelativePath(origenPath, '/imagenes/superior/menu/submenu/linea_superior.gif'), NIV_getRelativePath(origenPath, '/imagenes/superior/menu/submenu/linea_inferior.gif'), NIV_getRelativePath(origenPath, '/imagenes/superior/menu/submenu/borde_izquierda.gif'), NIV_getRelativePath(origenPath, '/imagenes/superior/menu/submenu/borde_derecha.gif'), NIV_getRelativePath(origenPath, '/imagenes/superior/menu/submenu/esquina_super_derecha.gif'), NIV_getRelativePath(origenPath, '/imagenes/superior/menu/submenu/esquina_super_izquierda.gif'), NIV_getRelativePath(origenPath, '/imagenes/superior/menu/submenu/esquina_inferior_izquierda.gif'), NIV_getRelativePath(origenPath, '/imagenes/superior/menu/submenu/esquina_inferior_derecha.gif'), 5, 5, 5, 5);
	menuBar.addMenu(submenu1);
	submenu1.addItem(new Item('Presentaci&oacute;n', NIV_getRelativePath(origenPath, '/1_consejoinsular/index.html'), '', defLength, -1, null ));
	submenu1.addItem(new Item('Competencias', NIV_getRelativePath(origenPath, '/1_consejoinsular/1_2.html'), '', defLength, -1, null ));
	submenu1.addItem(new Item('Organigrama', NIV_getRelativePath(origenPath, '/1_consejoinsular/1_3.html'), '', defLength, -1, null ));
	submenu1.addItem(new Item('Presupuestos', NIV_getRelativePath(origenPath, '/1_consejoinsular/1_4.html'), '', defLength, -1, null ));
	submenu1.addItem(new Item('Actividades Realizadas', NIV_getRelativePath(origenPath, '/1_consejoinsular/1_5.html'), '', defLength, -1, null ));	
	
	var submenu2 = new Menu(true, '>',0, 25, 162, defOver, defBack, 'itemBorder', 'itemText');
	submenu2.setBorders(NIV_getRelativePath(origenPath, '/imagenes/superior/menu/submenu/linea_superior.gif'), NIV_getRelativePath(origenPath, '/imagenes/superior/menu/submenu/linea_inferior.gif'), NIV_getRelativePath(origenPath, '/imagenes/superior/menu/submenu/borde_izquierda.gif'), NIV_getRelativePath(origenPath, '/imagenes/superior/menu/submenu/borde_derecha.gif'), NIV_getRelativePath(origenPath, '/imagenes/superior/menu/submenu/esquina_super_derecha.gif'), NIV_getRelativePath(origenPath, '/imagenes/superior/menu/submenu/esquina_super_izquierda.gif'), NIV_getRelativePath(origenPath, '/imagenes/superior/menu/submenu/esquina_inferior_izquierda.gif'), NIV_getRelativePath(origenPath, '/imagenes/superior/menu/submenu/esquina_inferior_derecha.gif'), 5, 5, 5, 5);
	menuBar.addMenu(submenu2);
	submenu2.addItem(new Item('Introducci&oacute;n', NIV_getRelativePath(origenPath, '/2_planhidrologico/index.html'), '', defLength, -1, null ));
	submenu2.addItem(new Item('Memoria', NIV_getRelativePath(origenPath, '/2_planhidrologico/2_1_1.html'), '', defLength, -1, null ));
	submenu2.addItem(new Item('Documentaci&oacute;n Gr&aacute;fica', NIV_getRelativePath(origenPath, '/2_planhidrologico/2_3.html'), '', defLength, -1, null ));
	submenu2.addItem(new Item('Normas', NIV_getRelativePath(origenPath, '/2_planhidrologico/2_2_1.html'), '', defLength, -1, null ));
	submenu2.addItem(new Item('Programas de Actuaci&oacute;n', NIV_getRelativePath(origenPath, '/2_planhidrologico/2_5.html'), '', defLength, -1, null ));	
	submenu2.addItem(new Item('V&iacute;deos', NIV_getRelativePath(origenPath, '/2_planhidrologico/3.html'), '', defLength, -1, null ));

	var submenu3 = new Menu(true, '>', 0, 25, 255, defOver, defBack, 'itemBorder', 'itemText');
	submenu3.setBorders(NIV_getRelativePath(origenPath, '/imagenes/superior/menu/submenu/linea_superior.gif'), NIV_getRelativePath(origenPath, '/imagenes/superior/menu/submenu/linea_inferior.gif'), NIV_getRelativePath(origenPath, '/imagenes/superior/menu/submenu/borde_izquierda.gif'), NIV_getRelativePath(origenPath, '/imagenes/superior/menu/submenu/borde_derecha.gif'), NIV_getRelativePath(origenPath, '/imagenes/superior/menu/submenu/esquina_super_derecha.gif'), NIV_getRelativePath(origenPath, '/imagenes/superior/menu/submenu/esquina_super_izquierda.gif'), NIV_getRelativePath(origenPath, '/imagenes/superior/menu/submenu/esquina_inferior_izquierda.gif'), NIV_getRelativePath(origenPath, '/imagenes/superior/menu/submenu/esquina_inferior_derecha.gif'), 5, 5, 5, 5);
	menuBar.addMenu(submenu3);
	submenu3.addItem(new Item('Introducci&oacute;n', NIV_getRelativePath(origenPath, '/3_infraestructuras/index.html'), '', defLength, -1, null ));
	submenu3.addItem(new Item('Obras de inter&eacute;s General de la Naci&oacute;n', NIV_getRelativePath(origenPath, '3_infraestructuras/3_1.html'), '', defLength, -1, null ));
	submenu3.addItem(new Item('Obras de inter&eacute;s Regional', NIV_getRelativePath(origenPath, '/3_infraestructuras/3_2.html'), '', defLength, -1, null ));
	submenu3.addItem(new Item('Obras de inter&eacute;s Insular', NIV_getRelativePath(origenPath, '/3_infraestructuras/3_3.html'), '', defLength, -1, null ));
	submenu3.addItem(new Item('Explotaci&oacute;n y Gesti&oacute;n de Infraestructuras', NIV_getRelativePath(origenPath, '/3_infraestructuras/3_4.html'), '', defLength, -1, null ));	

	var submenu4 = new Menu(true, '>', 0, 25, 235, defOver, defBack, 'itemBorder', 'itemText');
	submenu4.setBorders(NIV_getRelativePath(origenPath, '/imagenes/superior/menu/submenu/linea_superior.gif'), NIV_getRelativePath(origenPath, '/imagenes/superior/menu/submenu/linea_inferior.gif'), NIV_getRelativePath(origenPath, '/imagenes/superior/menu/submenu/borde_izquierda.gif'), NIV_getRelativePath(origenPath, '/imagenes/superior/menu/submenu/borde_derecha.gif'), NIV_getRelativePath(origenPath, '/imagenes/superior/menu/submenu/esquina_super_derecha.gif'), NIV_getRelativePath(origenPath, '/imagenes/superior/menu/submenu/esquina_super_izquierda.gif'), NIV_getRelativePath(origenPath, '/imagenes/superior/menu/submenu/esquina_inferior_izquierda.gif'), NIV_getRelativePath(origenPath, '/imagenes/superior/menu/submenu/esquina_inferior_derecha.gif'), 5, 5, 5, 5);
	menuBar.addMenu(submenu4);
	submenu4.addItem(new Item('Hidrometereolog&iacute;a', NIV_getRelativePath(origenPath, '/4_tfeyelagua/4_1_hidrometeorologia/4_1_1.html'), '', defLength, -1, null ));
	submenu4.addItem(new Item('Red Hidrogr&aacute;fica', NIV_getRelativePath(origenPath, '/4_tfeyelagua/4_2_redhidrografica/4_2_1.html'), '', defLength, -1, null ));
	submenu4.addItem(new Item('Hidrogeolog&iacute;a', NIV_getRelativePath(origenPath, '/4_tfeyelagua/4_3_1.html'), '', defLength, -1, null ));
	submenu4.addItem(new Item('Calidad del Agua', NIV_getRelativePath(origenPath, '/4_tfeyelagua/4_9_calidaddelagua/4_9_1.html'), '', defLength, -1, null ));
	submenu4.addItem(new Item('Datos Econ&oacute;micos  del Agua en la isla', NIV_getRelativePath(origenPath, '/4_tfeyelagua/4_10_datoseconomicos/4_10_1.html'), '', defLength, -1, null ));
	submenu4.addItem(new Item('Mapas', NIV_getRelativePath(origenPath, '/4_tfeyelagua/4_12.html'), '', defLength, -1, null ));

	var submenu5 = new Menu(true, '>', 0, 25, 165, defOver, defBack, 'itemBorder', 'itemText');
	submenu5.setBorders(NIV_getRelativePath(origenPath, '/imagenes/superior/menu/submenu/linea_superior.gif'), NIV_getRelativePath(origenPath, '/imagenes/superior/menu/submenu/linea_inferior.gif'), NIV_getRelativePath(origenPath, '/imagenes/superior/menu/submenu/borde_izquierda.gif'), NIV_getRelativePath(origenPath, '/imagenes/superior/menu/submenu/borde_derecha.gif'), NIV_getRelativePath(origenPath, '/imagenes/superior/menu/submenu/esquina_super_derecha.gif'), NIV_getRelativePath(origenPath, '/imagenes/superior/menu/submenu/esquina_super_izquierda.gif'), NIV_getRelativePath(origenPath, '/imagenes/superior/menu/submenu/esquina_inferior_izquierda.gif'), NIV_getRelativePath(origenPath, '/imagenes/superior/menu/submenu/esquina_inferior_derecha.gif'), 5, 5, 5, 5);
	menuBar.addMenu(submenu5);
	submenu5.addItem(new Item('V&iacute;deos Divulgativos', NIV_getRelativePath(origenPath, '/5_educayforma/5_1.html'), '', defLength, -1, null ));
	submenu5.addItem(new Item('Ponencias y Documentos', NIV_getRelativePath(origenPath, '/5_educayforma/5_2.html'), '', defLength, -1, null ));
	
	var submenu6 = new Menu(true, '>', 0, 25, 325, defOver, defBack, 'itemBorder', 'itemText');
	submenu6.setBorders(NIV_getRelativePath(origenPath, '/imagenes/superior/menu/submenu/linea_superior.gif'), NIV_getRelativePath(origenPath, '/imagenes/superior/menu/submenu/linea_inferior.gif'), NIV_getRelativePath(origenPath, '/imagenes/superior/menu/submenu/borde_izquierda.gif'), NIV_getRelativePath(origenPath, '/imagenes/superior/menu/submenu/borde_derecha.gif'), NIV_getRelativePath(origenPath, '/imagenes/superior/menu/submenu/esquina_super_derecha.gif'), NIV_getRelativePath(origenPath, '/imagenes/superior/menu/submenu/esquina_super_izquierda.gif'), NIV_getRelativePath(origenPath, '/imagenes/superior/menu/submenu/esquina_inferior_izquierda.gif'), NIV_getRelativePath(origenPath, '/imagenes/superior/menu/submenu/esquina_inferior_derecha.gif'), 5, 5, 5, 5);
	menuBar.addMenu(submenu6);
	submenu6.addItem(new Item('PDA', NIV_getRelativePath(origenPath, '/8_PDA/Prologo.html'), '', defLength, -1, null ));
	submenu6.addItem(new Item('Jornadas divulgativas: Directiva Marco de Aguas', NIV_getRelativePath(origenPath, '/dma2007/dma2007.htm'), '', defLength, -1, null ));
	submenu6.addItem(new Item('Perfil de contratante', NIV_getRelativePath(origenPath, '/7_guiadelciudadano/7_1_PerfilContratante/7_1.html'), '', defLength, -1, null ));
	submenu6.addItem(new Item('Expo Zaragoza 2008', NIV_getRelativePath(origenPath, '/ExpoZaragoza2008/1-1TRIPTICO EXPO08.pdf'), '', defLength, -1, null ));
	submenu6.addItem(new Item('Perfil de contratante', NIV_getRelativePath(origenPath, '/7_guiadelciudadano/7_1_PerfilContratante/7_1.html'), '', defLength, -1, null ));
	submenu6.addItem(new Item('Expo Zaragoza 2008', NIV_getRelativePath(origenPath, '/ExpoZaragoza2008/1-1TRIPTICO EXPO08.pdf'), '', defLength, -1, null ));
	submenu6.addItem(new Item('Censo provisional de Galerías y Pozos', NIV_getRelativePath(origenPath, '/9_OCAS/9_1.html'), '', defLength, -1, null ));
	
	var submenu7 = new Menu(true, '>', 0, 25, 150, defOver, defBack, 'itemBorder', 'itemText');
	submenu7.setBorders(NIV_getRelativePath(origenPath, '/imagenes/superior/menu/submenu/linea_superior.gif'), NIV_getRelativePath(origenPath, '/imagenes/superior/menu/submenu/linea_inferior.gif'), NIV_getRelativePath(origenPath, '/imagenes/superior/menu/submenu/borde_izquierda.gif'), NIV_getRelativePath(origenPath, '/imagenes/superior/menu/submenu/borde_derecha.gif'), NIV_getRelativePath(origenPath, '/imagenes/superior/menu/submenu/esquina_super_derecha.gif'), NIV_getRelativePath(origenPath, '/imagenes/superior/menu/submenu/esquina_super_izquierda.gif'), NIV_getRelativePath(origenPath, '/imagenes/superior/menu/submenu/esquina_inferior_izquierda.gif'), NIV_getRelativePath(origenPath, '/imagenes/superior/menu/submenu/esquina_inferior_derecha.gif'), 5, 5, 5, 5);
	menuBar.addMenu(submenu7);
	submenu7.addItem(new Item('Introducción', NIV_getRelativePath(origenPath,'/7_guiadelciudadano/7_2_ParticipacionPublica/7_2_1_Introduccion/Introduccion.html'), '', defLength, -1, null ));
	submenu7.addItem(new Item('Información pública', NIV_getRelativePath(origenPath, '/7_guiadelciudadano/7_2_ParticipacionPublica/7_2_2_DocumentosInformacion/Introduccion.html'), '', defLength, -1, null ));
	submenu7.addItem(new Item('Consulta pública', NIV_getRelativePath(origenPath, '/7_guiadelciudadano/7_2_ParticipacionPublica/7_2_3_DocumentosConsulta/Introduccion.html'), '', defLength, -1, null ));
	submenu7.addItem(new Item('Participación activa', NIV_getRelativePath(origenPath, '/7_guiadelciudadano/7_2_ParticipacionPublica/7_2_4_ParticipacionActiva/7_2_4_1.html'), '', defLength, -1, null ));

	var submenu8 = new Menu(true, '>', 0, 25, 200, defOver, defBack, 'itemBorder', 'itemText');
	submenu8.setBorders(NIV_getRelativePath(origenPath, '/imagenes/superior/menu/submenu/linea_superior.gif'), NIV_getRelativePath(origenPath, '/imagenes/superior/menu/submenu/linea_inferior.gif'), NIV_getRelativePath(origenPath, '/imagenes/superior/menu/submenu/borde_izquierda.gif'), NIV_getRelativePath(origenPath, '/imagenes/superior/menu/submenu/borde_derecha.gif'), NIV_getRelativePath(origenPath, '/imagenes/superior/menu/submenu/esquina_super_derecha.gif'), NIV_getRelativePath(origenPath, '/imagenes/superior/menu/submenu/esquina_super_izquierda.gif'), NIV_getRelativePath(origenPath, '/imagenes/superior/menu/submenu/esquina_inferior_izquierda.gif'), NIV_getRelativePath(origenPath, '/imagenes/superior/menu/submenu/esquina_inferior_derecha.gif'), 5, 5, 5, 5);
	menuBar.addMenu(submenu8);
	submenu8.addItem(new Item('Jovenes por el agua', NIV_getRelativePath(origenPath, '/JovenesAgua/jovenes.htm'), '', defLength, -1, null ));
	submenu8.addItem(new Item('Directiva marco de aguas 2007', NIV_getRelativePath(origenPath, '/dma2007/dma2007.htm'), '', defLength, -1, null ));
	submenu8.addItem(new Item('Educación ambiental 2007', NIV_getRelativePath(origenPath, '/cadagotauntesoro/index3.html'), '', defLength, -1, null ));


	// Items del menu principal
	menu.addItem(new ItemImage( NIV_getRelativePath(origenPath, '/imagenes/superior/menu/consejo_off.gif'),  NIV_getRelativePath(origenPath, '/imagenes/superior/menu/consejo_on.gif'), 'Consejo Insular', NIV_getRelativePath(origenPath, '/1_consejoinsular/index.html'), '', 95, 5, submenu1));
	menu.addItem(new ItemImage( NIV_getRelativePath(origenPath, '/imagenes/superior/menu/planhidrologico_off.gif'),  NIV_getRelativePath(origenPath, '/imagenes/superior/menu/planhidrologico_on.gif'), 'Plan Hidrológico', NIV_getRelativePath(origenPath, '/2_planhidrologico/index.html'), '', 95, 5, submenu2));
	menu.addItem(new ItemImage( NIV_getRelativePath(origenPath, '/imagenes/superior/menu/infraestructura_off.gif'), NIV_getRelativePath(origenPath,  '/imagenes/superior/menu/infraestructura_on.gif'), 'Infraestructuras', NIV_getRelativePath(origenPath, '/3_infraestructuras/index.html'), '', 99, 5, submenu3));
	menu.addItem(new ItemImage( NIV_getRelativePath(origenPath, '/imagenes/superior/menu/aguaentfe_off.gif'), NIV_getRelativePath(origenPath,  '/imagenes/superior/menu/aguaentfe_on.gif'), 'Tenerife y el agua', NIV_getRelativePath(origenPath, '/4_tfeyelagua/index.html'), '', 109, 5, submenu4));
	menu.addItem(new ItemImage( NIV_getRelativePath(origenPath, '/imagenes/superior/menu/educacionformacion_off.gif'),  NIV_getRelativePath(origenPath, '/imagenes/superior/menu/educacionformacion_on.gif'), 'Educación y formación', NIV_getRelativePath(origenPath, '/5_educayforma/index.html'), '', 134, 5, submenu5));
	menu.addItem(new ItemImage( NIV_getRelativePath(origenPath, '/imagenes/superior/menu/novedades_off.gif'),  NIV_getRelativePath(origenPath, '/imagenes/superior/menu/novedades_on.gif'), 'Novedades', NIV_getRelativePath(origenPath,'/sup.html'), '',76, 5, submenu6));
menu.addItem(new ItemImage( NIV_getRelativePath(origenPath, '/imagenes/superior/menu/PartiPub_off.gif'),  NIV_getRelativePath(origenPath, '/imagenes/superior/menu/PartiPub_on.gif'), 'Eventos', NIV_getRelativePath(origenPath,'/sup.html'), '', 121, 5, submenu7));
menu.addItem(new ItemImage( NIV_getRelativePath(origenPath, '/imagenes/superior/menu/eventos_off.gif'),  NIV_getRelativePath(origenPath, '/imagenes/superior/menu/eventos_on.gif'), 'Eventos', NIV_getRelativePath(origenPath,'/sup.html'), '', 61, 5, submenu8));
}