hMenu = new mainMenu(175, 36, 'H');

with(hMenu)
    {
    fHeight = 20;
    border = 0;
    spacing = -1;
    padding = 0;
    hAlignment = 'left';
    vAlignment = 'top';
    bgColorOut = '';
    bgColorOver = '';
    bgColorSel = '';
    fgColorOut = '';
    fgColorOver = '';
    fgColorSel = '';
    borderColor = '';
    itemTemplate = 'ITEM_IMG';
    targetTemplate = '/index.php?url=ITEM_NAME';

    addItem('hazosp', 'Azienda ospedaliera', '');
    with(items['hazosp'])
        {
        imgOut = imgOver = '/btn/out/azosp.gif';
        imgSel = '/btn/sel/azosp.gif';
        imgAttributes = 'width=112 height=20';
        }

    addItem('hosp', 'Ospedali', '/admin/db/osp.php?cmd=pre&id=1');
    with(items['hosp'])
        {
        imgOut = imgOver = '/btn/out/osp.gif';
        imgSel = '/btn/sel/osp.gif';
        imgAttributes = 'width=55 height=20';
        }


    addItem('hunit', 'Unità operative', '/admin/db/osp.php?cmd=uniele');
    with(items['hunit'])
        {
        imgOut = imgOver = '/btn/out/unit.gif';
        imgSel = '/btn/sel/unit.gif';
        imgAttributes = 'width=85 height=20';
        }

    addItem('hamb', 'Ambulatori e Poliambulatori', '/admin/db/osp.php?cmd=poliele&tipo=o');
    with(items['hamb'])
        {
        imgOut = imgOver = '/btn/out/amb.gif';
        imgSel = '/btn/sel/amb.gif';
        imgAttributes = 'width=140 height=20';
        }

    addItem('hpsic', 'Area psichiatrica', '');
    with(items['hpsic'])
        {
        imgOut = imgOver = '/btn/out/psic.gif';
        imgSel = '/btn/sel/psic.gif';
        imgAttributes = 'width=95 height=20';
        }

    addItem('hnuov', 'Nuovo Ospedale', '');
    with(items['hnuov'])
        {
        imgOut = imgOver = '/btn/out/nuov.gif';
        imgSel = '/btn/sel/nuov.gif';
        imgAttributes = 'width=113 height=20';
        }


    }
