var mm1;
var mm2;
var mm3;
var mm4;
var fotoo;


function inicializar()
{
	if (navigator.appName == 'Netscape' && (e.which == 3 || e.which == 2))
	{
		mm1 = '';
		mm2 = '';
		mm3 = '';
		mm4 = '';
		return(true);
	}
	else
	{
		//mm1 = 'none';
		//mm2 = 'none';
		//mm3 = 'none';
		//mm4 = 'none';
		
		mm1 = '';
		mm2 = '';
		mm3 = '';
		mm4 = '';
	
	}
}



function inicializar1()
{
	if (navigator.appName == 'Netscape' && (e.which == 3 || e.which == 2))
	{
		mm1 = '';
		mm2 = '';
		mm3 = '';
		mm4 = '';
		return(true);
	}
	else
	{
		//mm1 = '';
		//mm2 = 'none';
		//mm3 = 'none';
		//mm4 = 'none';
		
		
		mm1 = '';
		mm2 = '';
		mm3 = '';
		mm4 = '';
	}
}



function inicializar2()
{
if (navigator.appName == 'Netscape' && (e.which == 3 || e.which == 2))
	{
		mm1 = '';
		mm2 = '';
		mm3 = '';
		mm4 = '';
	
		return(true);
	}
	else
	{
		//mm1 = 'none';
		//mm2 = '';
		//mm3 = 'none';
		//mm4 = 'none';
		
		mm1 = '';
		mm2 = '';
		mm3 = '';
		mm4 = '';
	
	}
}



function inicializar3()
{
	if (navigator.appName == 'Netscape' && (e.which == 3 || e.which == 2))
	{
		mm1 = '';
		mm2 = '';
		mm3 = '';
		mm4 = '';
	return(true);
	}
	else
	{
		//mm1 = 'none';
		//mm2 = 'none';
		//mm3 = '';
		//mm4 = 'none';
		
		mm1 = '';
		mm2 = '';
		mm3 = '';
		mm4 = '';
	
	}
}

function inicializar4()
{
	if (navigator.appName == 'Netscape' && (e.which == 3 || e.which == 2))
	{
		mm1 = '';
		mm2 = '';
		mm3 = '';
		mm4 = '';
	return(true);
	}
	else
	{
		//mm1 = 'none';
		//mm2 = 'none';
		//mm3 = 'none';
		//mm4 = '';
		
		mm1 = '';
		mm2 = '';
		mm3 = '';
		mm4 = '';
		
	}
}
//*****************************************************************************
function ventanaSecundaria (URL){ 
window.open(URL,"JEREZ","width=685, height=700, scrollbars=yes, menubar=no, location=no, resizable=yes");
} 

//*****************************************************************************
function SyA()
{
document.write('<tr>')
document.write('<td><span class="Situacion2">SERVICIOS:</span></td>')
document.write('</tr>')
document.write('<tr>')
document.write('<td>&nbsp;&nbsp;&nbsp;&nbsp;&#149; <span class="Textos_Contenidos_Azules"><a href="../serviciosyactividades/soto.htm" class="menuVertical">Res.Hdo de Soto</a> </span></td>')
document.write('</tr>')
document.write('<tr>')
document.write('<td>&nbsp;&nbsp;&nbsp;&nbsp;&#149; <span class="Textos_Contenidos_Azules"><a href="../serviciosyactividades/mayores.htm" class="menuVertical">Hogar de Mayores</a> </span></td>')
document.write('</tr>')
document.write('<tr>')
document.write('<td>&nbsp;&nbsp;&nbsp;&nbsp;&#149; <span class="Textos_Contenidos_Azules"><a href="../serviciosyactividades/mujer.htm" class="menuVertical">Telefono de la Mujer</a> </span></td>')
document.write('</tr>')
document.write('<tr>')
document.write('<td>&nbsp;&nbsp;&nbsp;&nbsp;&#149; <span class="Textos_Contenidos_Azules"><a href="../serviciosyactividades/teleasis.htm" class="menuVertical">Teleasistencia</a> </span></td>')
document.write('</tr>')
document.write('<tr>')
document.write('<td>&nbsp;&nbsp;&nbsp;&nbsp;&#149; <span class="Textos_Contenidos_Azules"><a href="../serviciosyactividades/servsoc.htm" class="menuVertical">Servicios Sociales</a> </span></td>')
document.write('</tr>')
document.write('<tr>')
document.write('<td>&nbsp;&nbsp;&nbsp;&nbsp;&#149; <span class="Textos_Contenidos_Azules"><a href="../serviciosyactividades/csalud.htm" class="menuVertical">Centro de Salud</a> </span></td>')
document.write('</tr>')
document.write('<tr>')
document.write('<td>&nbsp;&nbsp;&nbsp;&nbsp;&#149; <span class="Textos_Contenidos_Azules"><a href="../serviciosyactividades/spublica.htm" class="menuVertical">Salud Publica</a> </span></td>')
document.write('</tr>')
document.write('<tr>')
document.write('<td>&nbsp;&nbsp;&nbsp;&nbsp;&#149; <span class="Textos_Contenidos_Azules"><a href="../serviciosyactividades/omic.htm" class="menuVertical">O.M.I.C.</a> </span></td>')
document.write('</tr>')
document.write('<tr>')
document.write('<td>&nbsp;&nbsp;&nbsp;&nbsp;&#149; <span class="Textos_Contenidos_Azules"><a href="../serviciosyactividades/cocupac.htm" class="menuVertical">C.Ocupacional</a> </span></td>')
document.write('</tr>')
document.write('<tr>')
document.write('<td>&nbsp;&nbsp;&nbsp;&nbsp;&#149; <span class="Textos_Contenidos_Azules"><a href="../serviciosyactividades/croja.htm" class="menuVertical">Cruz Roja</a> </span></td>')
document.write('</tr>')
document.write('<tr>')
document.write('<td>&nbsp;&nbsp;&nbsp;&nbsp;&#149; <span class="Textos_Contenidos_Azules"><a href="../serviciosyactividades/bombero.htm" class="menuVertical">Bomberos</a> </span></td>')
document.write('</tr>')
document.write('<tr>')
document.write('<td>&nbsp;&nbsp;&nbsp;&nbsp;&#149; <span class="Textos_Contenidos_Azules"><a href="../serviciosyactividades/pollocal.htm" class="menuVertical">Policia Local</a> </span></td>')
document.write('</tr>')
document.write('<tr>')
document.write('<td>&nbsp;&nbsp;&nbsp;&nbsp;&#149; <span class="Textos_Contenidos_Azules"><a href="../serviciosyactividades/matadero.htm" class="menuVertical">Matadero Municipal</a> </span></td>')
document.write('</tr>')
document.write('<tr>')
document.write('<td>&nbsp;&nbsp;&nbsp;&nbsp;&#149; <span class="Textos_Contenidos_Azules"><a href="../serviciosyactividades/mancom.htm" class="menuVertical">Mancomunidad S.de Jerez</a> </span></td>')
document.write('</tr>')
document.write('<tr>')
document.write('<td>&nbsp;&nbsp;&nbsp;&nbsp;&#149; <span class="Textos_Contenidos_Azules"><a href="../serviciosyactividades/upim.htm" class="menuVertical">UPIM</a> </span></td>')
document.write('</tr>')
document.write('<tr>')
document.write('<td>&nbsp;&nbsp;&nbsp;&nbsp;&#149; <span class="Textos_Contenidos_Azules"><a href="../serviciosyactividades/dlocal.htm" class="menuVertical">Desarrollo Local</a></span></td>')
document.write('</tr>')
document.write('<tr>')
document.write('<td>&nbsp;&nbsp;&nbsp;&nbsp;&#149; <span class="Textos_Contenidos_Azules"><a href="../serviciosyactividades/ari.htm" class="menuVertical">ARI/PEPCH</a></span></td>')
document.write('</tr>')
document.write('<tr>')
document.write('<td><span class="Situacion2">ACTIVIDADES:</span></td>')
document.write('</tr>')
document.write('<tr>')
document.write('<td>&nbsp;&nbsp;&nbsp;&nbsp;&#149; <span class="Textos_Contenidos_Azules"><a href="../serviciosyactividades/upopul.htm" class="menuVertical">Universidad Popular</a> </span></td>')
document.write('</tr>')
document.write('<tr>')
document.write('<td>&nbsp;&nbsp;&nbsp;&nbsp;&#149; <span class="Textos_Contenidos_Azules"><a href="../serviciosyactividades/adeport.htm" class="menuVertical">Actividades Deportivas</a></span></td>')
document.write('</tr>')
document.write('<tr>')
document.write('<td>&nbsp;&nbsp;&nbsp;&nbsp;&#149; <span class="Textos_Contenidos_Azules"><a href="../serviciosyactividades/bibliot.htm" class="menuVertical">Biblioteca Municipal</a> </span></td>')
document.write('</tr>')
document.write('<tr>')
document.write('<td>&nbsp;&nbsp;&nbsp;&nbsp;&#149; <span class="Textos_Contenidos_Azules"><a href="../serviciosyactividades/oturismo.htm" class="menuVertical">Oficina de Turismo</a> </span></td>')
document.write('</tr>')
document.write('<tr>')
document.write('<td>&nbsp;&nbsp;&nbsp;&nbsp;&#149; <span class="Textos_Contenidos_Azules"><a href="../serviciosyactividades/emusica.htm" class="menuVertical">Escuela de M&uacute;sica</a></span></td>')
document.write('</tr>')
document.write('<tr>')
document.write('<td>&nbsp;&nbsp;&nbsp;&nbsp;&#149; <span class="Textos_Contenidos_Azules"><a href="../serviciosyactividades/ideport.htm" class="menuVertical">Instalac.Deportivas</a></span></td>')
document.write('</tr>')
document.write('<tr>')
document.write('<td>&nbsp;&nbsp;&nbsp;&nbsp;&#149; <span class="Textos_Contenidos_Azules"><a href="../serviciosyactividades/radiotv.htm" class="menuVertical">Radio/T.V.</a> </span></td>')
document.write('</tr>')
document.write('<tr>')
document.write('<td>&nbsp;&nbsp;&nbsp;&nbsp;&#149; <span class="Textos_Contenidos_Azules"><a href="../serviciosyactividades/cine.htm" class="menuVertical">Cine</a> </span></td>')
document.write('</tr>')
document.write('<tr>')
document.write('<td>&nbsp;&nbsp;&nbsp;&nbsp;&#149; <span class="Textos_Contenidos_Azules"><a href="../serviciosyactividades/piscina.htm" class="menuVertical">Piscina Municipal</a> </span></td>')
document.write('</tr>')
document.write('<tr>')
document.write('<td>&nbsp;&nbsp;&nbsp;&nbsp;&#149; <span class="Textos_Contenidos_Azules"><a href="../serviciosyactividades/archivo.htm" class="menuVertical">Archivo</a> </span></td>')
document.write('</tr>')
document.write('<tr>')
document.write('<td>&nbsp;&nbsp;&nbsp;&nbsp;&#149; <span class="Textos_Contenidos_Azules"><a href="../serviciosyactividades/infeje.htm" class="menuVertical">Infeje</a> </span></td>')
document.write('</tr>')
document.write('<tr>')
document.write('<td>&nbsp;&nbsp;&nbsp;&nbsp;&#149; <span class="Textos_Contenidos_Azules"><a href="../serviciosyactividades/circuito.htm" class="menuVertical">Circuito Educacion Vial</a> </span></td>')
document.write('</tr>')
document.write('<tr>')
document.write('<td>&nbsp;&nbsp;&nbsp;&nbsp;&#149; <span class="Textos_Contenidos_Azules"><a href="../serviciosyactividades/pij.htm" class="menuVertical">Centro Juvenil</a> </span></td>')
document.write('</tr>')
document.write('<tr>')
document.write('<td>&nbsp;&nbsp;&nbsp;&nbsp;&#149; <span class="Textos_Contenidos_Azules"><a href="../serviciosyactividades/tiro.htm" class="menuVertical">Cancha de Tiro</a> </span></td>')
document.write('</tr>')
document.write('<tr>')
document.write('<td>&nbsp;&nbsp;&nbsp;&nbsp;&#149; <span class="Textos_Contenidos_Azules"><a href="../serviciosyactividades/cross.htm" class="menuVertical">Circuito de Autocross</a> </span></td>')
document.write('</tr>')
document.write('<tr>')
document.write('<td>&nbsp;&nbsp;&nbsp;&nbsp;&#149; <span class="Textos_Contenidos_Azules"><a href="../serviciosyactividades/mercado.htm" class="menuVertical">Mercado de Abastos</a> </span></td>')
document.write('</tr>')
document.write('<tr>')
document.write('<td>&nbsp;&nbsp;&nbsp;&nbsp;&#149; <span class="Textos_Contenidos_Azules"><a href="../serviciosyactividades/autobus.htm" class="menuVertical">Autob&uacute;s Urbano</a> </span></td>')
document.write('</tr>')	

}
//*****************************************************************************
function ventanaTablon (URL,ancho,alto){ 
window.open(URL,"JEREZ","width="+ancho+", height="+alto+", scrollbars=yes, menubar=no, location=no, resizable=no") 
} 

//*****************************************************************************

function favoritos()
{
	window.external.AddFavorite('http://www.jerezdeloscaballeros.es','~~~ Jerez de los Caballeros ~~~');
}
//*****************************************************************************
function pie()
{
document.write('<table width="100%"  border="0" align="center" cellpadding="0" cellspacing="0">');
document.write('<tr>');
document.write(' <td height="1"><img src="img/pixelnegro.gif" width="100%" height="1"></td>');
document.write('</tr>');
document.write('<tr>');
document.write('<td align="center">Ayuntamiento de Jerez de los Caballeros, Badajoz (Espa&ntilde;a) @ 2008 </td>');
document.write('</tr>');       
document.write('</table>');
}
//*****************************************************************************
function menuarriba(profundidad)
{
document.write('<table  border="0" cellspacing="0" cellpadding="0">');
document.write('<tr>');
document.write('<td width="20" rowspan="2" bgcolor="#999999">&nbsp;</td>');
//document.write('<td bgcolor="#999999"><a href="#" class="menutop">Mapa</a> | <a href="#" onclick=favoritos() class="menutop">Favoritos</a> | <a href="mailto:concejaliadejerez@ayto.e.telefonica.net" class="menutop">Contacta</a> | <a href="http://miarroba.com/libros/leer.php?id=63943" target="_blank" class="menutop">Libro de Visitas</a> | <a href="http://jerezdeloscaballeros.foro.st" target="_blank" class="menutop">Foros</a> | <a href="'+profundidad+'htm/Ayuntamiento/tablon.htm" class="menutop" >Chat</a></td>');
//document.write('<td bgcolor="#999999"><a href="#" class="menutop">Mapa</a> | <a href="#" onclick=favoritos() class="menutop">Favoritos</a> | <a href="mailto:concejaliadejerez@ayto.e.telefonica.net" class="menutop">Contacta</a> | <a href="http://miarroba.com/libros/leer.php?id=63943" target="_blank" class="menutop">Libro de Visitas</a> | <a href="http://jerezdeloscaballeros.foro.st" target="_blank" class="menutop">Foros</a> </td>');
document.write('<td bgcolor="#999999"><a href="#" onclick=favoritos() class="menutop">Favoritos</a> | <a href="mailto:tenientealcalde.ayto@jerezdeloscaballeros.es,frosaromero@gmail.com" class="menutop">Contacta</a> | <a href="http://www.jerezdeloscaballeros.es/foros" target="_blank" class="menutop">Foros</a> </td>');
document.write('<td rowspan="2" valign="bottom"><img src="'+profundidad+'img/esquinag.gif" width="21" height="21"></td>');
document.write('</tr>');
document.write('<tr>');
document.write('<td bgcolor="#999999"><img src="'+profundidad+'img/pixelnegro.gif" width="100%" height="1"></td>');
document.write('</tr>');
document.write('</table>');
}
//*****************************************************************************
function galeriaabajo()
{
document.write('<td bgcolor="#336699">&nbsp;<span class="Amarillo">FESTIVAL TEMPLARIO: </span> <a href="TGaleria1.htm" class="menuInterior01"> &nbsp;Galeria 1 </a> |<a href="TGaleria2.htm" class="menuInterior01"> Galeria 2</a> |<a href="TGaleria3.htm" class="menuInterior01"> Galeria 3 </a>  |<a href="TGaleria4.htm" class="menuInterior01"> Galeria 4 </a>  |<a href="TGaleria5.htm" class="menuInterior01"> Galeria 5 </a>  |<a href="TGaleria6.htm" class="menuInterior01"> Galeria 6 </a></td>');
}
//*****************************************************************************
function galeriaarriba()
{
document.write('<td bgcolor="#336699">&nbsp;<span class="Amarillo">FOTOS DEL PUEBLO: </span> <a href="Galeria1.htm" class="menuInterior01"> &nbsp;Galeria 1 </a> |<a href="Galeria2.htm" class="menuInterior01"> Galeria 2</a> |<a href="Galeria3.htm" class="menuInterior01"> Galeria 3 </a>  |<a href="Galeria4.htm" class="menuInterior01"> Galeria 4 </a>  |<a href="Galeria5.htm" class="menuInterior01"> Galeria 5 </a>  |<a href="Galeria6.htm" class="menuInterior01"> Galeria 6 </a>  |<a href="Galeria7.htm" class="menuInterior01"> Galeria 7 </a></td>');
}
//*****************************************************************************
function randNum(x, y) {
var range = y - x + 1;
return Math.floor(Math.random() * range) + x;
} 
//*****************************************************************************
function menuppal(profundidad,origen)
{
var imageNum = 1;
imageNum = randNum(1, 7);
document.write('<table width=150 border=0 cellspacing=0 cellpadding=0>');
document.write('<tr>');
document.write('<td width="28" bgcolor=#41589C></td>');
document.write('<td width="127" height=1 bgcolor=#41589C></td>');
document.write('</tr>');
////////////////////PORTADA/////////////////////
document.write('<tr>');
document.write('<td align=left valign="top" nowrap><img src="'+profundidad+'img/icomenuppal.gif" width="13" height="13"></td>');
document.write('<td height="20" align=right nowrap><a class="LEVEL1n" id=OUT0t href='+profundidad+'jdlc.htm >Portada&nbsp;</a></td>');
document.write('</tr>');
document.write('<tr>');
document.write('<td align="left" bgcolor=#41589C></td>');
document.write('<td bgcolor=#41589C height=1></td>');
document.write('</tr>');
////////////////////AYUNTAMIENTO/////////////////////
document.write('<tr>');
document.write('<td align=left valign="top" nowrap><img src="'+profundidad+'img/icomenuppal.gif" width="13" height="13"></td>');
document.write('<td height="20" align=right nowrap><a class="LEVEL1n" id=OUT1t href=# >Ayuntamiento&nbsp;</a>');
document.write('<div id=OUT1s style="DISPLAY: '+mm1+'">&nbsp; ');
//document.write('<img src="'+profundidad+'img/iconmenu2.gif">&nbsp;<a class="LEVEL2" href="'+profundidad+'htm/Ayuntamiento/Presentacion.htm">Presentación&nbsp;</a> <br>');

document.write('<img src="'+profundidad+'img/iconmenu2.gif">&nbsp;<a class="LEVEL2" href="'+profundidad+'htm/Ayuntamiento/Alcalde_s.htm">Alcaldesa&nbsp;</a> <br>');
document.write('<img src="'+profundidad+'img/iconmenu2.gif">&nbsp;<a class="LEVEL2" href="'+profundidad+'htm/Ayuntamiento/Corporacion_p.htm">Corporaci&oacute;n&nbsp;</a> <br>');
document.write('<img src="'+profundidad+'img/iconmenu2.gif">&nbsp;<a class="LEVEL2" href="'+profundidad+'htm/Ayuntamiento/Gobierno.htm">Gobierno municipal&nbsp;</a> <br>');
//document.write('<img src="'+profundidad+'img/iconmenu2.gif">&nbsp;<a class="LEVEL2" href="'+profundidad+'htm/Ayuntamiento/construccion.htm">Alcaldesa&nbsp;</a> <br>');
//document.write('<img src="'+profundidad+'img/iconmenu2.gif">&nbsp;<a class="LEVEL2" href="'+profundidad+'htm/Ayuntamiento/construccion.htm">Corporaci&oacute;n&nbsp;</a> <br>');
//document.write('<img src="'+profundidad+'img/iconmenu2.gif">&nbsp;<a class="LEVEL2" href="'+profundidad+'htm/Ayuntamiento/construccion.htm">Gobierno municipal&nbsp;</a> <br>');

document.write('<img src="'+profundidad+'img/iconmenu2.gif">&nbsp;<a class="LEVEL2" href="'+profundidad+'htm/Ayuntamiento/Asociaciones.htm">Asociaciones&nbsp;</a> <br>');
document.write('<img src="'+profundidad+'img/iconmenu2.gif">&nbsp;<a class="LEVEL2" href="'+profundidad+'htm/Ayuntamiento/Documentos.htm">Documentos&nbsp;</a> <br>');
document.write('<img src="'+profundidad+'img/iconmenu2.gif">&nbsp;<a class="LEVEL2" href="'+profundidad+'htm/Ayuntamiento/Ordenanzas.htm">Ordenanzas 2009&nbsp;</a> <br>');
document.write('<img src="'+profundidad+'img/iconmenu2.gif">&nbsp;<a class="LEVEL2" href="'+profundidad+'htm/Ayuntamiento/bandos.htm">Bandos</a> <br>');
document.write('<img src="'+profundidad+'img/iconmenu2.gif">&nbsp;<a class="LEVEL2" href="'+profundidad+'htm/Ayuntamiento/acuerdo_jgl.htm">Acuerdos JGL</a> <br>');

//document.write('<img src="'+profundidad+'img/iconmenu2.gif">&nbsp;<a class="LEVEL2" href="'+profundidad+'htm/Ayuntamiento/Plenos.htm">Plenos y Bandos&nbsp;</a> <br>');
document.write('<img src="'+profundidad+'img/iconmenu2.gif">&nbsp;<a class="LEVEL2" href="'+profundidad+'htm/Ayuntamiento/Poblados_brovales.htm">Poblados&nbsp;</a> <br>');
document.write('<img src="'+profundidad+'img/iconmenu2.gif">&nbsp;<a class="LEVEL1r" href="'+profundidad+'htm/Ayuntamiento/pic.htm">P.I.C.</a> <br>');
document.write('<img src="'+profundidad+'img/iconmenu2.gif">&nbsp;<a class="LEVEL1r" href="'+profundidad+'htm/Ayuntamiento/ofertas_trabajo.htm">OFERTAS DE TRABAJO</a> <br>');

//document.write('<img src="'+profundidad+'img/iconmenu2.gif">&nbsp;<a class="LEVEL2" href="'+profundidad+'htm/Ayuntamiento/ServiciosyActividades.htm">Servicios y Actividades&nbsp;</a> <br>');
//document.write('<img src="'+profundidad+'img/iconmenu2.gif">&nbsp;<a class="LEVEL2" href="'+profundidad+'htm/Ayuntamiento/anuncios.htm">Tablón de anuncios&nbsp;</a> <br>');
document.write('</div>');
document.write('</td>');
document.write('</tr>');
document.write('<tr>');
document.write('<td align="left" bgcolor=#41589C></td>');
document.write('<td bgcolor=#41589C height=1></td>');
document.write('</tr>');
////////////////////NUESTRA CIUDAD/////////////////////
document.write('<tr>');
document.write('<td align=left valign="top" nowrap><img src="'+profundidad+'img/icomenuppal.gif" width="13" height="13"></td>');
document.write('<td height="20" align=right nowrap><a class="LEVEL1n" id=OUT2t href=# > Nuestra Ciudad&nbsp;</a>');
document.write('<div id=OUT2s style="DISPLAY: '+mm2+'">&nbsp; ');
document.write('<img src="'+profundidad+'img/iconmenu2.gif">&nbsp;<a class="LEVEL2" href="'+profundidad+'htm/Nuestra_Ciudad/localizacion_s.htm">Localizaci&oacute;n&nbsp;</a> <br>');
document.write('<img src="'+profundidad+'img/iconmenu2.gif">&nbsp;<a class="LEVEL2" href="'+profundidad+'htm/Nuestra_Ciudad/monumental.htm">Jerez Monumental&nbsp;</a> <br>');
document.write('<img src="'+profundidad+'img/iconmenu2.gif">&nbsp;<a class="LEVEL2" href="'+profundidad+'htm/Nuestra_Ciudad/indice_actividades.htm">Empresarios&nbsp;</a> <br>');
//document.write('<img src="'+profundidad+'img/iconmenu2.gif">&nbsp;<a class="LEVEL2" href="'+profundidad+'htm/Nuestra_Ciudad/callejeando.htm">Callejeando&nbsp;</a> <br>');
//document.write('<img src="'+profundidad+'img/iconmenu2.gif">&nbsp;<a class="LEVEL2" href="'+profundidad+'htm/Nuestra_Ciudad/fiestas.htm">Ferias y Fiestas&nbsp;</a> <br>');
//document.write('<img src="'+profundidad+'img/iconmenu2.gif">&nbsp;<a class="LEVEL2" href="'+profundidad+'htm/Nuestra_Ciudad/rutas.htm">Rutas Turisticas&nbsp;</a> <br>');
//random de galerias
document.write('<img src="'+profundidad+'img/iconmenu2.gif">&nbsp;<a class="LEVEL2" href="'+profundidad+'htm/Nuestra_Ciudad/Galeria'+imageNum+'.htm">Galería de FOTOS&nbsp;</a> <br>');
document.write('</div>');
document.write('</td>');
document.write('</tr>');
document.write('<tr>');
document.write('<td align="left" bgcolor=#41589C></td>');
document.write('<td bgcolor=#41589C height=1></td>');
document.write('</tr>');
////////////////////JEREZ AL DIA////////////////////
document.write('<tr>');
document.write('<td align=left valign="top" nowrap><img src="'+profundidad+'img/icomenuppal.gif" width="13" height="13"></td>');
document.write('<td height="20" align=right nowrap><a class="LEVEL1n" id=OUT3t href=# >Jerez al d&iacute;a&nbsp; </a>');
document.write('<div id=OUT3s style="DISPLAY: '+mm3+'">&nbsp; ');
//document.write('<img src="'+profundidad+'img/iconmenu2.gif">&nbsp;<a class="LEVEL2" href="'+profundidad+'htm/Jerez_Al_Dia/anuncios.htm">Tablón de Anuncios&nbsp;</a> <br>');
//document.write('<img src="'+profundidad+'img/iconmenu2.gif">&nbsp;<a class="LEVEL2" href="'+profundidad+'htm/Jerez_Al_Dia/Prensa.htm">Notas de prensa&nbsp;</a> <br>');
document.write('<img src="'+profundidad+'img/iconmenu2.gif">&nbsp;<a class="LEVEL2" href="'+profundidad+'htm/Jerez_Al_Dia/Cineyteatro.htm">Cine y Teatro&nbsp;</a> <br>');
document.write('<img src="'+profundidad+'img/iconmenu2.gif">&nbsp;<a class="LEVEL2" href="'+profundidad+'htm/Jerez_Al_Dia/Farmacias.htm">Farmacias&nbsp;</a> <br>');
//document.write('<img src="'+profundidad+'img/iconmenu2.gif">&nbsp;<a class="LEVEL2" href="'+profundidad+'htm/Jerez_Al_Dia/Radio.htm">Radio Jerez&nbsp;</a> <br>');

var time = new Date();
var pagina = new Array("Tvj_l.htm","Tvj_m.htm","Tvj_x.htm","Tvj_j.htm","Tvj_v.htm","Tvj_s.htm","Tvj_d.htm") 
var dia = pagina[time.getDay() - 1];

//document.write('<img src="'+profundidad+'img/iconmenu2.gif">&nbsp; <a class="LEVEL2" href="'+profundidad+'htm/Jerez_Al_Dia/'+dia+'">Televisión TVJ&nbsp;</a> <br>');
//document.write('<img src="'+profundidad+'img/iconmenu2.gif">&nbsp; <a class="LEVEL2" href="'+profundidad+'htm/Jerez_Al_Dia/liga_f_sala.htm">Liga de Futbol Sala</a> <br>');

document.write('<img src="'+profundidad+'img/iconmenu2.gif">&nbsp; <a class="LEVEL2" href="'+profundidad+'htm/Jerez_Al_Dia/Telefonos.htm">Teléfonos de interes&nbsp;</a> <br>');
document.write('</div>');
document.write('</td>	');
document.write('</tr>');
document.write('<tr>');
document.write('<td align="left" bgcolor=#41589C></td>');
document.write('<td bgcolor=#41589C height=1></td>');
document.write('</tr>');

///////////////////ACTUALIDAD DEPORTIVA/////////////////////

document.write('<tr>');
document.write('<td align=left valign="top" nowrap><img src="'+profundidad+'img/icomenuppal.gif" width="13" height="13"></td>');
document.write('<td height="20" align=right nowrap><a class="LEVEL1n" id=OUT4t href=# > Deportes</a>');
document.write('<div id=OUT4s style="DISPLAY: '+mm4+'">&nbsp; ');

document.write('<img src="'+profundidad+'img/iconmenu2.gif">&nbsp;<a class="LEVEL2" href="'+profundidad+'htm/Deportes/temporada2008_2009.htm">CURSO 2008-2009</a> <br>');

//document.write('<img src="'+profundidad+'img/iconmenu2.gif">&nbsp;<a class="LEVEL2" href="'+profundidad+'htm/Deportes/resultados_maraton.htm">Maratón de Fútbol Sala</a> <br>');
document.write('<img src="'+profundidad+'img/iconmenu2.gif">&nbsp;<a class="LEVEL2" href="'+profundidad+'htm/Deportes/verano2009.htm">VERANO 2009</a> <br>');
//document.write('<img src="'+profundidad+'img/iconmenu2.gif">&nbsp;<a class="LEVEL1r" href="'+profundidad+'carrera_popular/index.htm">XI Carrera Popular</a> <br>');
document.write('<img src="'+profundidad+'img/iconmenu2.gif">&nbsp;<a class="LEVEL2" href="'+profundidad+'htm/Deportes/maraton2009.htm">MARATÓN FUTSAL 2009</a> <br>');
//document.write('<img src="'+profundidad+'img/iconmenu2.gif">&nbsp;<a class="LEVEL2" href="'+profundidad+'htm/Deportes/presentacion_m_bike.htm">Equipo Mountain Bike</a> <br>');
//document.write('<img src="'+profundidad+'img/iconmenu2.gif">&nbsp;<a class="LEVEL2" href="'+profundidad+'htm/Deportes/pedanias.htm">Actividades en las Pedanías</a> <br>');
//document.write('<img src="'+profundidad+'img/iconmenu2.gif">&nbsp;<a class="LEVEL2" href="'+profundidad+'htm/Nuestra_Ciudad/monumental.htm">Jerez Monumental&nbsp;</a> <br>');
//document.write('<img src="'+profundidad+'img/iconmenu2.gif">&nbsp;<a class="LEVEL2" href="'+profundidad+'htm/Nuestra_Ciudad/empresarios.htm">Empresarios&nbsp;</a> <br>');
//document.write('<img src="'+profundidad+'img/iconmenu2.gif">&nbsp;<a class="LEVEL2" href="'+profundidad+'htm/Nuestra_Ciudad/callejeando.htm">Callejeando&nbsp;</a> <br>');
//document.write('<img src="'+profundidad+'img/iconmenu2.gif">&nbsp;<a class="LEVEL2" href="'+profundidad+'htm/Nuestra_Ciudad/fiestas.htm">Ferias y Fiestas&nbsp;</a> <br>');
//document.write('<img src="'+profundidad+'img/iconmenu2.gif">&nbsp;<a class="LEVEL2" href="'+profundidad+'htm/Nuestra_Ciudad/rutas.htm">Rutas Turisticas&nbsp;</a> <br>');
//random de galerias
//document.write('<img src="'+profundidad+'img/iconmenu2.gif">&nbsp;<a class="LEVEL2" href="'+profundidad+'htm/Nuestra_Ciudad/Galeria'+imageNum+'.htm">Galería de FOTOS&nbsp;</a> <br>');
document.write('</div>');
document.write('</td>');
document.write('</tr>');
document.write('<tr>');
document.write('<td align="left" bgcolor=#41589C></td>');
document.write('<td bgcolor=#41589C height=1></td>');
document.write('</tr>');



///////////////////JUVENTUD/////////////////////

document.write('<tr>');
document.write('<td align=left valign="top" nowrap><img src="'+profundidad+'img/icomenuppal.gif" width="13" height="13"></td>');
document.write('<td height="20" align=right nowrap><a class="LEVEL1n" id=OUT4t href=# > Juventud</a>');
document.write('<div id=OUT4s style="DISPLAY: '+mm4+'">&nbsp; ');

document.write('<img src="'+profundidad+'img/iconmenu2.gif">&nbsp;<a class="LEVEL2" href="'+profundidad+'htm/Deportes/ocio_tiempo_libre.htm">Ocio y Tiempo Libre</a> <br>');
document.write('<img src="'+profundidad+'img/iconmenu2.gif">&nbsp;<a class="LEVEL2" href="'+profundidad+'htm/Deportes/cursos_formacion.htm">Empleo y Formacion</a> <br>');
document.write('<img src="'+profundidad+'img/iconmenu2.gif">&nbsp;<a class="LEVEL2" href="'+profundidad+'htm/Deportes/premios_concursos.htm">Premios y Concursos</a> <br>');
document.write('<img src="'+profundidad+'img/iconmenu2.gif">&nbsp;<a class="LEVEL2" href="'+profundidad+'htm/Deportes/becas_ayudas.htm">Becas y Ayudas</a> <br>');
document.write('</div>');
document.write('</td>');
document.write('</tr>');
document.write('<tr>');
document.write('<td align="left" bgcolor=#41589C></td>');
document.write('<td bgcolor=#41589C height=1></td>');
document.write('</tr>');
/////////////////////4rondas//////////////////////
document.write('<tr>');
document.write('<td align=left valign="top" nowrap><img src="'+profundidad+'img/icomenuppal.gif" width="13" height="13"></td>');
document.write('<td height="20" align=right nowrap><a class="LEVEL1n" id=OUT6t href="'+profundidad+'htm/Ayuntamiento/4rondas.htm" >Publicación "4 RONDAS"</a></td>');
document.write('</tr>');
document.write('<tr>');
document.write('<td align="left" bgcolor=#41589C></td>');
document.write('<td bgcolor=#41589C height=1></td>');
document.write('</tr>');
document.write('<tr>');
////////////////////SERVICIOS Y ACTIVIDADES/////////////////////
document.write('<tr>');
document.write('<td align=left valign="top" nowrap><img src="'+profundidad+'img/icomenuppal.gif" width="13" height="13"></td>');
document.write('<td height="20" align=right nowrap><a class="LEVEL1n" id=OUT6t href="'+profundidad+'htm/Ayuntamiento/ServiciosyActividades.htm" >Servicios y Actividades&nbsp; </a></td>');
document.write('</tr>');
document.write('<tr>');
document.write('<td align="left" bgcolor=#41589C></td>');
document.write('<td bgcolor=#41589C height=1></td>');
document.write('</tr>');
document.write('<tr>');


////////////////////TABLON DE ANUNCIOS/////////////////////
document.write('<tr>');
document.write('<td align=left valign="top" nowrap><img src="'+profundidad+'img/icomenuppal.gif" width="13" height="13"></td>');
document.write('<td height="20" align=right nowrap><a class="LEVEL1r" id=OUT5t href="'+profundidad+'htm/Jerez_Al_Dia/anuncios.htm" >Tablón de Anuncios&nbsp; </a></td>');
document.write('</tr>');
document.write('<tr>');
document.write('<td align="left" bgcolor=#41589C></td>');
document.write('<td bgcolor=#41589C height=1></td>');
document.write('</tr>');
document.write('<tr>');


////////////////////SALON DEL JAMON/////////////////////
document.write('<tr>');
document.write('<td align=left valign="top" nowrap><img src="'+profundidad+'img/icomenuppal.gif" width="13" height="13"></td>');
document.write('<td height="20" align=right nowrap><a class="LEVEL1r" id=OUT9t href="'+profundidad+'htm/Jerez_Al_Dia/Feria_jamon.htm" >XX Salón del Jamón </a></td>');
document.write('</tr>');
document.write('<tr>');
document.write('<td align="left" bgcolor=#41589C></td>');
document.write('<td bgcolor=#41589C height=1></td>');
document.write('</tr>');
document.write('<tr>');



////////////////////NOTAS DE PRENSA/////////////////////
//document.write('<tr>');
//document.write('<td align=left valign="top" nowrap><img src="'+profundidad+'img/icomenuppal.gif" width="13" height="13"></td>');
//document.write('<td height="20" align=right nowrap><a class="LEVEL1" id=OUT4t href="'+profundidad+'htm/Jerez_Al_Dia/PrensaI.htm" >Notas de Prensa&nbsp; </a></td>');
//document.write('</tr>');
//document.write('<tr>');
//document.write('<td align="left" bgcolor=#41589C></td>');
//document.write('<td bgcolor=#41589C height=1></td>');
//document.write('</tr>');
//document.write('<tr>');
////////////////////TABLON DE ANUNCIOS(AYTO)/////////////////////
//document.write('<tr>');
//document.write('<td align=left valign="top" nowrap><img src="'+profundidad+'img/icomenuppal.gif" width="13" height="13"></td>');
//document.write('<td height="20" align=right nowrap><a class="LEVEL1" id=OUT4t href="'+profundidad+'htm/Ayuntamiento/anuncios.htm" >Tablón del Ayto.&nbsp; </a></td>');
//document.write('</tr>');
//document.write('<tr>');
//document.write('<td align="left" bgcolor=#41589C></td>');
//document.write('<td bgcolor=#41589C height=1></td>');
//document.write('</tr>');
//document.write('<tr>');

////////////////////SEMANA SANTA 2005/////////////////////
//document.write('<tr>');
//document.write('<td align=left valign="top" nowrap><img src="'+profundidad+'img/icomenuppal.gif" width="13" height="13"></td>');
//document.write('<td height="20" align=right nowrap><a class="LEVEL1" id=OUT4t href="'+profundidad+'htm/Jerez_Al_Dia/ss2005.htm" >SEMANA SANTA 2005&nbsp; </a></td>');
//document.write('</tr>');
//document.write('<tr>');
//document.write('<td align="left" bgcolor=#41589C></td>');
//document.write('<td bgcolor=#41589C height=1></td>');
//document.write('</tr>');
//document.write('<tr>');
////////////////////QUIJOTE/////////////////////
//document.write('<tr>');
//document.write('<td align=left valign="top" nowrap><img src="'+profundidad+'img/icomenuppal.gif" width="13" height="13"></td>');
//document.write('<td height="20" align=right nowrap><a class="LEVEL1" id=OUT4t href="'+profundidad+'htm/Jerez_Al_Dia/quijote.htm" >QUIJOTE (1605-2005)&nbsp; </a></td>');
//document.write('</tr>');
//document.write('<tr>');
//document.write('<td align="left" bgcolor=#41589C></td>');
//document.write('<td bgcolor=#41589C height=1></td>');
//document.write('</tr>');
//document.write('<tr>');
////////////////FESTIVAL TEMPLARIO/////////////////////
//document.write('<tr>');
//document.write('<td align=left valign="top" nowrap><img src="'+profundidad+'img/icomenuppal.gif" width="13" height="13"></td>');
////document.write('<td height="20" align=right nowrap><a class="LEVEL1" id=OUT4t href="'+profundidad+'htm/Jerez_Al_Dia/templario.htm" ><img src="'+profundidad+'inc/templario.jpg" width="140" height="18" border="0"> </a></td>');
//document.write('<td height="20" align=right nowrap><a class="LEVEL1" id=OUT4t href="'+profundidad+'htm/Jerez_Al_Dia/templario.htm"" >III Festival Templario&nbsp; </a></td>');
//document.write('</tr>');
//document.write('<tr>');
//document.write('<td align="left" bgcolor=#41589C></td>');
//document.write('<td bgcolor=#41589C height=1></td>');
//document.write('</tr>');
//document.write('<tr>');




///////////////////////////////////////////////////////PERFIL DEL CONTRATANTE


document.write('<tr>');
document.write('<td align=left valign="top" nowrap><img src="'+profundidad+'img/icomenuppal.gif" width="13" height="13"></td>');
//document.write('<img src="'+profundidad+'img/iconmenu2.gif">&nbsp;<a class="LEVEL2" href="'+profundidad+'htm/Ayuntamiento/perfil_contratante.htm">Perfil del Contratante</a> <br>');

document.write('<td height="20" align=right nowrap><a class="LEVEL1n" id=OUT8t href="'+profundidad+'htm/Ayuntamiento/perfil_contratante.htm">Perfil del Contratante</a></td>');
document.write('</tr>');
document.write('<tr>');
document.write('<td align="left" bgcolor=#41589C></td>');
document.write('<td bgcolor=#41589C height=1></td>');
document.write('</tr>');
document.write('<tr>');

///////////////////////////////////////////////////////FESTIVAL TEMPLARIO


document.write('<tr>');
document.write('<td align=left valign="top" nowrap><img src="'+profundidad+'img/icomenuppal.gif" width="13" height="13"></td>');
//document.write('<img src="'+profundidad+'img/iconmenu2.gif">&nbsp;<a class="LEVEL2" href="'+profundidad+'htm/Ayuntamiento/perfil_contratante.htm">Perfil del Contratante</a> <br>');

document.write('<td height="20" align=right nowrap><a class="LEVEL1n" id=OUT8t href="'+profundidad+'htm/Jerez_Al_Dia/presentacion.htm">FESTIVAL TEMPLARIO</a></td>');
document.write('</tr>');
document.write('<tr>');
document.write('<td align="left" bgcolor=#41589C></td>');
document.write('<td bgcolor=#41589C height=1></td>');
document.write('</tr>');
document.write('<tr>');

///////////////////////////////////////////////////////VERANO 2008


document.write('<tr>');
document.write('<td align=left valign="top" nowrap><img src="'+profundidad+'img/icomenuppal.gif" width="13" height="13"></td>');
//document.write('<img src="'+profundidad+'img/iconmenu2.gif">&nbsp;<a class="LEVEL2" href="'+profundidad+'htm/Ayuntamiento/perfil_contratante.htm">Perfil del Contratante</a> <br>');

document.write('<td height="20" align=right nowrap><a class="LEVEL1n" id=OUT8t href="'+profundidad+'htm/Jerez_Al_Dia/verano2008.htm">Verano 2008    <br> FERIA DE SAN BARTOLOMÉ</a></td>');
document.write('</tr>');
document.write('<tr>');
document.write('<td align="left" bgcolor=#41589C></td>');
document.write('<td bgcolor=#41589C height=1></td>');
document.write('</tr>');
document.write('<tr>');

///////////////////////////////////////////////////////OFERTAS DE TRABAJO


document.write('<tr>');
document.write('<td align=left valign="top" nowrap><img src="'+profundidad+'img/icomenuppal.gif" width="13" height="13"></td>');
//document.write('<img src="'+profundidad+'img/iconmenu2.gif">&nbsp;<a class="LEVEL2" href="'+profundidad+'htm/Ayuntamiento/perfil_contratante.htm">Perfil del Contratante</a> <br>');

document.write('<td height="20" align=right nowrap><a class="LEVEL1n" id=OUT8t href="'+profundidad+'htm/Ayuntamiento/ofertas_trabajo.htm">Ofertas de Trabajo y Becas</a></td>');
document.write('</tr>');
document.write('<tr>');
document.write('<td align="left" bgcolor=#41589C></td>');
document.write('<td bgcolor=#41589C height=1></td>');
document.write('</tr>');
document.write('<tr>');


////////////////MUSEO DE ARTE SACRO/////////////////////
document.write('<tr>');
document.write('<td align=left valign="top" nowrap><img src="'+profundidad+'img/icomenuppal.gif" width="13" height="13"></td>');
document.write('<td height="20" align=right nowrap><a class="LEVEL1n" id=OUT7t href="'+profundidad+'museo/jcaballeros.htm" >Museo de Arte Sacro&nbsp; </a></td>');
document.write('</tr>');
document.write('<tr>');
document.write('<td align="left" bgcolor=#41589C></td>');
document.write('<td bgcolor=#41589C height=1></td>');
document.write('</tr>');
document.write('<tr>');

///////////////////////////////////////////////////////SEMANA SANTA JEREZANA


document.write('<tr>');
document.write('<td align=left valign="top" nowrap><img src="'+profundidad+'img/icomenuppal.gif" width="13" height="13"></td>');
//document.write('<img src="'+profundidad+'img/iconmenu2.gif">&nbsp;<a class="LEVEL2" href="'+profundidad+'htm/Ayuntamiento/perfil_contratante.htm">Perfil del Contratante</a> <br>');

document.write('<td height="20" align=right nowrap><a class="LEVEL1n" id=OUT9t href="http://www.semanasantajerezana.com/">Semana Santa</a></td>');
document.write('</tr>');
document.write('<tr>');
document.write('<td align="left" bgcolor=#41589C></td>');
document.write('<td bgcolor=#41589C height=1></td>');
document.write('</tr>');
document.write('<tr>');

////////////////////ENLACES DE INTERES/////////////////////
document.write('<td align=left valign="top" nowrap><img src="'+profundidad+'img/icomenuppal.gif" width="13" height="13"></td>');
document.write('<td height="20" align=right nowrap><a class="LEVEL1n" id=OUT10t href="'+profundidad+'htm/Jerez_Al_Dia/Enlaces.htm" >Enlaces de interes&nbsp;</a></td>');
document.write('</tr>');
document.write('<tr>');
document.write('<td align="left" bgcolor=#41589C></td>');
document.write('<td bgcolor=#41589C height=1></td>');
document.write('</tr>');


//document.write('<tr>');
//document.write('<td align=left valign="top" nowrap><img src="'+profundidad+'img/icomenuppal.gif" width="13" height="13"></td>');
//document.write('<td height="20" align=right nowrap><a class="LEVEL1" id=OUT6t href=# >opcion 5&nbsp; </a></td>');
//document.write('</tr>');
//document.write('<tr>');
//document.write('<td align="left" bgcolor=#41589C></td>');
//document.write('<td bgcolor=#41589C height=1></td>');
//document.write('</tr>');
//document.write('<tr>');
//document.write('<td align=left valign="top" nowrap><img src="'+profundidad+'img/icomenuppal.gif" width="13" height="13"></td>');
//document.write('<td height="20" align=right nowrap><a class="LEVEL1" id=OUT7t href=# >opcion 6&nbsp; </a></td>');
//document.write('</tr>');
//document.write('<tr>');
//document.write('<td align="left" bgcolor=#41589C></td>');
//document.write('<td bgcolor=#41589C height=1></td>');
//document.write('</tr>');
			   
document.write('</table>');
}

//Función que evita que utilicen el boton derecho del mouse
function right(e) 
{
	if (navigator.appName == 'Netscape' && (e.which == 3 || e.which == 2))
		return false;
	else if (navigator.appName == 'Microsoft Internet Explorer' && (event.button == 2 || event.button == 3)) 
		{
		alert("Página oficial de Jerez de los Caballeros, Badajoz (España).");
		return false;
		}
	return true;
}
//Proteccion boton derecho

document.onmousedown=right;
document.onmouseup=right;
if (document.layers) window.captureEvents(Event.MOUSEDOWN);
if (document.layers) window.captureEvents(Event.MOUSEUP);
window.onmousedown=right;
window.onmouseup=right;

//Fin proteccion boton derecho

var cuenta=0
var texto="               Página oficial de Jerez de los Caballeros                    "
 
 function statusnuevo() {
 window.status=texto.substring (cuenta,texto.length)+  texto.substring(0,cuenta)
 if (cuenta <texto.length){ cuenta ++
 }else{
 cuenta=0
 }
 setTimeout("statusnuevo()",100)
 }
 
statusnuevo()