// JScript source code
// 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 = '#6699cc', defBack = '#336699';
// Default 'length' of menu items - item height if menu is vertical, width if horizontal.
var defLength = 22;

// Menu 0: 'Root' menu from which everything else arises.
menu[0] = new Array();
menu[0][0] = new Menu(false, '', 0, 0, 17, defOver, defBack, 'itemBorder', 'itemText');
menu[0][1] = new Item('Viewfinder\'s Home', pageRoot + 'index.html', '', 130, 0, 0);
menu[0][2] = new Item('Our Photography', pageRoot + 'gallery/', '', 130, 0, 5);
menu[0][3] = new Item('Events &amp; News', pageRoot + 'Events/', '', 130, 0, 1);
menu[0][4] = new Item('Tips &amp; Links', pageRoot + 'Tips_Links/', '', 130, 0, 2);
menu[0][5] = new Item('About The Club', pageRoot + 'Information/', '', 130, 0, 3);
//menu[0][6] = new Item('Members Only', pageRoot + 'membership/', '', 130, 0, 0);
// Events menu.
menu[1] = new Array();
menu[1][0] = new Menu(true, '', 0, 30, 130, defOver, defBack, 'itemBorder', 'itemText');
menu[1][1] = new Item('Calendar', pageRoot + 'scripts/calendar/viewfinders_calendar.cgi', '', defLength, 0, 0);
menu[1][2] = new Item('News', pageRoot + 'scripts/news_archive/archive.cgi', '', defLength, 0, 0);
menu[1][3] = new Item('Exhibition', pageRoot + 'nothere', '_blank', defLength, 0, 0);
menu[1][4] = new Item('Workshops', pageRoot + 'scripts/workshops/workshop_info.cgi', '', defLength, 0, 0);
menu[1][5] = new Item('Challenge Rules', pageRoot + 'Events/challenge-rules.htm', '', defLength, 0, 0);
// Links and Resources menu.
menu[2] = new Array();
menu[2][0] = new Menu(true, '', 0, 30, 130, defOver, defBack, 'itemBorder', 'itemText');
menu[2][1] = new Item('Water', pageRoot + 'Tips_Links/water.htm', '', defLength, 0, 0);
menu[2][2] = new Item('People', pageRoot + 'Tips_Links/people.htm', '', defLength, 0, 0);
menu[2][3] = new Item('Dusk', pageRoot + 'Tips_Links/dusk.htm', '', defLength, 0, 0);
menu[2][4] = new Item('Digital Photography', pageRoot + 'Tips_Links/digital.htm', '', defLength, 0, 0);
menu[2][5] = new Item('Links', pageRoot + 'Tips_Links/Links.htm', '', defLength, 0, 0);

// About Menu
menu[3] = new Array();
menu[3][0] = new Menu(true, '>', 0, 30, 130, defOver, defBack, 'itemBorder', 'itemText');
menu[3][1] = new Item('Club Activities', pageRoot + 'Information/AboutUs.htm', '', defLength, 0, 4);
menu[3][2] = new Item('Membership', pageRoot + 'Information/MembershipInfo.htm', '', defLength, 0, 0);
menu[3][3] = new Item('Where We Meet', pageRoot + 'Information/GettingThere.htm', '', defLength, 0, 0);
menu[3][4] = new Item('Contact Us', pageRoot + 'Information/ContactUs.htm', '', defLength, 0, 0);

menu[4] = new Array();
menu[4][0] = new Menu(true, '', 130, 0, 130, defOver, defBack, 'itemBorder', 'itemText');
menu[4][1] = new Item('Workshops', pageRoot + 'scripts/workshops/workshop_info.cgi', '', defLength, 0, 0);

menu[5] = new Array();
menu[5][0] = new Menu(true, '', 0, 30, 130, defOver, defBack, 'itemBorder', 'itemText');
menu[5][1] = new Item('Member\'s Gallery', pageRoot + 'scripts/gallery/gallery.cgi', '', defLength, 0, 0);
menu[5][2] = new Item('Exhibition 2003', pageRoot + 'exhibition', '', defLength, 0, 0);
menu[5][3] = new Item('You Are (Not) Here', pageRoot + 'nothere', '_blank', defLength, 0, 0);