// 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();

// 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 = '#336699', defBack = '#003366';
var defOver2 = '#669999', defBack2 = '#336666';

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

// 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 (10, 145) and is 17px high now.
menu[0][0] = new Menu(true, '', 10, 195, 125, defOver, defBack, '', 'itemText');

// Notice how the targets are all set to nonzero values...
// The 'length' of each of these items is 40, and there is spacing of 10 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(' News/Home', '/index.html', '', 17, 0, 0);
menu[0][2] = new Item(' Resume', '/resume/index.html', '', 17, 0, 0);
menu[0][3] = new Item(' Skill Summary', '/resume/skills.html', '', 17, 0, 0);
// menu[0][4] = new Item(' Services', '/services/index.html', '', 17, 0, 0);
menu[0][4] = new Item(' Contact Info', '/contact.html', '', 17, 0, 0);

// Interests Menu
menu[1] = new Array();
menu[1][0] = new Menu(true, '>', 120, 0, 120, defOver2, defBack2, '', 'itemText2');
menu[1][1] = new Item(' General', '/interests.shtml', '', 17, 0, 0);
menu[1][2] = new Item(' Soccer', '/soccer.shtml', '', 17, 0, 0);


