// SEE README.TXT FOR FURTHER SYNTAX EXPLANATION !

var menu = 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).
var defOver = '#BCDECC', defBack = '#FFFFFF';

// Default 'length' of menu items - item height if menu is vertical, width if horizontal.
var defLength = 22;

// Menu 0 is the special, 'root' menu from which everything else arises.
menu[0] = new Array();
// A non-vertical menu with a few different colours and no popout indicator, as an example.
// *** MOVE ROOT MENU AROUND HERE ***  it's positioned at (0, 135) and is 30px high now.
menu[0][0] = new Menu(true, '', 0, 160, 30, '#000000', '#000000', '', 'itemText');
// Notice how the targets are all set to nonzero values...
// The 'length' of each of these items is 30, and there is spacing of 50 to the next item.
// Most of the links are set to '#' hashes, make sure you change them to actual files.
menu[0][1] = new Item('<img  src="images/menue_01.jpg" width="90" height="30" border="0" alt="">', 'wirkung/content.html', 'inhalt', 30, 20, 0);
menu[0][2] = new Item('<img  src="images/menue_02.jpg" width="140" height="30" border="0" alt="">', 'infos/produktinfos.html', 'inhalt', 30, 20, 2);
menu[0][3] = new Item('<img  src="images/menue_03.jpg" width="154" height="30" border="0" alt="">', 'tc_salons/content.html', 'inhalt', 30, 20, 0);
menu[0][4] = new Item('<img  src="images/menue_04.jpg" width="106" height="30" border="0" alt="">', 'referenzen/content.html', 'inhalt', 30, 20, 0);
menu[0][5] = new Item('<img  src="images/menue_05.jpg" width="70" height="30" border="0" alt="">', 'presse/fachpresse.html', 'inhalt', 30, 0, 5);

// File menu.
menu[1] = new Array();
// The File menu is positioned 140px across and 0 down from its trigger, and is 80 wide.
// All text in this menu has the stylesheet class 'item' -- see the <style> section above.
// We've passed a 'greater-than' sign '>' as a popout indicator. Try an image...?
menu[1][0] = new Menu(true, '>', 140, 0, 80, defOver, defBack, 'itemBorder', 'itemText');


// Info menu.
menu[2] = new Array();
menu[2][0] = new Menu(true, '>', 140, 0, 100, defOver, defBack, 'itemBorder', 'itemText');
menu[2][1] = new Item('Produktinfos', '../infos/produktinfos.html', 'inhalt', defLength, 0, 0);
menu[2][2] = new Item('Infomaterial', '../infos/infos.html', 'inhalt', defLength, 0, 0);
menu[2][3] = new Item('Bezugsquellen', '../infos/bezugsquellen.php', 'inhalt', defLength, 0, 0);
menu[2][4] = new Item('Werbemittel', '../infos/werbemittel.html', 'inhalt', defLength, 0, 0);
menu[2][5] = new Item('Techn. Hotline', '../infos/hotline.html', 'inhalt', defLength, 0, 0);
menu[2][6] = new Item('Kontakt', '../infos/kontakt.html', 'inhalt', defLength, 0, 0);

// Help menu
menu[3] = new Array();
menu[3][0] = new Menu(true, '<', 40, 0, 80, defOver, defBack, 'itemBorder', 'itemText');


// Reopen menu
menu[4] = new Array();
// This is across but not down... a horizontal popout (with crazy stylesheets :)...
menu[4][0] = new Menu(true, '>', 85, 0, 120, '#000000', '#000000', 'crazyBorder', 'crazyText');
// These items are lengthier than normal, and have extra spacing due to the fancy borders.


// Presse menu.
menu[5] = new Array();
menu[5][0] = new Menu(true, '>', 130, 5, 110, defOver, defBack, 'itemBorder', 'itemText');
menu[5][1] = new Item('Fachpresse', '../presse/fachpresse.html', 'inhalt', defLength, 0, 0);
menu[5][2] = new Item('Publikumspresse', '../presse/publikumspresse.html', 'inhalt', defLength, 0, 0);
menu[5][3] = new Item('Pressespiegel', '../presse/pressespiegel.html', 'inhalt', defLength, 0, 0);
menu[5][4] = new Item('Pressekontakt', '../presse/pressekontakt.html', 'inhalt', defLength, 0, 0);


//  End -->