sniffBrowsers();
menuItemBullet = new bulletPoint("/menubar/bullets/one/menu_off.gif","/menubar/bullets/one/menu_on.gif");
labelBullet = new bulletPoint("/menubar/bullets/one/header_off.gif","/menubar/bullets/one/header_on.gif");
subMenuBullet = new bulletPoint("/menubar/bullets/one/sub_header_off.gif","/menubar/bullets/one/sub_header_on.gif");
var menu_num = 1;

myTest = new menuBar('myTest',2000, 'horizontal', '#b40f01','#b40f01');
myTest.addLabel('menuItemBullet', 'Home', 1, 180,  '#b9c8d4','#ffffdc','/mgcc/default.shtml', 'left');
myTest.addLabel('labelBullet', 'Club Information', 2, 340, '#b9c8d4','#ffffdc',  '', 'left');
myTest.addLabel('labelBullet', 'Registers', 3, 180, '#b9c8d4','#ffffdc',  '', 'left');
myTest.addLabel('labelBullet', 'Competition', 4, 180, '#b9c8d4','#ffffdc',  '', 'left');
myTest.addLabel('labelBullet', 'Calendar', 5, 160, '#b9c8d4','#ffffdc',  '', 'left');
myTest.addLabel('labelBullet', 'Rob Roy', 6, 260, '#b9c8d4','#ffffdc',  '', 'left');
myTest.addLabel('labelBullet', 'Buy and Sell', 7, 420, '#b9c8d4','#ffffdc',  '', 'left');
myTest.addLabel('labelBullet', 'Nat Meets', 8, 260, '#b9c8d4','#ffffdc',  '', 'left');
myTest.addLabel('menuItemBullet', 'Photo Gallery', 9, 340,  '#b9c8d4','#ffffdc','http://gallery.mgcc.info/', 'left');
myTest.height = 16;

menus[menu_num] = new menu(150, 'vertical', '#000000', '#000000');
menus[menu_num].height = 24;
menus[menu_num].writeMenu();
menu_num++;

menus[menu_num] = new menu(150, 'vertical', '#000000', '#000000');
menus[menu_num].height = 24;
menus[menu_num].addItem('menuItemBullet', 'About the club', null, 150, '#b9c8d4', '#ffffdc', '/mgcc/about.shtml', 'left');
menus[menu_num].addItem('menuItemBullet', 'Club contacts', null, 150, '#b9c8d4', '#ffffdc', '/mgcc/contacts.shtml', 'left');
menus[menu_num].addItem('menuItemBullet', 'Download documents', null, 150, '#b9c8d4', '#ffffdc', '/mgcc/documents.shtml', 'left');
menus[menu_num].addItem('menuItemBullet', 'Honour Board', null, 150, '#b9c8d4', '#ffffdc', '/mgcc/honourboard.shtml', 'left');
menus[menu_num].addItem('menuItemBullet', 'Join the MGCC', null, 150, '#b9c8d4', '#ffffdc', 'https://registration.mgcc.com.au/registration.aspx', 'left');
menus[menu_num].addItem('menuItemBullet', 'Membership Info', null, 150, '#b9c8d4', '#ffffdc', '/membership/index.shtml', 'left');
menus[menu_num].addItem('menuItemBullet', 'Membership Renewals', null, 150, '#b9c8d4', '#ffffdc', 'https://registration.mgcc.com.au/', 'left');
menus[menu_num].addItem('menuItemBullet', 'MG Car Clubs', null, 150, '#b9c8d4', '#ffffdc', '/default.htm', 'left');
menus[menu_num].addItem('menuItemBullet', 'Useful Web Links', null, 150, '#b9c8d4', '#ffffdc', '/mgcc/links.shtml', 'left');
menus[menu_num].addItem('menuItemBullet', 'Website updates', null, 150, '#b9c8d4', '#ffffdc', '/mgcc/updates.htm', 'left');
menus[menu_num].writeMenu();
menu_num++;

menus[menu_num] = new menu(130, 'vertical', '#000000', '#000000');
menus[menu_num].height = 24;
menus[menu_num].addItem('menuItemBullet', 'Car Models', null, 130, '#ffffff', '#00ff00', '', 'left');
menus[menu_num].addItem('menuItemBullet', 'MGA', null, 130, '#b9c8d4', '#ffffdc', 'http://mga.mgcc.info/', 'left');
menus[menu_num].addItem('menuItemBullet', 'MGB', null, 130, '#b9c8d4', '#ffffdc', 'http://mgb.mgcc.info/', 'left');
menus[menu_num].addItem('menuItemBullet', 'MGC and V8', null, 130, '#b9c8d4', '#ffffdc', 'http://cv8.mgcc.info', 'left');
menus[menu_num].addItem('menuItemBullet', 'MGFnZ', null, 130, '#b9c8d4', '#ffffdc', 'http://mgf.mgcc.info/', 'left');
menus[menu_num].addItem('menuItemBullet', 'Midget and FWD', null, 130, '#b9c8d4', '#ffffdc', 'http://midget-fwd.mgcc.info/', 'left');
menus[menu_num].addItem('menuItemBullet', 'Pre War', null, 130, '#b9c8d4', '#ffffdc', 'http://prewar.mgcc.info/', 'left');
menus[menu_num].addItem('menuItemBullet', 'T Type', null, 130, '#b9c8d4', '#ffffdc', 'http://www.mgtregister.com/', 'left');
menus[menu_num].addItem('menuItemBullet', 'Y and Magnette', null, 130, '#b9c8d4', '#ffffdc', '/y-magnette/index.html', 'left');
menus[menu_num].addItem('menuItemBullet', 'Other', null, 130, '#ffffff', '#00ff00', '', 'left');
menus[menu_num].addItem('menuItemBullet', 'Ladies', null, 130, '#b9c8d4', '#ffffdc', 'http://www.mgcc.com.au/ladies/index.html', 'left');
menus[menu_num].addItem('menuItemBullet', 'Officials', null, 130, '#b9c8d4', '#ffffdc', 'http://www.twotesvisualimages.info/OffWebPage/main.html', 'left');
menus[menu_num].addItem('menuItemBullet', 'Racing', null, 130, '#b9c8d4', '#ffffdc', 'http://mgracing.mgcc.com.au/', 'left');
menus[menu_num].addItem('menuItemBullet', 'Restorers', null, 130, '#b9c8d4', '#ffffdc', 'http://www.mgcc.com.au/restore/', 'left');
menus[menu_num].addItem('menuItemBullet', 'Touring', null, 130, '#b9c8d4', '#ffffdc', '/touring/touring.html', 'left');
menus[menu_num].writeMenu();
menu_num++;

menus[menu_num] = new menu(240, 'vertical', '#000000', '#000000');
menus[menu_num].height = 24;
menus[menu_num].addItem('menuItemBullet', 'Competition events and results', null, 240, '#b9c8d4', '#ffffdc', '/competition/index.shtml','left');
menus[menu_num].addItem('menuItemBullet', 'Event descriptions and "How tos"', null, 240, '#b9c8d4', '#ffffdc', '/mgb/competition.html','left');
menus[menu_num].addItem('menuItemBullet', 'MG Racer Magazine', null, 240, '#b9c8d4', '#ffffdc', 'http://mgracing.mgcc.com.au/mgracer/', 'left');
menus[menu_num].addItem('menuItemBullet', 'Archive: Full results', null, 240, '#b9c8d4', '#ffffdc', '/competition/results.shtml','left');
menus[menu_num].addItem('menuItemBullet', 'Archive: Outright and Class champions', null, 240, '#b9c8d4', '#ffffdc', '/competition/champions.shtml','left');
menus[menu_num].addItem('menuItemBullet', 'Archive: Track records', null, 240, '#b9c8d4', '#ffffdc', '/competition/records.shtml','left');
menus[menu_num].writeMenu();
menu_num++;

menus[menu_num] = new menu(200, 'vertical', '#000000', '#000000');
menus[menu_num].height = 24;
menus[menu_num].addItem('menuItemBullet', 'Club and Invited events (small)', null, 200, '#b9c8d4', '#ffffdc', '/calendar/calendar.shtml', 'left');
menus[menu_num].addItem('menuItemBullet', 'Club and Invited events (large)', null, 200, '#b9c8d4', '#ffffdc', '/calendar/calendar-wide.shtml', 'left');
menus[menu_num].writeMenu();
menu_num++;

menus[menu_num] = new menu(150, 'vertical', '#000000', '#000000');
menus[menu_num].height = 24;
menus[menu_num].addItem('menuItemBullet', 'Rob Roy home page', null, 130, '#b9c8d4', '#ffffdc', '/robroy/index.shtml', 'left');
menus[menu_num].addItem('menuItemBullet', 'General History', null, 130, '#b9c8d4', '#ffffdc', '/robroy/history.shtml', 'left');
menus[menu_num].addItem('menuItemBullet', 'Old Road Sign', null, 130, '#b9c8d4', '#ffffdc', '/robroy/roadsign.shtml', 'left');
menus[menu_num].addItem('menuItemBullet', 'Outright records', null, 130, '#b9c8d4', '#ffffdc', '/robroy/records.shtml', 'left');
menus[menu_num].addItem('menuItemBullet', 'PBR brake shoes', null, 130, '#b9c8d4', '#ffffdc', '/robroy/shoes/brakeshoes.shtml', 'left');
menus[menu_num].writeMenu();
menu_num++;

menus[menu_num] = new menu(200, 'vertical', '#000000', '#000000');
menus[menu_num].height = 24;
menus[menu_num].addItem('menuItemBullet', '** REGALIA SALES **', null, 140, '#b9c8d4', '#ffffdc', '/regalia/default.asp', 'left');
menus[menu_num].addItem('menuItemBullet', 'Cars for sale', null, 140, '#b9c8d4', '#ffffdc', '/wanted/sell.shtml', 'left');
menus[menu_num].addItem('menuItemBullet', 'Parts for sale', null, 140, '#b9c8d4', '#ffffdc', '/wanted/sellparts.shtml', 'left');
menus[menu_num].addItem('menuItemBullet', 'Wanted', null, 140, '#b9c8d4', '#ffffdc', '/wanted/buy.shtml', 'left');
menus[menu_num].writeMenu();
menu_num++;

menus[menu_num] = new menu(150, 'vertical', '#000000', '#000000');
menus[menu_num].height = 24;
menus[menu_num].addItem('menuItemBullet', 'NatMeet 2009 (VIC)', null, 130, '#b9c8d4', '#ffffdc', 'http://www.mgcc.com.au/natmeet09/default.asp', 'left');
menus[menu_num].addItem('menuItemBullet', 'NatMeet 2010 (SA)', null, 130, '#b9c8d4', '#ffffdc', 'http://natmeet2010.mgccsa.org.au/default.htm', 'left');
menus[menu_num].writeMenu();
menu_num++;

menus[menu_num] = new menu(150, 'vertical', '#000000', '#000000');
menus[menu_num].height = 24;
menus[menu_num].writeMenu();
menu_num++;

menus[1].align='left';
menus[2].align='left';
menus[3].align='left';
menus[4].align='left';
menus[5].align='left';
menus[6].align='left';
menus[7].align='left';
menus[8].align='left';
menus[9].align='left';