sniffBrowsers();
menuItemBullet = new bulletPoint(_rootPath + "images/spacer.gif",_rootPath + "images/spacer.gif");
labelBullet = new bulletPoint(_rootPath + "images/spacer.gif",_rootPath + "images/spacer.gif");
subMenuBullet = new bulletPoint(_rootPath + "images/more.gif",_rootPath + "images/more.gif");
/*******************************************************************************************************************************************************************************************
DOWNDOW MENUS
Please review the sample for instructions on how to add menu options
--------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
menus[3] = new menu(200, 'vertical', '#FFFFFF', '#FFFFFF'); || Perameters of the drop down menu. (menu width, menu style, menu color, menu color)
menus[3].height = 16; || The hieght of each individual menu option.
menus[3].addItem('subMenuBullet', 'Online Employee Access', 7, 200, '#EFF0F1', '#DADADA', _rootPath+'oea/default.htm', 'left', 'self'); || Explained below
menus[3].addItem('menuItemBullet', 'Foreign Area Allowances', null, 200, '#EFF0F1', '#DADADA', _rootPath+'employees/allowances/default.htm', 'left', 'self'); || Explained below
menus[3].writeMenu(); || Draws the menu out
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
menus[3].addItem(Part 1, Part 2, Part 3, Part 4, Part 5, Part 6, Part 7, Part 8, Part 9);
Part 1 = Determines whether or not that this menu option is a drill down or not. The options available are as follows:
subMenuBullet = Drill Down
menuItemBullet = No Drill Down
Part 2 = The Text that will be displayed in the drop down menu
Part 3 = The submenu that will be called if there is a drill down menu. If there is no drill down, the option must be set to "null"
Part 4 = The width of the drop down menu
Part 5 = The color of the drop down menu
Part 6 = The color of the mouse rollover for the menu
Part 7 = The path/link to the page being called. This link must be the virtual path. The _rootPath is calculated in another file. That
variable must always be present, otherwise the link will not work.
Part 8 = The alignment of the text within the menu
Part 9 = The target of the link. Use 'self' for the same window, or user 'new' for a pop-up window to be used.
IMPORTANT INFORMATION
---------------------
menus[3] denotes the menu and must be unique to each menu. The number locate within the brackets is what makes each menu unique and
is what is referred to in Part 3.
*******************************************************************************************************************************************************************************************/
myTest = new menuBar('myTest',990, 'horizontal', '', '');
myTest.addLabel('labelBullet', 'Tournament Info ', 1, '', '', '', _rootPath + 'display.aspx?page_id=1', 'left');
myTest.addLabel('labelBullet', 'Tickets ', 2, '', '', '', _rootPath + 'tickets/default.aspx', 'left');
myTest.addLabel('labelBullet', 'Players ', 3, '', '', '', _rootPath + 'players.aspx', 'left');
myTest.addLabel('labelBullet', 'Sponsors ', 4, '', '', '', _rootPath + 'sponsors.aspx', 'left');
myTest.addLabel('labelBullet', 'Media ', 5, '', '', '', _rootPath + 'display.aspx?page_id=33', 'left');
myTest.addLabel('labelBullet', 'Volunteers ', 7, '', '', '', _rootPath + 'display.aspx?page_id=17', 'left');
myTest.addLabel('labelBullet', 'US Open Series ', 9, '', '', '', _rootPath + 'display.aspx?page_id=21', 'left');
myTest.addLabel('labelBullet', 'Contact Us ', 10, '', '', '', _rootPath + 'contact.aspx', 'left');
myTest.height = 26;
menus[1] = new menu(250, 'vertical', '#FFFFFF', '');
menus[1].height = 26;
menus[1].addItem('menuItemBullet', 'Tournament Information', null, 250, '#EFF0F1', '#DADADA', _rootPath + 'display.aspx?page_id=1', 'left', 'self');
menus[1].addItem('menuItemBullet', 'Travel Information', null, 250, '#EFF0F1', '#DADADA', _rootPath + 'display.aspx?page_id=2', 'left', 'self');
menus[1].addItem('menuItemBullet', 'Tournament Photos', null, 250, '#EFF0F1', '#DADADA', _rootPath + 'photos.aspx', 'left', 'self');
menus[1].addItem('menuItemBullet', 'Tournament History', null, 250, '#EFF0F1', '#DADADA', _rootPath + 'display.aspx?page_id=4', 'left', 'self');
menus[1].addItem('menuItemBullet', 'Past Champions', null, 250, '#EFF0F1', '#DADADA', _rootPath + 'display.aspx?page_id=5', 'left', 'self');
menus[1].writeMenu();
menus[1].align='left';
menus[2] = new menu(250, 'vertical', '#FFFFFF', '');
menus[2].height = 26;
menus[2].addItem('menuItemBullet', 'Box Seats & Packages', null, 250, '#EFF0F1', '#DADADA', _rootPath + 'tickets/default.aspx', 'left', 'self');
menus[2].addItem('menuItemBullet', 'Groups', null, 250, '#EFF0F1', '#DADADA', _rootPath + 'tickets/default.aspx#groups', 'left', 'self');
menus[2].addItem('menuItemBullet', 'Single Session Tickets', null, 250, '#EFF0F1', '#DADADA', _rootPath + 'display.aspx?page_id=8', 'left', 'self');
menus[2].addItem('menuItemBullet', 'Stadium Map', null, 250, '#EFF0F1', '#DADADA', _rootPath + 'tickets/maps.aspx', 'left', 'self');
menus[2].addItem('menuItemBullet', 'Ticket Policies & Information', null, 250, '#EFF0F1', '#DADADA', _rootPath + 'display.aspx?page_id=9', 'left', 'self');
menus[2].addItem('menuItemBullet', 'Hospitality', null, 250, '#EFF0F1', '#DADADA', _rootPath + 'display.aspx?page_id=10', 'left', 'self');
menus[2].writeMenu();
menus[2].align='left';
menus[3] = new menu(250, 'vertical', '#FFFFFF', '');
menus[3].height = 26;
menus[3].writeMenu();
menus[3].align='left';
menus[4] = new menu(250, 'vertical', '#FFFFFF', '');
menus[4].height = 26;
menus[4].addItem('menuItemBullet', 'About Legg Mason', null, 250, '#EFF0F1', '#DADADA', _rootPath + 'display.aspx?page_id=18', 'left', 'self');
menus[4].writeMenu();
menus[4].align='left';
menus[5] = new menu(250, 'vertical', '#FFFFFF', '');
menus[5].height = 26;
menus[5].addItem('menuItemBullet', 'Press Release', null, 250, '#EFF0F1', '#DADADA', _rootPath + 'display.aspx?page_id=33', 'left', 'self');
menus[5].addItem('menuItemBullet', 'Links', null, 250, '#EFF0F1', '#DADADA', _rootPath + 'display.aspx?page_id=13', 'left', 'self');
menus[5].writeMenu();
menus[5].align='left';
menus[7] = new menu(250, 'vertical', '#FFFFFF', '');
menus[7].height = 26;
menus[7].addItem('menuItemBullet', 'Volunteers', null, 250, '#EFF0F1', '#DADADA', _rootPath + 'display.aspx?page_id=16', 'left', 'self');
menus[7].addItem('menuItemBullet', 'Committees & Applications', null, 250, '#EFF0F1', '#DADADA', _rootPath + 'display.aspx?page_id=17', 'left', 'self');
menus[7].writeMenu();
menus[7].align='left';
menus[9] = new menu(250, 'vertical', '#FFFFFF', '');
menus[9].height = 26;
menus[9].writeMenu();
menus[9].align='left';
menus[10] = new menu(250, 'vertical', '#FFFFFF', '');
menus[10].height = 26;
menus[10].writeMenu();
menus[10].align='left';