//XnV=window.open("","informacion","toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbar s=1,resizable=1,copyhistory=0,width=400,height=40");

function ScdIniciaCodigo () {

    // MENUS VERTICALES. Matrices con id's y dimensiones.
    OPCVER[0] = new Array("hoyxx","mpreh","manan","mprem","mxmng","psign","proxi","mprep");
    OPCVER_X0[0] = new Array(27,27,27,27,27,27,27,27);
    OPCVER_Y0[0] = new Array(20,20,20,20,20,20,20,20);

    Yopcverini[0] = 160;

    // ID's de mapas CCAA
    zn = new Array("mpb","and","arn","ast","coo","can","cat","clm","cle","cau","ext","gal","bal","rio","mad","mur","nav","pva","val");

    vermen('predi');
    versub(1,'pccaa');
    verOpcVer(0,'hoyxxid');
    proopi = new Array("p11ti","p12ti","p02ti","p11gi","p15ti");
    czindex('mpbid',0);
    posy('p11tiid',740);
    posy('p12tiid',740);
    posy('p02tiid',740);
    posy('p11giid',740);
    posy('p15tiid',740);
    ver('p11tiid');
    //ver('enlaid'); //Playas de galicia
    ScdVerMapasBase()
    if (document.getElementById){    //Ocultar capas anidadas en Net-6
        ocultar('texto1id');
        ocultar('texto2id');
    }
    ocultar('bannid');
    document.forms[1].elements[1].value="p11t";
    ancho=800;
    alto=700;
}


function ScdVerProductoP (queProducto) {
    document.forms[0].elements[1].value=queProducto;
    if (queProducto == "p11g") { ancho=740; alto=620; }
    else if (queProducto == "p15t") { ancho=500; alto=550; }
    else { ancho=500; alto=400; }
}
function ScdVerProductoR (queRegion) {
    document.mapaform.elements[0].value=queRegion;
    ScdVerProducto();
}
function ScdVerProducto () {
    ScdVentana("","nuevo",0,0,0,1,ancho,alto,0,0);
    document.mapaform.submit();
    varVentanaResultados.self.focus();
}

