sniffBrowsers(); labelBullet = new bulletPoint("images/bullet_menuoff.gif","images/bullet_menuon.gif"); labelBullet = new bulletPoint("images/bullet_headeroff.gif","images/bullet_headeron.gif"); subMenuBullet = new bulletPoint("images/bullet_subheaderoff.gif","images/bullet_subheaderon.gif"); dropDownMenu = new menuBar('dropDownMenu', 800, 'horizontal', menulabelSpacerColor, menulabelBorderColor); dropDownMenu.addLabel('subMenuBullet', 'Home', 1, menulabelWidth, menulabelBackgroundOff, menulabelBackgroundOn, 'index.php', menuitemAlignment); dropDownMenu.addLabel('labelBullet', 'Products', 2, menulabelWidth, menulabelBackgroundOff, menulabelBackgroundOn, '#', menuitemAlignment); dropDownMenu.addLabel('labelBullet', 'Equipment', 3, menulabelWidth, menulabelBackgroundOff, menulabelBackgroundOn, '#', menuitemAlignment); dropDownMenu.addLabel('labelBullet', 'Services/Training', 4, menulabelWidth, menulabelBackgroundOff, menulabelBackgroundOn, 'content.php?p=3', menuitemAlignment); dropDownMenu.addLabel('subMenuBullet', 'Contact Us', 5, menulabelWidth, menulabelBackgroundOff, menulabelBackgroundOn, 'content.php?p=2', menuitemAlignment); dropDownMenu.height = fullheight; // HOME MENU menus[1] = new menu(fullwidth, 'vertical', menuitemSpacerColor, menuitemBorderColor); menus[1].height = fullheight; menus[1].writeMenu(); // PRODUCTS MENU menus[2] = new menu(fullwidth, 'vertical', menuitemSpacerColor, menuitemBorderColor); menus[2].height = fullheight; menus[2].addItem('labelBullet', 'Coffee', 22, 600, menuitemBackgroundOff, menuitemBackgroundOn, '#', menulabelAlignment); menus[2].addItem('labelBullet', 'Tea', 23, 600, menuitemBackgroundOff, menuitemBackgroundOn, '#', menulabelAlignment); menus[2].addItem('labelBullet', 'Cleaning Equipment', 24, 600, menuitemBackgroundOff, menuitemBackgroundOn, '#', menulabelAlignment); menus[2].addItem('labelBullet', 'Chocolate', null, 600, menuitemBackgroundOff, menuitemBackgroundOn, 'content.php?p=chocolate', menulabelAlignment); menus[2].addItem('labelBullet', 'Syrups', 25, 600, menuitemBackgroundOff, menuitemBackgroundOn, '#', menulabelAlignment); menus[2].addItem('labelBullet', 'Accessories', null, 600, menuitemBackgroundOff, menuitemBackgroundOn, 'content.php?p=accessories', menulabelAlignment); menus[2].addItem('labelBullet', 'In-Room Amenities', null, 600, menuitemBackgroundOff, menuitemBackgroundOn, 'content.php?p=inroom', menulabelAlignment); menus[2].writeMenu(); // EQUIPMENT MENU menus[3] = new menu(fullwidth, 'vertical', menuitemSpacerColor, menuitemBorderColor); menus[3].height = fullheight; menus[3].addItem('subMenuBullet', 'Espresso', 7, 600, menuitemBackgroundOff, menuitemBackgroundOn, '#', menulabelAlignment); menus[3].addItem('subMenuBullet', 'Automatic Espresso', 17, 600, menuitemBackgroundOff, menuitemBackgroundOn, '#', menulabelAlignment); menus[3].addItem('subMenuBullet', 'Vending', 8, 600, menuitemBackgroundOff, menuitemBackgroundOn, '#', menulabelAlignment); menus[3].addItem('subMenuBullet', 'Grinders', 14, 600, menuitemBackgroundOff, menuitemBackgroundOn, '#', menulabelAlignment); menus[3].writeMenu(); // SERVICES/TRAINING MENU menus[4] = new menu(fullwidth, 'vertical', menuitemSpacerColor, menuitemBorderColor); menus[4].height = fullheight; menus[4].addItem('labelBullet', 'Commercial Services', null, menuitemWidth, menuitemBackgroundOff, menuitemBackgroundOn, 'content.php?p=3', menulabelAlignment); menus[4].addItem('subMenuBullet', 'Barista Training', 6, menuitemWidth, menuitemBackgroundOff, menuitemBackgroundOn, 'content.php?p=3', menulabelAlignment); menus[4].addItem('labelBullet', 'Equipment Service', null, menuitemWidth, menuitemBackgroundOff, menuitemBackgroundOn, 'content.php?p=3', menulabelAlignment); menus[4].writeMenu(); // CONTACT US MENU menus[5] = new menu(fullwidth, 'vertical', menuitemSpacerColor, menuitemBorderColor); menus[5].height = fullheight; menus[5].writeMenu(); // BARISTA TRAINING SUBMENU menus[6] = new menu(fullwidth, 'vertical', menuitemSpacerColor, menuitemBorderColor); menus[6].height = fullheight; menus[6].addItem('labelBullet', 'Commercial', null, menuitemWidth, menuitemBackgroundOff, menuitemBackgroundOn, 'content.php?p=3', menulabelAlignment); menus[6].addItem('labelBullet', 'Domestic', null, menuitemWidth, menuitemBackgroundOff, menuitemBackgroundOn, 'content.php?p=3', menulabelAlignment); menus[6].writeMenu(); // ESPRESSO SUBMENU menus[7] = new menu(fullwidth, 'vertical', menuitemSpacerColor, menuitemBorderColor); menus[7].height = fullheight; menus[7].addItem('subMenuBullet', 'Commercial', 9, menuitemWidth, menuitemBackgroundOff, menuitemBackgroundOn, '#', menulabelAlignment); menus[7].addItem('subMenuBullet', 'Domestic', 10, menuitemWidth, menuitemBackgroundOff, menuitemBackgroundOn, '#', menulabelAlignment); menus[7].writeMenu(); // VENDING SUBMENU menus[8] = new menu(fullwidth, 'vertical', menuitemSpacerColor, menuitemBorderColor); menus[8].height = fullheight; menus[8].addItem('subMenuBullet', 'Fresh Bean', 11, menuitemWidth, menuitemBackgroundOff, menuitemBackgroundOn, 'list.php?p=vending-fb', menulabelAlignment); menus[8].addItem('subMenuBullet', 'Instant', 12, menuitemWidth, menuitemBackgroundOff, menuitemBackgroundOn, 'list.php?p=vending-inst', menulabelAlignment); menus[8].writeMenu(); // ESPRESSO/COMMERCIAL SUBMENU menus[9] = new menu(fullwidth, 'vertical', menuitemSpacerColor, menuitemBorderColor); menus[9].height = fullheight; menus[9].addItem('labelBullet', 'Group 1', null, menuitemWidth, menuitemBackgroundOff, menuitemBackgroundOn, 'list.php?p=ecg1', menulabelAlignment); menus[9].addItem('labelBullet', 'Group 2', null, menuitemWidth, menuitemBackgroundOff, menuitemBackgroundOn, 'list.php?p=ecg2', menulabelAlignment); menus[9].addItem('labelBullet', 'Group 3', null, menuitemWidth, menuitemBackgroundOff, menuitemBackgroundOn, 'list.php?p=ecg3', menulabelAlignment); menus[9].addItem('labelBullet', 'Group 4', null, menuitemWidth, menuitemBackgroundOff, menuitemBackgroundOn, 'list.php?p=ecg4', menulabelAlignment); menus[9].addItem('labelBullet', 'Auto', null, menuitemWidth, menuitemBackgroundOff, menuitemBackgroundOn, 'list.php?p=eca', menulabelAlignment); menus[9].writeMenu(); // ESPRESSO/DOMESTIC SUBMENU menus[10] = new menu(fullwidth, 'vertical', menuitemSpacerColor, menuitemBorderColor); menus[10].height = fullheight; menus[10].addItem('labelBullet', 'Group 1', null, menuitemWidth, menuitemBackgroundOff, menuitemBackgroundOn, 'list.php?p=edg1', menulabelAlignment); menus[10].addItem('labelBullet', 'Auto', null, menuitemWidth, menuitemBackgroundOff, menuitemBackgroundOn, 'list.php?p=eda', menulabelAlignment); menus[10].writeMenu(); // VENDING/FRESH BEAN LIST menus[11] = new menu(fullwidth, 'vertical', menuitemSpacerColor, menuitemBorderColor); menus[11].height = fullheight; menus[11].addItem('labelBullet', 'ETNA Vega 3', null, menuitemWidth, menuitemBackgroundOff, menuitemBackgroundOn, 'product.php?p=ev3', menulabelAlignment); menus[11].addItem('labelBullet', 'NECTA KORO Espresso - Fresh Milk', null, menuitemWidth, menuitemBackgroundOff, menuitemBackgroundOn, 'product.php?p=nkoro', menulabelAlignment); menus[11].addItem('labelBullet', 'SCHAERER Coffee Factory', null, menuitemWidth, menuitemBackgroundOff, menuitemBackgroundOn, 'product.php?p=sfc', menulabelAlignment); menus[11].writeMenu(); // VENDING/INSTANT LIST menus[12] = new menu(fullwidth, 'vertical', menuitemSpacerColor, menuitemBorderColor); menus[12].height = fullheight; menus[12].addItem('labelBullet', 'ETNA LP3 - Vending', null, menuitemWidth, menuitemBackgroundOff, menuitemBackgroundOn, 'product.php?p=elp3', menulabelAlignment); menus[12].writeMenu(); // FULLY AUTOMATIC SUBMEMU menus[13] = new menu(fullwidth, 'vertical', menuitemSpacerColor, menuitemBorderColor); menus[13].height = fullheight; menus[13].addItem('labelBullet', 'Jura', null, menuitemWidth, menuitemBackgroundOff, menuitemBackgroundOn, 'content.php?p=comingsoon', menulabelAlignment); menus[13].addItem('labelBullet', 'Menu 1', null, menuitemWidth, menuitemBackgroundOff, menuitemBackgroundOn, 'content.php?p=comingsoon', menulabelAlignment); menus[13].addItem('labelBullet', 'Menu 2', null, menuitemWidth, menuitemBackgroundOff, menuitemBackgroundOn, 'content.php?p=comingsoon', menulabelAlignment); menus[13].writeMenu(); // GRINDERS SUBMEMU menus[14] = new menu(fullwidth, 'vertical', menuitemSpacerColor, menuitemBorderColor); menus[14].height = fullheight; menus[14].addItem('subMenuBullet', 'Commercial', 15, menuitemWidth, menuitemBackgroundOff, menuitemBackgroundOn, 'list.php?p=grinder-com', menulabelAlignment); menus[14].addItem('subMenuBullet', 'Domestic', 16, menuitemWidth, menuitemBackgroundOff, menuitemBackgroundOn, 'list.php?p=grinder-dom', menulabelAlignment); menus[14].writeMenu(); // GRINDERS/COMMERCIAL SUBMEMU menus[15] = new menu(fullwidth, 'vertical', menuitemSpacerColor, menuitemBorderColor); menus[15].height = fullheight; menus[15].addItem('labelBullet', 'FAEMA MC99 Grinder', null, menuitemWidth, menuitemBackgroundOff, menuitemBackgroundOn, 'product.php?p=fmc99', menulabelAlignment); menus[15].addItem('labelBullet', 'MAZZER Major Grinder', null, menuitemWidth, menuitemBackgroundOff, menuitemBackgroundOn, 'product.php?p=mmg', menulabelAlignment); menus[15].addItem('labelBullet', 'MAZZER Super Jolly Grinder', null, menuitemWidth, menuitemBackgroundOff, menuitemBackgroundOn, 'product.php?p=msjg', menulabelAlignment); menus[15].writeMenu(); // GRINDERS/DOMESTIC SUBMEMU menus[16] = new menu(fullwidth, 'vertical', menuitemSpacerColor, menuitemBorderColor); menus[16].height = fullheight; menus[16].addItem('labelBullet', 'ISOMAC Granmacinino', null, menuitemWidth, menuitemBackgroundOff, menuitemBackgroundOn, 'product.php?p=ig', menulabelAlignment); menus[16].writeMenu(); // EQUIPMENT/SUPER AUTOMATICS SUBMENU menus[17] = new menu(fullwidth, 'vertical', menuitemSpacerColor, menuitemBorderColor); menus[17].height = fullheight; menus[17].addItem('subMenuBullet', 'Schaerer', 18, menuitemWidth, menuitemBackgroundOff, menuitemBackgroundOn, 'list.php?p=aes', menulabelAlignment); menus[17].addItem('subMenuBullet', 'Jura', 19, menuitemWidth, menuitemBackgroundOff, menuitemBackgroundOn, 'list.php?p=aej', menulabelAlignment); menus[17].addItem('subMenuBullet', 'Nuova Simonelli', 20, menuitemWidth, menuitemBackgroundOff, menuitemBackgroundOn, 'list.php?p=aen', menulabelAlignment); menus[17].addItem('subMenuBullet', 'Faema', 21, menuitemWidth, menuitemBackgroundOff, menuitemBackgroundOn, 'list.php?p=aef', menulabelAlignment); menus[17].writeMenu(); // EQUIPMENT/SUPER AUTOMATICS/SCHAERER SUBMENU menus[18] = new menu(fullwidth, 'vertical', menuitemSpacerColor, menuitemBorderColor); menus[18].height = fullheight; menus[18].writeMenu(); // EQUIPMENT/SUPER AUTOMATICS/JURA SUBMENU menus[19] = new menu(fullwidth, 'vertical', menuitemSpacerColor, menuitemBorderColor); menus[19].height = fullheight; menus[19].addItem('labelBullet', 'JURA Impressa X9', null, menuitemWidth, menuitemBackgroundOff, menuitemBackgroundOn, 'product.php?p=jix9', menulabelAlignment); menus[19].addItem('labelBullet', 'JURA Impressa Z5', null, menuitemWidth, menuitemBackgroundOff, menuitemBackgroundOn, 'product.php?p=jiz5', menulabelAlignment); menus[19].writeMenu(); // EQUIPMENT/SUPER AUTOMATICS/NUOVA SIMONELLI SUBMENU menus[20] = new menu(fullwidth, 'vertical', menuitemSpacerColor, menuitemBorderColor); menus[20].height = fullheight; menus[20].addItem('labelBullet', 'Nuovo Simonelli Microbar', null, menuitemWidth, menuitemBackgroundOff, menuitemBackgroundOn, 'product.php?p=nsm', menulabelAlignment); menus[20].writeMenu(); // EQUIPMENT/SUPER AUTOMATICS/FAEMA SUBMENU menus[21] = new menu(fullwidth, 'vertical', menuitemSpacerColor, menuitemBorderColor); menus[21].height = fullheight; menus[21].addItem('labelBullet', 'FAEMA X1 - Granditalia', null, menuitemWidth, menuitemBackgroundOff, menuitemBackgroundOn, 'product.php?p=fx1gi', menulabelAlignment); menus[21].writeMenu(); // PRODUCTS/COFFEE SUBMENU menus[22] = new menu(fullwidth, 'vertical', menuitemSpacerColor, menuitemBorderColor); menus[22].height = fullheight; menus[22].addItem('subMenuBullet', 'Bruno Rossi', null, menuitemWidth, menuitemBackgroundOff, menuitemBackgroundOn, 'list.php?p=cofbru', menulabelAlignment); menus[22].addItem('subMenuBullet', 'Orb', null, menuitemWidth, menuitemBackgroundOff, menuitemBackgroundOn, 'list.php?p=coforb', menulabelAlignment); menus[22].addItem('subMenuBullet', 'Robert Harris', 26, menuitemWidth, menuitemBackgroundOff, menuitemBackgroundOn, '#', menulabelAlignment); menus[22].writeMenu(); // PRODUCTS/COFFEE SUBMENU menus[23] = new menu(fullwidth, 'vertical', menuitemSpacerColor, menuitemBorderColor); menus[23].height = fullheight; menus[23].addItem('subMenuBullet', 'Dilmah', 27, menuitemWidth, menuitemBackgroundOff, menuitemBackgroundOn, '#', menulabelAlignment); menus[23].writeMenu(); // PRODUCTS/CLEANING SUBMENU menus[24] = new menu(fullwidth, 'vertical', menuitemSpacerColor, menuitemBorderColor); menus[24].height = fullheight; menus[24].addItem('subMenuBullet', 'Cafeto Products', null, menuitemWidth, menuitemBackgroundOff, menuitemBackgroundOn, 'content.php?p=cafeto', menulabelAlignment); menus[24].addItem('subMenuBullet', 'Cerebos Greggs Products', null, menuitemWidth, menuitemBackgroundOff, menuitemBackgroundOn, 'content.php?p=cerebus', menulabelAlignment); menus[24].writeMenu(); // PRODUCTS/SYRUPS SUBMENU menus[25] = new menu(fullwidth, 'vertical', menuitemSpacerColor, menuitemBorderColor); menus[25].height = fullheight; menus[25].addItem('subMenuBullet', 'Da Vinci', null, menuitemWidth, menuitemBackgroundOff, menuitemBackgroundOn, 'content.php?p=davinci', menulabelAlignment); menus[25].addItem('subMenuBullet', 'Monin', null, menuitemWidth, menuitemBackgroundOff, menuitemBackgroundOn, 'content.php?p=monin', menulabelAlignment); menus[25].writeMenu(); // PRODUCTS/COFFEE/ROBERT HARRIS SUBMENU menus[26] = new menu(fullwidth, 'vertical', menuitemSpacerColor, menuitemBorderColor); menus[26].height = fullheight; menus[26].addItem('subMenuBullet', 'Premium', null, menuitemWidth, menuitemBackgroundOff, menuitemBackgroundOn, 'content.php?p=cofrobpre', menulabelAlignment); menus[26].addItem('subMenuBullet', 'Standard', null, menuitemWidth, menuitemBackgroundOff, menuitemBackgroundOn, 'content.php?p=cofrobstd', menulabelAlignment); menus[26].writeMenu(); // PRODUCTS/TEAS/DILMAH SUBMENU menus[27] = new menu(fullwidth, 'vertical', menuitemSpacerColor, menuitemBorderColor); menus[27].height = fullheight; menus[27].addItem('subMenuBullet', 'Leaf Teas', 28, menuitemWidth, menuitemBackgroundOff, menuitemBackgroundOn, '#', menulabelAlignment); menus[27].addItem('subMenuBullet', 'Envelope Teas', null, menuitemWidth, menuitemBackgroundOff, menuitemBackgroundOn, 'content.php?p=teaenvelope', menulabelAlignment); menus[27].addItem('subMenuBullet', 'Tagless', null, menuitemWidth, menuitemBackgroundOff, menuitemBackgroundOn, 'content.php?p=teatagless', menulabelAlignment); menus[27].addItem('subMenuBullet', 'Accessories', null, menuitemWidth, menuitemBackgroundOff, menuitemBackgroundOn, 'content.php?p=teaaccessories', menulabelAlignment); menus[27].writeMenu(); // PRODUCTS/TEAS/DILMAH/LEAF TEAS SUBMENU menus[28] = new menu(fullwidth, 'vertical', menuitemSpacerColor, menuitemBorderColor); menus[28].height = fullheight; menus[28].addItem('subMenuBullet', 't Series Gourmet Leaf', null, menuitemWidth, menuitemBackgroundOff, menuitemBackgroundOn, 'content.php?p=dilmahtgourmet', menulabelAlignment); menus[28].addItem('subMenuBullet', 't Series Teabags', null, menuitemWidth, menuitemBackgroundOff, menuitemBackgroundOn, 'content.php?p=dilmahtteabag', menulabelAlignment); menus[28].writeMenu(); menus[1].align='right'; menus[2].align='right'; menus[3].align='left'; menus[4].align='right'; menus[5].align='right'; menus[6].align='right'; menus[7].align='right'; menus[8].align='right'; menus[9].align='right'; menus[10].align='right'; menus[11].align='right'; menus[12].align='right'; menus[13].align='right'; menus[14].align='right'; menus[15].align='right'; menus[16].align='right'; menus[17].align='right'; menus[18].align='right'; menus[19].align='right'; menus[20].align='right'; menus[21].align='right'; menus[22].align='right'; menus[23].align='right'; menus[24].align='right'; menus[25].align='right'; menus[26].align='right'; menus[27].align='right'; menus[28].align='right';