if (TransMenu.isSupported()) { var ms = new TransMenuSet(TransMenu.direction.down, 1, -6, TransMenu.reference.bottomLeft); var msleft = new TransMenuSet(TransMenu.direction.down, -65, -6, TransMenu.reference.bottomLeft); if(preDirection['everything_under_the_sea'] == 'left'){ var menu_3001 = ms.addMenu(document.getElementById('menu_everything_under_the_sea')); } else { var menu_3001 = msleft.addMenu(document.getElementById('menu_everything_under_the_sea')); } menu_3001.addItem("LOBSTER, CRAB & SHRIMP", "/everything-under-the-sea/Lobster--Crab---Shrimp/default.aspx"); var menu_3074 = menu_3001.addMenu(menu_3001.items[0]); menu_3074.addItem("LOBSTER", "/everything-under-the-sea/Lobster--Crab---Shrimp/Lobster.aspx"); menu_3074.addItem("CRAB", "/everything-under-the-sea/Lobster--Crab---Shrimp/Crab.aspx"); menu_3074.addItem("SHRIMP", "/everything-under-the-sea/Lobster--Crab---Shrimp/Shrimp.aspx"); menu_3001.addItem("SHELLFISH", "/everything-under-the-sea/shellfish.aspx"); menu_3001.addItem("FRESH FISH", "/everything-under-the-sea/fresh-fish.aspx"); menu_3001.addItem("SURIMI, AND SMOKED PRODUCTS", "/everything-under-the-sea/surimi-and-smoked-products.aspx"); menu_3001.addItem("FRESH MADE ITEMS", "/everything-under-the-sea/fresh-made-items.aspx"); menu_3001.addItem("FROZEN ITEMS", "/everything-under-the-sea/frozen-items.aspx"); menu_3001.addItem("GOLD LABEL", "/everything-under-the-sea/gold-label.aspx"); menu_3001.addItem("GOLD LABEL SEAFOOD FAVORITES", "/everything-under-the-sea/gold-label-seafood-favorites.aspx"); menu_3001.addItem("BREAD", "/everything-under-the-sea/bread.aspx"); menu_3001.addItem("WHERE ARE OUR FISH FROM", "/everything-under-the-sea/where-are-our-fish-from.aspx"); if(preDirection['for_home'] == 'left'){ var menu_3012 = ms.addMenu(document.getElementById('menu_for_home')); } else { var menu_3012 = msleft.addMenu(document.getElementById('menu_for_home')); } menu_3012.addItem("SPECIALS", "/for-home/specials.aspx"); menu_3012.addItem("SEAFOOD 101", "/for-home/seafood-101.aspx"); menu_3012.addItem("PARTY FAVORITES", "/for-home/party-favorites.aspx"); menu_3012.addItem("RECIPES", "/for-home/recipes.aspx"); menu_3012.addItem("THE GUPPY CLUB", "/for-home/the-guppy-club.aspx"); menu_3012.addItem("HOW TO BUY", "/for-home/how-to-buy.aspx"); if(preDirection['for_business'] == 'left'){ var menu_3019 = ms.addMenu(document.getElementById('menu_for_business')); } else { var menu_3019 = msleft.addMenu(document.getElementById('menu_for_business')); } menu_3019.addItem("RESTAURANTS AND FOOD SERVICE", "/for-business/restaurants-and-food-service.aspx"); menu_3019.addItem("RETAIL AND GROCERY", "/for-business/retail-and-grocery.aspx"); menu_3019.addItem("BROADLINER", "/for-business/broadliner.aspx"); menu_3019.addItem("INSTITUTION AND GOVERNMENT", "/for-business/institution-and-government.aspx"); menu_3019.addItem("DISTRIBUTOR AND WHOLESALER", "/for-business/distributor-and-wholesaler.aspx"); menu_3019.addItem("WHOLESALE SALES TEAM", "/for-business/wholesalesalesteam.aspx"); menu_3019.addItem("HOW TO BECOME A CUSTOMER", "/for-business/customers/default.aspx"); var menu_3050 = menu_3019.addMenu(menu_3019.items[6]); menu_3050.addItem("PRODUCT GUIDE", "/for-business/customers/productguide.aspx"); menu_3050.addItem("NEW CUSTOMER APPLICATION", "/for-business/customers/newcustomerapplication.aspx"); menu_3050.addItem("DELIVERY MAP", "/for-business/customers/delivermap.aspx"); menu_3050.addItem("WHOLESALE SPECIALS", "/for-business/customers/wholesalespecials.aspx"); if(preDirection['food_safety'] == 'left'){ var menu_3028 = ms.addMenu(document.getElementById('menu_food_safety')); } else { var menu_3028 = msleft.addMenu(document.getElementById('menu_food_safety')); } menu_3028.addItem("WHAT MAKES US DIFFERENT", "/food-safety/what-makes-us-different.aspx"); if(preDirection['the_guppy_club'] == 'left'){ var menu_3031 = ms.addMenu(document.getElementById('menu_the_guppy_club')); } else { var menu_3031 = msleft.addMenu(document.getElementById('menu_the_guppy_club')); } menu_3031.addItem("HEALTHY CHOICE", "/the-guppy-club/healthy-choice.aspx"); if(preDirection['about_adelphia'] == 'left'){ var menu_3034 = ms.addMenu(document.getElementById('menu_about_adelphia')); } else { var menu_3034 = msleft.addMenu(document.getElementById('menu_about_adelphia')); } menu_3034.addItem("WHY ADELPHIA", "/about-adelphia/why-adelphia.aspx"); menu_3034.addItem("HISTORY", "/about-adelphia/history.aspx"); menu_3034.addItem("WHERE ARE OUR FISH FROM", "/about-adelphia/where-are-our-fish-from.aspx"); menu_3034.addItem("TESTIMONIALS", "/about-adelphia/testimonials.aspx"); menu_3034.addItem("MANAGEMENT", "/about-adelphia/management.aspx"); menu_3034.addItem("QUALITY CONTROL", "/about-adelphia/quality-control.aspx"); menu_3034.addItem("CAREERS", "/about-adelphia/careers.aspx"); menu_3034.addItem("NEWS/EVENTS", "/about-adelphia/news-events.aspx"); if(preDirection['drop_us_a_line'] == 'left'){ var menu_3044 = ms.addMenu(document.getElementById('menu_drop_us_a_line')); } else { var menu_3044 = msleft.addMenu(document.getElementById('menu_drop_us_a_line')); } menu_3044.addItem("JOIN OUR EMAIL LIST", "/drop-us-a-line/join-our-email-list.aspx"); TransMenu.renderAll(); }