Imagenes = new Array();
var iExplorer;

function Iniciar()
{
        iExplorer = (document.all) ? true:false;
}


function gogirl(e) 
 {
   var i;
   for (i=0; i<gogirl.arguments.length; i++)
     {
       if (document.getElementById(e).style.display == 'none') 
	     {
           document.getElementById(e).style.display = 'block';
         } 
	   else 
	     {
           document.getElementById(e).style.display = 'none';
         }
	 }
 }

function hideall() {
        var Nodes = document.getElementsByTagName('ul')
        var max = Nodes.length
        for(var i = 0;i < max;i++) {
                var nodeObj = Nodes.item(i)
                nodeObj.style.display = 'none';
        }
}

function alternar(id1,id2)
 {
  if (document.getElementById(id1).style.visibility == 'visible')
     {
		document.getElementById(id1).style.visibility = 'hidden';
		document.getElementById(id2).style.visibility = 'visible';
	 }
  else
     {
		document.getElementById(id2).style.visibility = 'hidden';
		document.getElementById(id1).style.visibility = 'visible';
	 }
 }

function Precargar() 
{
 for (var i=0; i<Precargar.arguments.length; i++) 
   {
    Imagenes[i]=new Image; 
    Imagenes[i].src=Precargar.arguments[i];  
   }
}


function altoTotal()
 {
    var iEx;
	var altoS;
	iEx = (document.all) ? true:false;
	if (iEx)
	{
	 altoS=document.body.clientHeight;
	}
else
	{
	 altoS= window.innerHeight;
	}
return (altoS)
 }

function anchoTotal()
 {
  var ieX;
  var anchoS;
  ieX = (document.all) ? true:false;
  if (ieX)
    {
	 anchoS = document.body.clientWidth;
	}
  else
   {
     anchoS = window.innerWidth;
   }
  return (anchoS)
 }

function ventanaAutor(destino, tituloID)
 {
   //var vent = window.open (destino,titulo,"height=590,width=400,toolbar=no,titlebar=titulo,scrollbars=no,location=no,statusbar=no,status=no,menubar=no,resizable=no,screenX=300,screenY=80,innerHeight=590,innerWidth=400");
   var ventAU= window.open(destino,tituloID,"height=590,width=400,screenX=300,screenY=50,left=300,top=50,innerHeight=590,innerWidth=400,status=NO,statusbar=NO");
 }

function ventanaTexto(destino, tituloID)
 {
   var ventTX= window.open(destino,tituloID,"height=475px,width=750px,screenX=130,screenY=100,left=130,top=100,innerHeight=475,innerWidth=750,status=NO,statusbar=NO");
 }
 
 function ventanaImagen(destino, tituloID)
 {
   var ventTX= window.open(destino,tituloID,"height=480,width=640,screenX=170,screenY=120,left=170,top=120,innerHeight=480,innerWidth=640,status=NO,statusbar=NO");
 }
 
 function ventanaImagenVert(destino, tituloID)
 {
   var ventTX= window.open(destino,tituloID,"height=640,width=480,screenX=250,screenY=50,left=250,top=50,innerHeight=640,innerWidth=480,status=NO,statusbar=NO");
 }

function verContador()
 {
  if (document.getElementById("capaContador").style.visibility=="hidden")
      document.getElementById("capaContador").style.visibility="visible";
  else
      document.getElementById("capaContador").style.visibility="hidden";

 }

function pintarCabeceraNoticias()
{				//height, width = 100%
document.write('<table height="100%" width="100%" border="0" cellpadding="0" cellspacing="0">');
document.write('      <tr>');                         //height="15%"            //782 , 223
document.write('    	<td align="left" valign="top" height="108"> <a href="index.htm"> <img src="imagenes/Cabecera.png" width="100%" height="108" border="0" title="Ir a la página de inicio"></a></td>');  //alt="home"
document.write('    	<td rowspan="2" align="left" valign="top" bgcolor="#B7C5F2"> <a href="javascript:verContador();"><img src="imagenes/Sol.jpg" width="100%" height="216" border="0"></a>'); //alt="Diseñado y creado por @EdUer"
document.write('			<table border="0" cellpadding="0" cellspacing="0">');
document.write('			     <tr>');
document.write('				<td>');
document.write('					<script>Noticias();</script>');
document.write('				</td>');
document.write('			    </tr>');
document.write('			</table>');
document.write('		</td>');
document.write('     </tr>');
document.write('     <tr>');
document.write('                   <td  align="left" valign="top" width="100%" class="FondoTablaSin"><img src="imagenes/TablaCentral.jpg" border="0">');
}



function pintarPieGrande()
{
document.write('    </td>');
document.write('  </tr>');
document.write('  <tr>');
document.write('      <td colspan="2" bgcolor="#b7c5f2" width="100%" valign="bottom"><img id="PieBig" src="imagenes/Pie.gif" height="78" width="100%" border="0" hspace="0" vspace="0"></td>');
document.write('  </tr>');
document.write('</table>');
}


function pintarPie()
{
document.write('    </td>');
document.write('  </tr>');
document.write('  <tr>');
document.write('      <td colspan="1" bgcolor="#b7c5f2" width="100%" valign="bottom"><img src="imagenes/Pie.gif" height="40" width="100%" border="0" hspace="0" vspace="0"></td>');
document.write('  </tr>');
document.write('</table>');
}


function pintarCabeceraPeq()
{


							//height=600, width=955
document.write('<table height="100%" width="100%" border="" cellpadding="0" cellspacing="0">');
document.write('<tr>');						 //height="15%"
document.write('	<td align="left" valign="top" height="108" width="100%"><a href="index.htm"><img src="imagenes/CabeceraPeq.png" height="107" width="100%" border="0" hspace="0" vspace="0" title="Ir a la página de inicio"></a></td>');
document.write('</tr>')
document.write('    <tr>');
document.write('      <td align="left"  valign="top" width="100%" class="FondoTablaSin" style="background-image:url(imagenes/TablaCentral.jpg)">');
}
function pintarCabeceraPeqPri(fecha)
{
							//height=600, width=955
document.write('<table height="100%" width="100%" border="0" cellpadding="0" cellspacing="0">');
document.write('<tr>');						 //height="15%"
document.write('	<td align="left" valign="top" height="108" width="100%">');

 if (fecha!='')	
 	document.write('<div style="position:absolute; top:50; z-index:2;"><table border="0" width="100%"><tr><td width="60%">&nbsp;</td><td nowrap><span style="color:white;font-size:14px;text-align:left"><b>Datos actualizados a fecha '+fecha+'</b></span></td></tr></table></div>');	

 document.write('<img src="imagenes/CabeceraPeq.png" height="107" width="100%" border="0" USEMAP="#maquea"/><map name="maquea"><AREA HREF="index.htm" TITLE="Ir a la página de inicio" SHAPE=RECT COORDS="1,1,1400,108"/></map></td>');




document.write('</tr>')
document.write('    <tr>');
document.write('      <td align="left"  valign="top" width="100%" class="FondoTablaSin" style="background-image:url(imagenes/TablaCentral.jpg)">');
}



function pintarMenuAdmin()
{

document.write('	              <td width="75" align="left" valign="top"> ');
document.write('		<table width="100%" border="0" ');
//ini opciones
document.write('                      <tr> ');
document.write('                        <td>&nbsp;</td>');
document.write('                        <td class="botonesLaterales"><a href="adm_empresas.asp"><img border="0" height="18" width="23" name="Margarita" src="imagenes/marga.gif">Empresas</a></td>');
document.write('                      </tr>');

document.write('                      <tr> ');
document.write('                        <td>&nbsp;</td>');
document.write('                        <td class="botonesLaterales"><a href="adm_estaciones.asp"><img border="0" height="18" width="23" name="Margarita" src="imagenes/marga.gif">Estaciones</a></td>');
document.write('                      </tr>');

document.write('                      <tr> ');
document.write('                        <td>&nbsp;</td>');
document.write('                        <td class="botonesLaterales"><a href="adm_recorridos.asp"><img border="0" height="18" width="23" name="Margarita" src="imagenes/marga.gif">Recorridos</a></td>');
document.write('                      </tr>');

//fin opciones
document.write('                    </table>');
document.write('                  </td>');

}

function Noticias()
 {
  document.write('  <applet code="advnewsscroll.class" width="215" height="270"> ');
  //document.write(''); descarga de plug-in
  document.write('  <param name="info" value="Applet by Gokhan Dagli,www.appletcollection.com"> ');
  document.write('  <param name="regcode" value=""> ');
  document.write('  <param name="input_text" value="from_file"> ');
  document.write('  <param name="text_file" value="textos.txt"> ');
  document.write('  <param name="scroll_mode" value="scroll"> ');
  document.write('  <param name="bgimage" value="fondoBanner.jpg"> ');
  document.write('  <param name="image_xposition" value="0"> ');
  document.write('  <param name="image_yposition" value="0"> ');
  document.write('  <param name="bgcolor" value="B7C5F2"> ');
  document.write('  <param name="title_color" value="2F2B60"> ');
  document.write('  <param name="text_color" value="6B66D7"> ');
  document.write('  <param name="highlight_title_color" value="333366"> ');
  document.write('  <param name="highlight_text_color" value="990000"> ');
  document.write('  <param name="title_align" value="center"> ');
  document.write('  <param name="text_align" value="center"> ');
  document.write('  <param name="title_font_type" value="Arial"> ');
  document.write('  <param name="title_font_size" value="18"> ');
  document.write('  <param name="title_font_style" value="1"> ');
  document.write('  <param name="text_font_type" value="Verdana"> ');
  document.write('  <param name="text_font_size" value="12"> ');
  document.write('  <param name="text_font_style" value="1"> ');
  document.write('  <param name="title_underline" value="no"> ');
  document.write('  <param name="text_underline" value="no"> ');
  document.write('  <param name="scroll_delay" value="36"> '); //Estaba en 12
  document.write('  <param name="pause" value="0"> '); //Estaba en 6000 y luego la puse a 10000
  document.write('  <param name="border_thickness" value="0"> ');
  document.write('  <param name="border_color" value=""> ');
  document.write('  <param name="left_margin" value="0"> ');
  document.write('  <param name="top_margin" value="20"> ');
  document.write('  <param name="right_margin" value="20"> ');
  document.write('  <param name="bottom_margin" value="12"> ');
  document.write('  <param name="vertical_space" value="20"> ');
  document.write('  <param name="title_linespace" value="10"> ');
  document.write('  <param name="text_linespace" value="0"> ');
  document.write('  </applet> ');
 }

 function pintarMenuLateral()
{

document.write('		<td width="240" align="left" valign="top"> ');
document.write('		<table width="180" border="0" cellpadding="0" cellspacing="0" id="tdMenuLat">');
//ini opciones

document.write('                      <tr> ');
document.write('                        <td width="10%"> </td>');
document.write('                        <td width="90%"> </td>');
document.write('                      </tr>');

document.write('                      <tr> ');
//document.write('                        <td>&nbsp;</td>');
document.write('                        <td colspan=2 class="botonesLaterales"><a href="mostrar.php?elemento=Empresa" onmouseover="document.getElementById(\'Margar0\').src=Imagenes[0].src;" onmouseout="document.getElementById(\'Margar0\').src=Imagenes[1].src;"><img border="0" height="18" width="23" id="Margar0"src="imagenes/marga.gif">&nbsp;Listado de Empresas</a></td>');
document.write('                      </tr>');

document.write('                      <tr> ');
document.write('                        <td colspan=2 class="botonesLaterales"><a href="mostrar.php?elemento=Estacion" onmouseover="document.getElementById(\'Margar1\').src=Imagenes[0].src;" onmouseout="document.getElementById(\'Margar1\').src=Imagenes[1].src;"><img border="0" height="18" width="23" id="Margar1" src="imagenes/marga.gif">&nbsp;Listado de Estaciones</a></td>');
document.write('                      </tr>');

document.write('                      <tr> ');
document.write('                        <td colspan=2 class="botonesLaterales" nowrap><a href="Busqueda.php"  onmouseover="document.getElementById(\'Margar2\').src=Imagenes[0].src;" onmouseout="document.getElementById(\'Margar2\').src=Imagenes[1].src;"><img border="0" height="18" width="23" id="Margar2" src="imagenes/marga.gif">&nbsp;Buscador de Servicios Directos</a></td>');
document.write('                      </tr>');

document.write('                      <tr> ');
document.write('                        <td colspan=2 class="botonesLaterales" nowrap><a href="BusquedaAvanzada.php"  onmouseover="document.getElementById(\'Margar10\').src=Imagenes[0].src;" onmouseout="document.getElementById(\'Margar10\').src=Imagenes[1].src;"><img border="0" height="18" width="23" id="Margar10" src="imagenes/marga.gif">&nbsp;Buscador Avanzado<br/>(con ruptura de carga y/o enlace)</a></td>');
document.write('                      </tr>');



/*
document.write('                      <tr> ');
document.write('                        <td colspan=2 class="botonesLaterales"><a href="otrasRutas.htm" onmouseover="document.getElementById(\'Margar3\').src=Imagenes[0].src;" onmouseout="document.getElementById(\'Margar3\').src=Imagenes[1].src;"><img border="0" height="18" width="23" id="Margar3" src="imagenes/marga.gif">&nbsp;Otras Rutas</a></td>');
document.write('                      </tr>');
*/

document.write('                      <tr> ');
document.write('                        <td colspan=2 class="botonesLaterales"><a href="mailto:caceres@estacionautobuses.com" onmouseover="document.getElementById(\'Margar4\').src=Imagenes[0].src;" onmouseout="document.getElementById(\'Margar4\').src=Imagenes[1].src;"><img border="0" height="18" width="23" id="Margar4" src="imagenes/marga.gif">&nbsp;Buz&oacute;n</a></td>');
document.write('                      </tr>');

document.write('                      <tr> ');
document.write('                        <td colspan=2 class="botonesLaterales"><a href="javascript:gogirl(' + "'subm5'" + ')&#10;&#9;&#9;&#9;&#9;&#9;" onmouseover="document.getElementById(\'Margar5\').src=Imagenes[0].src;" onmouseout="document.getElementById(\'Margar5\').src=Imagenes[1].src;"><img border="0" height="18" width="23" id="Margar5" src="imagenes/marga.gif">&nbsp;Normativa Legal</a></div></td>');
document.write('                      </tr>');

document.write('                      <tr><td width="100%">');
document.write('                          <ul id="subm5" style="display:none">');
document.write('                            <table border="0" cellpadding="0" cellspacing="0" width="100%">');
document.write('                             <tr><td width="90%" class="SubBotonesLaterales"><a href="Lott.htm">&nbsp;&nbsp;&nbsp;LOTT (200 KB)</a></td></tr>');
document.write('                             <tr><td width="90%" class="SubBotonesLaterales"><a href="Lott_actualizada.htm">&nbsp;&nbsp;&nbsp;LOTT (500 KB) actualizada</a></td></tr>');
document.write('                             <tr><td width="90%" class="SubBotonesLaterales"><a href="Rott.htm">&nbsp;&nbsp;&nbsp;ROTT (900 KB)</a></td></tr>');
document.write('                            </table>');
document.write('                         </ul>');
document.write('                      </td></tr>');

document.write('                      <tr> ');
document.write('                        <td colspan=2 class="botonesLaterales"><a href="javascript:gogirl(' + "'subm6'" + ')&#10;&#9;&#9;&#9;&#9;&#9;" onmouseover="document.getElementById(\'Margar6\').src=Imagenes[0].src;" onmouseout="document.getElementById(\'Margar6\').src=Imagenes[1].src;"><img border="0" height="18" width="23" id="Margar6" src="imagenes/marga.gif">&nbsp;La Estaci&oacute;n</a></td>');
document.write('                      </tr>');

document.write('                      <tr><td width="100%">');
document.write('                          <ul id="subm6" style="display:none">');
document.write('                            <table border="0" cellpadding="0" cellspacing="0" width="100%">');
document.write('                             <tr><td width="90%" class="SubBotonesLaterales"><a href="Presentacion.htm">&nbsp;&nbsp;&nbsp;Presentaci&oacute;n</a></td></tr>');
document.write('                             <tr><td width="90%" class="SubBotonesLaterales"><a href="javascript:gogirl(' + "'subm6b'" + ')&#10;&#9;&#9;&#9;&#9;&#9;">&nbsp;&nbsp;&nbsp;Servicios de la Estaci&oacute;n</a></td></tr>');
document.write('                             <tr><td width="100%">');
document.write('                                 <ul id="subm6b" style:"display:none">');
document.write('                                    <table border="0" cellpadding="0" cellspacing="0" width="100%">');
document.write('                                       <tr><td width="90%" class="SubBotonesLaterales"><a href="Informacion.htm">&nbsp;&nbsp;&nbsp;Informaci&oacute;n</a></td></tr>');
document.write('                                       <tr><td width="90%" class="SubBotonesLaterales"><a href="Consigna.htm">&nbsp;&nbsp;&nbsp;Servicio de Consigna</a></td></tr>');
document.write('                                       <tr><td width="90%" class="SubBotonesLaterales"><a href="Paqueteria.htm">&nbsp;&nbsp;&nbsp;Paqueter&iacute;a</a></td></tr>');
document.write('                                       <tr><td width="90%" class="SubBotonesLaterales"><a href="PIC.htm">&nbsp;&nbsp;&nbsp;PIC</a></td></tr>');
document.write('                                       <tr><td width="90%" class="SubBotonesLaterales"><a href="infoElectronico.htm">&nbsp;&nbsp;&nbsp;Informaci&oacute;n Electr&oacute;nica</a></td></tr>');
document.write('                                    </table>');
document.write('                                 </ul>');
document.write('                             </td></tr>');
document.write('                             <tr><td width="90%" class="SubBotonesLaterales"><a href="actividadesCulturales.htm">&nbsp;&nbsp;&nbsp;Actividades Culturales</a></td></tr>');
document.write('                             <tr><td width="90%" class="SubBotonesLaterales"><a href="Tiendas.htm">&nbsp;&nbsp;&nbsp;Tiendas</a></td></tr>');
document.write('                            </table>');
document.write('                         </ul>');
document.write('                      </td></tr>');

document.write('                      <tr> ');
document.write('                        <td colspan=2 class="botonesLaterales"><a href="Baluerna.htm" onmouseover="document.getElementById(\'Margar7\').src=Imagenes[0].src;" onmouseout="document.getElementById(\'Margar7\').src=Imagenes[1].src;"><img border="0" height="18" width="23" id="Margar7" src="imagenes/marga.gif">&nbsp;Baluerna. Biblioteca</a></td>');
document.write('                      </tr>');

document.write('                      <tr> ');
document.write('                        <td colspan=2 class="botonesLaterales"><a href="viajandocon.htm" onmouseover="document.getElementById(\'Margar8\').src=Imagenes[0].src;" onmouseout="document.getElementById(\'Margar8\').src=Imagenes[1].src;"><img border="0" height="18" width="23" id="Margar8" src="imagenes/marga.gif">&nbsp;Viajando con... (Biblioteca)</a></td>');
document.write('                      </tr>');

document.write('                      <tr> ');
document.write('                        <td colspan=2 class="botonesLaterales"><a href="enlaces.htm" onmouseover="document.getElementById(\'Margar9\').src=Imagenes[0].src;" onmouseout="document.getElementById(\'Margar9\').src=Imagenes[1].src;"><img border="0" height="18" width="23" id="Margar9" src="imagenes/marga.gif">&nbsp;Enlaces Interesantes</a></td>');
document.write('                      </tr>');



document.write('                      <tr> ');
//document.write('                        <td>&nbsp;</td>');
document.write('                        <td colspan=2 class="botonesLaterales"><a href="mapa.php" onmouseover="document.getElementById(\'Margar10\').src=Imagenes[0].src;" onmouseout="document.getElementById(\'Margar10\').src=Imagenes[1].src;"><img border="0" height="18" width="23" id="Margar10"src="imagenes/marga.gif">&nbsp;Localización</a></td>');
document.write('                      </tr>');


//fin opciones
document.write('                    </table>');
document.write('                  </td>');
}


function pintaMenuSup()
  {
    //dibuja el menú (barra horizontal) que sustituye al menú lateral del Index en el resto de páginas del Sitio
    //(se omiten las margaritas)
    document.write(' <div style="position:absolute; top:107; left:0; z-index:1;"> ');
    document.write('  <table width="100%" align="center" cellspacing="0" cellpadding="0" border="0" height="25px" style="background-image:url(imagenes/barraMenu1.gif)">       ');
    document.write('   <tbody>      ');
    document.write('      <tr>         ');

	document.write('           <td	id="celda1a" align="right" nowrap><img id="margaSup1" class="margaSup" src="imagenes/marga.gif" border="0" hspace="0" vspace="0"></td>');
    document.write('           <td id="celda1" align="left" class="botonesSuperiores"  nowrap><a href="mostrar.php?elemento=Empresa" onmouseover="javascript: this.bgcolor=\'#FFFFFF\'; javascript: document.getElementById(\'margaSup1\').style.visibility=\'visible\';" onmouseout="javascript: this.bgcolor=\'#000000\'; javascript: document.getElementById(\'margaSup1\').style.visibility=\'hidden\';">Empresas</a></td>                                                                             ');

	document.write('           <td id="celda2a" align="right"  nowrap><img id="margaSup2" class="margaSup" src="imagenes/marga.gif" border="0" hspace="0" vspace="0"></td>');
	document.write('           <td id="celda2" align="left" class="botonesSuperiores"  nowrap><a href="mostrar.php?elemento=Estacion" onmouseover="javascript: this.bgcolor=\'#FFFFFF\'; javascript: document.getElementById(\'margaSup2\').style.visibility=\'visible\';" onmouseout="javascript: this.bgcolor=\'#000000\'; javascript: document.getElementById(\'margaSup2\').style.visibility=\'hidden\';">Estaciones</a></td>                                                                         ');

	document.write('           <td id="celda3a" align="right"  nowrap><img id="margaSup3" class="margaSup" src="imagenes/marga.gif" border="0" hspace="0" vspace="0"></td>');
	document.write('           <td id="celda3" align="left" class="botonesSuperiores"  nowrap><a href="Busqueda.php" onmouseover="javascript: this.bgcolor=\'#FFFFFF\'; javascript: document.getElementById(\'margaSup3\').style.visibility=\'visible\';" onmouseout="javascript: this.bgcolor=\'#000000\'; javascript: document.getElementById(\'margaSup3\').style.visibility=\'hidden\';">Buscador de Servicios Directos</a></td>                                                                               ');
	document.write('           <td id="celda31a" align="right"  nowrap><img id="margaSup31" class="margaSup" src="imagenes/marga.gif" border="0" hspace="0" vspace="0"></td>');
	document.write('           <td id="celda31" align="left" class="botonesSuperiores" nowrap><a href="BusquedaAvanzada.php" onmouseover="javascript: this.bgcolor=\'#FFFFFF\'; javascript: document.getElementById(\'margaSup31\').style.visibility=\'visible\';" onmouseout="javascript: this.bgcolor=\'#000000\'; javascript: document.getElementById(\'margaSup31\').style.visibility=\'hidden\';">Buscador Avanzado</a></td>');

	document.write('           <td	id="celda4a" align="right"  nowrap><img id="margaSup4" class="margaSup" src="imagenes/marga.gif" border="0" hspace="0" vspace="0"></td>');
//	document.write('           <td id="celda4" align="left" class="botonesSuperiores"  nowrap><a href="otrasRutas.htm" onmouseover="javascript: this.bgcolor=\'#FFFFFF\'; javascript: document.getElementById(\'margaSup4\').style.visibility=\'visible\';" onmouseout="javascript: this.bgcolor=\'#000000\'; javascript: document.getElementById(\'margaSup4\').style.visibility=\'hidden\';">Otras Rutas</a></td>                                                                                               ');
	document.write('           <td	id="celda5a" align="right"  nowrap><img id="margaSup5" class="margaSup" src="imagenes/marga.gif" border="0" hspace="0" vspace="0"></td>');
	document.write('           <td id="celda5" align="left" class="botonesSuperiores"  nowrap><a href="mailto:caceres@estacionautobuses.com" onmouseover="javascript: this.bgcolor=\'#FFFFFF\'; javascript: document.getElementById(\'margaSup5\').style.visibility=\'visible\';" onmouseout="javascript: this.bgcolor=\'#000000\'; javascript: document.getElementById(\'margaSup5\').style.visibility=\'hidden\';">Buz&oacute;n</a></td>                           ');

	document.write('           <td	id="celda6a" align="right" width="3%"><img id="margaSup6" class="margaSup" src="imagenes/marga.gif" border="0" hspace="0" vspace="0"></td>');
	document.write('           <td id="celda6" align="left" class="botonesSuperiores"  nowrap><a href="javascript:gogirl(' + "'subm5'" + ')&#10;&#9;&#9;&#9;&#9;&#9;" onmouseover="javascript: this.bgcolor=\'#FFFFFF\'; javascript: document.getElementById(\'margaSup6\').style.visibility=\'visible\';" onmouseout="javascript: this.bgcolor=\'#000000\'; javascript: document.getElementById(\'margaSup6\').style.visibility=\'hidden\';">Normativa</a></td>');

	document.write('           <td	id="celda7a" align="right"  nowrap><img id="margaSup7" class="margaSup" src="imagenes/marga.gif" border="0" hspace="0" vspace="0"></td>');
	document.write('           <td id="celda7" align="left" class="botonesSuperiores"  nowrap><a href="javascript:gogirl(' + "'subm6'" + ')&#10;&#9;&#9;&#9;&#9;&#9;" onmouseover="javascript: this.bgcolor=\'#FFFFFF\'; javascript: document.getElementById(\'margaSup7\').style.visibility=\'visible\';" onmouseout="javascript: this.bgcolor=\'#000000\'; javascript: document.getElementById(\'margaSup7\').style.visibility=\'hidden\';">&nbsp;La Estaci&oacute;n&nbsp;</a></td>                                                                               ');

	document.write('           <td	id="celda8a" align="right"  nowrap><img id="margaSup8" class="margaSup" src="imagenes/marga.gif" border="0" hspace="0" vspace="0"></td>');
	document.write('           <td id="celda8" align="left" class="botonesSuperiores"  nowrap><a href="Baluerna.htm" onmouseover="javascript: this.bgcolor=\'#FFFFFF\'; javascript: document.getElementById(\'margaSup8\').style.visibility=\'visible\';" onmouseout="javascript: this.bgcolor=\'#000000\'; javascript: document.getElementById(\'margaSup8\').style.visibility=\'hidden\';">Baluerna</a></td>                                                                                               ');
	
	

	document.write('           <td	id="celda9a" align="right"  nowrap><img id="margaSup9" class="margaSup" src="imagenes/marga.gif" border="0" hspace="0" vspace="0"></td>');
	document.write('           <td id="celda9" align="left" class="botonesSuperiores"  nowrap><a href="enlaces.htm" onmouseover="javascript: this.bgcolor=\'#FFFFFF\'; javascript: document.getElementById(\'margaSup9\').style.visibility=\'visible\';" onmouseout="javascript: this.bgcolor=\'#000000\'; javascript: document.getElementById(\'margaSup9\').style.visibility=\'hidden\';">Enlaces&nbsp;&nbsp;</a></td>                           ');
    document.write('     </tr>         ');
    document.write('    </tbody>    ');
    document.write('   </table>      ');
    document.write('  </div>    ');
   	if (anchoTotal()<850)
	  {
		document.write('                   <div style="position:absolute; width:300px; height:40px; z-index:3; left: 573; top:132px"> <ul id="subm5" style="display:none">');  
	  }
	else
	  {
	   document.write('                   <div style="position:absolute; width:300px; height:40px; z-index:3; left: 56%; top:132px"> <ul id="subm5" style="display:none">');
	  }
	document.write('                            <table border="0" cellpadding="0" cellspacing="0" width="100" bgcolor="#9FA9C9">');
    document.write('                             <tr><td width="90%" class="SubBotonesSup"><a href="Lott.htm">&nbsp;&nbsp;LOTT (200 KB)</a></td></tr>');
	document.write('                             <tr><td width="90%" class="SubBotonesSup"><a href="Lott_actualizada.htm">&nbsp;&nbsp;LOTT (500 KB)</a></td></tr>');
	document.write('                             <tr><td width="90%" class="SubBotonesSup"><a href="Rott.htm">&nbsp;&nbsp;ROTT (900 KB)</a></td></tr>');
    document.write('                            </table>');
    document.write('                    </ul></div>');
	if (anchoTotal()<850)
	  {
		document.write('                    <div style="position:absolute; width:200px; height:40px; z-index:3; left: 683; top:132px">');
      }
	else
	  {
		document.write('                    <div style="position:absolute; width:200px; height:40px; z-index:3; left: 66%; top:132px">');
      }
    document.write('                          <ul id="subm6" style="display:none">');
    document.write('                            <table border="0" cellpadding="0" cellspacing="0" width="160" bgcolor="#9FA9C9">');
    document.write('                             <tr><td width="90%" class="SubBotonesSup" bgcolor="#9FA9C9"><a href="Presentacion.htm">&nbsp;&nbsp;&nbsp;Presentaci&oacute;n</a></td></tr>');
    document.write('                             <tr><td width="90%" class="SubBotonesSup" bgcolor="#9FA9C9"><a href="javascript:gogirl(' + "'subm6b'" + ')&#10;&#9;&#9;&#9;&#9;&#9;">&nbsp;&nbsp;&nbsp;Servicios de la Estaci&oacute;n</a></td></tr>');
    document.write('                             <tr><td width="100%">');
    document.write('                               <ul id="subm6b" style="display:none">');
    document.write('                                    <table border="0" cellpadding="0" cellspacing="0" width="100%">');
    document.write('                                       <tr><td width="90%" class="SubBotonesSup"><a href="Informacion.htm">&nbsp;&nbsp;&nbsp;Informaci&oacute;n</a></td></tr>');
    document.write('                                       <tr><td width="90%" class="SubBotonesSup"><a href="Consigna.htm">&nbsp;&nbsp;&nbsp;Servicio de Consigna</a></td></tr>');
    document.write('                                       <tr><td width="90%" class="SubBotonesSup"><a href="Paqueteria.htm">&nbsp;&nbsp;&nbsp;Paqueter&iacute;a</a></td></tr>');
    document.write('                                       <tr><td width="90%" class="SubBotonesSup"><a href="PIC.htm">&nbsp;&nbsp;&nbsp;PIC</a></td></tr>');
    document.write('                                       <tr><td width="90%" class="SubBotonesSup"><a href="infoElectronico.htm">&nbsp;&nbsp;&nbsp;Informaci&oacute;n Electr&oacute;nica</a></td></tr>');
    document.write('                                    </table>');
    document.write('                                 </ul>');
    document.write('                             </td></tr>');
    document.write('                             <tr><td width="90%" class="SubBotonesSup"><a href="actividadesCulturales.htm">&nbsp;&nbsp;&nbsp;Actividades Culturales</a></td></tr>');
    document.write('                             <tr><td width="90%" class="SubBotonesSup"><a href="Tiendas.htm">&nbsp;&nbsp;&nbsp;Tiendas</a></td></tr>');
    document.write('                            </table>');
    document.write('                         </ul></div>');


  }

