function popupfull_a(page)
    {
        w = (window.screen.width - 10);
        h = (window.screen.height- 60);
        scrollb = 'no';

    l = (window.screen.width - (w + 10))/2;
    t = (window.screen.height - (h + 15 + 42))/2;
    settings = 'scrollbars=' + scrollb + ',resizable=no,status=no,menubar=no,width=' + w + ',height=' + h + ',left='
                 + l + ',top=' + t + ',screenX=' + l + ',screenY=' + t;
    win = window.open(page, 'popupfull_a', settings);
    win.focus();
    }

function popupleiras(page, w, h, scroll)
    {
    if (w == null)
        {
        w = 790;
        }

    if (h == null)
        {
        h = 540;
        }


    if (scroll == null)
        {
        scroll = 'yes';
        }

    l = (window.screen.width - (w + 10))/2;
    t = (window.screen.height - (h + 78))/2;
    settings = 'scrollbars=' + scroll + ',resizable=no,status=no,menubar=yes,width=' + w + ',height=' + h + ',left='+ l + ',top=' + t + ',screenX=' + l + ',screenY=' + t;
    win = window.open(page, 'popupleiras', settings);
    win.focus();
    } 


function popupleiras2(page, w, h, scroll)
    {
    if (w == null)
        {
        w = 790;
        }

    if (h == null)
        {
        h = 540;
        }


    if (scroll == null)
        {
        scroll = 'yes';
        }

    l = (window.screen.width - (w + 10))/2;
    t = (window.screen.height - (h + 78))/2;
    settings = 'scrollbars=' + scroll + ',resizable=no,status=no,menubar=yes,width=' + w + ',height=' + h + ',left='+ l + ',top=' + t + ',screenX=' + l + ',screenY=' + t;
    win = window.open(page, 'popupleiras2', settings);
    win.focus();
    } 
