function janela(URL,width,height,scroll) {
    xmax=screen.width;
    ymax=screen.height-28;
    x=(xmax-(width+12))/2;
    y=(ymax-(height+29))/2;
    if (scroll)
        scr_stat=" scrollbars=yes ";
    else
        scr_stat=" scrollbars=no ";
    features="resizable=no height="+height+" width="+width+" left="+x+" top="+y+scr_stat;
    features=features+"toolbar=no location=no directories=no status=no menubar=no";
    newwin=window.open(URL,null,features);
}
function minmaxmenu(menu,minimiza) {
    obj = eval(minimiza);
    if (obj.innerText == "2") {
        obj.innerText = "1";
        document.getElementById(menu).style.display = "none";
    } else {
        obj.innerText = "2";
        document.getElementById(menu).style.display = "block";
    }
}