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 + 'display.aspx?page_id=36', '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=13', 'left'); myTest.addLabel('labelBullet', 'Special Events  ', 6, '', '', '', _rootPath + 'display.aspx?page_id=15', 'left'); myTest.addLabel('labelBullet', 'Volunteers  ', 7, '', '', '', _rootPath + 'display.aspx?page_id=16', 'left'); myTest.addLabel('labelBullet', 'Olympus US Open Series  ', 8, '', '', '', _rootPath + 'display.aspx?page_id=41', 'left'); myTest.addLabel('labelBullet', 'Account Manager  ', 9, '', '', '', _rootPath + 'display.aspx?page_id=48', '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].addItem('menuItemBullet', 'Results', null, 250, '#EFF0F1', '#DADADA', _rootPath + 'display.aspx?page_id=29', 'left', 'self'); menus[1].writeMenu(); menus[1].align='left'; menus[2] = new menu(250, 'vertical', '#FFFFFF', ''); menus[2].height = 26; menus[2].addItem('menuItemBullet', 'Ticket Packages', null, 250, '#EFF0F1', '#DADADA', _rootPath + 'display.aspx?page_id=36', 'left', 'self'); menus[2].addItem('menuItemBullet', 'Group Tickets', null, 250, '#EFF0F1', '#DADADA', _rootPath + 'display.aspx?page_id=37', 'left', 'self'); menus[2].addItem('menuItemBullet', 'Single Session Tickets', null, 250, '#EFF0F1', '#DADADA', _rootPath + 'display.aspx?page_id=44', '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].addItem('menuItemBullet', 'Account Manager & Ticket Exchange', null, 250, '#EFF0F1', '#DADADA', _rootPath + 'display.aspx?page_id=45', 'left', 'self'); menus[2].writeMenu(); menus[2].align='left'; menus[3] = new menu(250, 'vertical', '#FFFFFF', ''); menus[3].height = 26; menus[3].addItem('menuItemBullet', 'Singles Field', null, 250, '#EFF0F1', '#DADADA', _rootPath + 'players.aspx', 'left', 'self'); menus[3].addItem('menuItemBullet', 'Doubles Field', null, 250, '#EFF0F1', '#DADADA', _rootPath + 'display.aspx?page_id=52', 'left', 'self'); menus[3].addItem('menuItemBullet', 'Qualifying Field', null, 250, '#EFF0F1', '#DADADA', _rootPath + 'display.aspx?page_id=51', 'left', 'self'); menus[3].writeMenu(); menus[3].align='left'; menus[4] = new menu(250, 'vertical', '#FFFFFF', ''); menus[4].height = 26; menus[4].addItem('menuItemBullet', 'Sponsors', null, 250, '#EFF0F1', '#DADADA', _rootPath + 'sponsors.aspx', 'left', 'self'); 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', 'Media', null, 250, '#EFF0F1', '#DADADA', _rootPath + 'display.aspx?page_id=13', 'left', 'self'); menus[5].addItem('menuItemBullet', 'Media Credential Application', null, 250, '#EFF0F1', '#DADADA', _rootPath + 'display.aspx?page_id=35', 'left', 'self'); menus[5].writeMenu(); menus[5].align='left'; menus[6] = new menu(250, 'vertical', '#FFFFFF', ''); menus[6].height = 26; menus[6].addItem('menuItemBullet', 'Special Events', null, 250, '#EFF0F1', '#DADADA', _rootPath + 'display.aspx?page_id=15', 'left', 'self'); menus[6].addItem('menuItemBullet', 'Casting Call', null, 250, '#EFF0F1', '#DADADA', _rootPath + 'display.aspx?page_id=49', 'left', 'self'); menus[6].writeMenu(); menus[6].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].writeMenu(); menus[7].align='left'; menus[8] = new menu(250, 'vertical', '#FFFFFF', ''); menus[8].height = 26; menus[8].addItem('menuItemBullet', 'Olympus US Open Series Standings', null, 250, '#EFF0F1', '#DADADA', _rootPath + 'display.aspx?page_id=41', 'left', 'self'); menus[8].addItem('menuItemBullet', 'Olympus US Open Series Television', null, 250, '#EFF0F1', '#DADADA', _rootPath + 'display.aspx?page_id=50', 'left', 'self'); menus[8].writeMenu(); menus[8].align='left'; menus[9] = new menu(250, 'vertical', '#FFFFFF', ''); menus[9].height = 26; menus[9].addItem('menuItemBullet', 'Account Manager', null, 250, '#EFF0F1', '#DADADA', _rootPath + 'display.aspx?page_id=48', 'left', 'self'); menus[9].writeMenu(); menus[9].align='left'; menus[10] = new menu(250, 'vertical', '#FFFFFF', ''); menus[10].height = 26; menus[10].addItem('menuItemBullet', 'Contact Us', null, 250, '#EFF0F1', '#DADADA', _rootPath + 'contact.aspx', 'left', 'self'); menus[10].writeMenu(); menus[10].align='left';