﻿//
// Syntaxes: *** START EDITING HERE, READ THIS SECTION CAREFULLY! ***
//
// menu[menuNumber][0] = new Menu(Vertical menu? (true/false), 'popout indicator', left, top,
// width, 'mouseover colour', 'background colour', 'border stylesheet', 'text stylesheet');
//
//
// Left and Top are measured on-the-fly relative to the top-left corner of its trigger, or
// for the root menu, the top-left corner of the page.
//
// menu[menuNumber][itemNumber] = new Item('Text', 'URL', 'target frame', length of menu item,
//  additional spacing to next menu item, number of target menu to popout);
//
// If no target menu (popout) is desired, set it to 0. Likewise, if your site does not use
// frames, pass an empty string as a frame target.
//
// Something that needs explaining - the Vertical Menu setup. You can see most menus below
// are 'true', that is they are vertical, except for the first root menu. The 'length' and
// 'width' of an item depends on its orientation -- length is how long the item runs for in
// the direction of the menu, and width is the lateral dimension of the menu. Just look at
// the examples and tweak the numbers, they'll make sense eventually :).

var menu = new Array();

// Menu 0 is the special, 'root' menu from which everything else arises.

menu[0] = new Array();

// Default colours passed to most menu constructors (just passed to functions, not
// a global variable - makes things easier to change later in bulk).
// Default 'length' of menu items - item height if menu is vertical, width if horizontal.


var defLength = 18;
var doubleLength = 32;
var tripleLength = 46;
var qadroLength = 60;

var defOver = '#f8f9f4', defBack = '#f2f3ee'; 

// A non-vertical menu with a few different colours and no popout indicator, as an example.

menu[0][0] = new Menu(false, '', 0, 0, 18, defOver, defBack, '', 'MainMenuText');

menu[0][1] = new Item('MUZIEJAI&nbsp;&nbsp;',           GylisT + 'Muziejai/Muziejai.htm', '',  148, 0, 0, 0);
menu[0][2] = new Item('AKTUALIJOS&nbsp;&nbsp;',         GylisT + 'Aktualijos/aktualijos.htm', '',  148, 0, 0, 1);
menu[0][3] = new Item('LANKYTOJAMS&nbsp;&nbsp;',        GylisT + 'Lankytojams/apie_lietuva.htm', '',  148, 0, 0, 1);
menu[0][4] = new Item('MUZIEJININKAMS&nbsp;&nbsp;',     GylisT + 'Muziejininkams/naujienos.htm', '',  148, 0, 0, 1);
menu[0][5] = new Item('EDUKACIJA&nbsp;&nbsp;',          GylisT + 'Edukacija/edukacija.htm', '',  148, 0, 0, 1);
menu[0][6] = new Item('RESTAURAVIMAS&nbsp;&nbsp;',      GylisT + 'Restauravimas/rest_centrai.htm', '',  148, 0, 0, 1);
menu[0][7] = new Item('VIRTUALI&nbsp;GALERIJA&nbsp;&nbsp;',      GylisT + 'Aktualijos/virtualios_parodos.htm', '',  148, 0, 0, 3);
menu[0][8] = new Item('DUOMENŲ&nbsp;BAZĖS&nbsp;&nbsp;', GylisT + 'D_bazes/d_bazes.htm', '',  148, 0, 0, 3);
menu[0][9] = new Item('NUORODOS&nbsp;&nbsp;',           GylisT + 'Nuorodos/valst_institucijos.htm', '',  148, 0, 0, 1);
menu[0][10] = new Item('TARPTAUTINIS&nbsp;&nbsp;<br/>BENDRADARBIAVIMAS&nbsp;&nbsp;',   GylisT + 'tarpt_bendradarbiavimas/tarpt_organizacijos.htm', '',  148, 0, 0, 3);
menu[0][11] = new Item('LEIDINIAI&nbsp;&nbsp;',         GylisT + 'Leidiniai/liet_muziejai.htm', '',  148, 0, 0, 2);
menu[0][12] = new Item('TEISĖS&nbsp;AKTAI&nbsp;&nbsp;', GylisT + 'Informacija/Teisiniai_aktai.htm', '',  148, 0, 0, 1);

// 1 menu
menu[1] = new Array();
menu[1][0] = new Menu(true, '&nbsp;»', 152, 0, 148, defOver, defBack, 'ItemMenuNoBorder', 'ItemMenuText');
menu[1][1] = new Item('',   '', '', doubleLength, 0, 0);
