//Esta matriz es para que la función abrirURL sepa a donde dirigirse cuando sea invocada desde el menu

var URLS = new Array();

URLS[0]="/";

URLS[1]="/Glosario/glosario.php";

URLS[2]="/AsuntosLegislativos/busquedaBasica";

URLS[3]="/sitiosinte/sitiosinte.php";

URLS[4]="/Congreso/congreso.php?accion=1";

URLS[5]="/Numeralia/Asuntos/index.php";

URLS[6]="/Numeralia/Iniciativas/index.php";

URLS[7]="/Numeralia/Legisladores/index.php";

URLS[8]="/IndexResource/construccion.php";

URLS[9]="/Reportes/Sesion/index.php?Camara=2&Origen=BS";

URLS[10]="/Reportes/Sesion/index.php?Camara=1&Origen=BS";

URLS[11]="/Reportes/Sesion/index.php?Camara=5&Origen=BS";

URLS[12]="/Reportes/Sesion/index.php?Camara=3&Origen=BS";

URLS[13]="/IndexResource/bienvenida/sel.php";

URLS[14]="/Reportes/Sesion/ReporteSesion.php?Camara=2&Origen=US";

URLS[15]="/Reportes/Sesion/ReporteSesion.php?Camara=1&Origen=US";

URLS[16]="/Reportes/Sesion/ReporteSesion.php?Camara=5&Origen=US";

URLS[17]="/Reportes/Sesion/ReporteSesion.php?Camara=3&Origen=US";

URLS[18]="/Reportes/Integracion/HCongreso/index.php";

URLS[19]="/Reportes/Integracion/Comisiones/index.php";

URLS[20]="/Busquedas/Legislador/Nombre/index.php";

URLS[21]="/MapaSitio/mapaSitio.php";

URLS[22]="/IndexResource/contactanos.php";

URLS[23]="/Congreso/congreso.php?accion=2";

URLS[24]="/Congreso/congreso.php?accion=3";

URLS[25]="/Busquedas/Avanzada/index.php";

URLS[26]="/BusquedaInformes/Informes/metodologicos.php";

URLS[27]="/Reportes/Integracion/OrganosGobierno/index.php";

URLS[28]="/Reportes/Integracion/ComisionPermanente/index.php";



function abrirURL(URL)

{

    if(URL>=14 && URL<=17)

    {

        window.open(URLS[URL]);

    }

    else

    {

        window.location.href=URLS[URL];

    }



}
