
//--------------------------------------------------------------------------------------------
// Función que hace llamado a un menu desplegable.
// <option value="nombre.html">Ejemplo</option>
//--------------------------------------------------------------------------------------------

 function linkOmatic(sel, top) {
        top.location.href = sel.options[sel.selectedIndex].value
      }


//--------------------------------------------------------------------------------------------
// Función que hace llamado a una ventana . 
// <a href="javascript:abreventana('nombre.html')">Ejemplo</a> para reportajes
// <a href="javascript:abrenoticia('nombre.html')">Ejemplo</a> para noticias
//--------------------------------------------------------------------------------------------


function abreventana(reportaje) 
    {
     ventana=window.open(reportaje,'ventana','resizable=no,toolbar=no,scrollbars=no,status=no,width=400,height=340')
    }

      function linkOmatic(sel, top) {
        top.location.href = sel.options[sel.selectedIndex].value
      }

 function abrenoticia(noticia) 
    {
     ventana=window.open(noticia,'ventana','resizable=yes,toolbar=yes,scrollbars=yes,status=yes,width=535,height=340')
    }

      function linkOmatic(sel, top) {
        top.location.href = sel.options[sel.selectedIndex].value
      }


 function ventana(ventana) 
    {
     ventana=window.open(ventana,'ventana','resizable=no,toolbar=no,scrollbars=no,status=no,width=400,height=469')
    }

      function linkOmatic(sel, top) {
        top.location.href = sel.options[sel.selectedIndex].value
      }

 function ventana_pdf(ventana) 
    {
     ventana=window.open(ventana,'ventana','resizable=no,toolbar=no,scrollbars=no,status=no,width=600,height=469')
    }

      function linkOmatic(sel, top) {
        top.location.href = sel.options[sel.selectedIndex].value
      }


 function nocircula(ventana) 
    {
     ventana=window.open(ventana,'ventana','resizable=no,toolbar=no,scrollbars=yes,status=no,width=315,height=375')
    }

      function linkOmatic(sel, top) {
        top.location.href = sel.options[sel.selectedIndex].value
      }




function abreciudad(reportaje) 
    {
     ventana=window.open(reportaje,'abreciudad','resizable=no,toolbar=no,scrollbars=no,status=no,width=599,height=395')
    }

      function linkOmatic(sel, top) {
        top.location.href = sel.options[sel.selectedIndex].value
      }





function abreciudados(reportaje) 
    {
     ventana=window.open(reportaje,'abreciudados','resizable=no,toolbar=no,scrollbars=no,status=no,width=395,height=599')
    }

      function linkOmatic(sel, top) {
        top.location.href = sel.options[sel.selectedIndex].value
      }
