hMenu = new mainMenu(185, 53, 'H');

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

    addItem('home', 'Home Page', '/admin/news/view/list.php?username=ctc&sys_aid=9');
    with(items['home'])
        {
        imgOut = imgOver = '/btn/out/home.gif';
        imgSel = '/btn/sel/home.gif';
        imgAttributes = 'width=67 height=22';
        }

    addItem('prove', 'Prove di laboratorio', '/prove/laboratori.htm');
    with(items['prove'])
        {
        imgOut = imgOver = '/btn/out/laboratorio.gif';
        imgSel = '/btn/sel/laboratorio.gif';
        imgAttributes = 'width=136 height=22';
        }

    addItem('ricerca', 'ricerca', '/ricerca/ricerca.htm');
    with(items['ricerca'])
        {
        imgOut = imgOver = '/btn/out/ricerca.gif';
        imgSel = '/btn/sel/ricerca.gif';
        imgAttributes = 'width=49 height=22';
        }

    addItem('certificazioni', 'Certificazioni', '/certificazioni/oeko_100/oeko_100.htm');
    with(items['certificazioni'])
        {
        imgOut = imgOver = '/btn/out/certificazioni.gif';
        imgSel = '/btn/sel/certificazioni.gif';
        imgAttributes = 'width=84 height=22';
        }

    addItem('tarature', 'Tarature', '/tarature/iso_9000/iso_9000.htm');
    with(items['tarature'])
        {
        imgOut = imgOver = '/btn/out/tarature.gif';
        imgSel = '/btn/sel/tarature.gif';
        imgAttributes = 'width=63 height=22';
        }

    addItem('gestione', 'Sistemi di gestione', '/gestione/gestione.htm');
    with(items['gestione'])
        {
        imgOut = imgOver = '/btn/out/gestione.gif';
        imgSel = '/btn/sel/gestione.gif';
        imgAttributes = 'width=109 height=22';
        }

    addItem('formazione', 'Formazione', '/formazione/formazione.htm');
    with(items['formazione'])
        {
        imgOut = imgOver = '/btn/out/formazione.gif';
        imgSel = '/btn/sel/formazione.gif';
        imgAttributes = 'width=74 height=22';
        }
    }

