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['about_greenerd'] == 'left'){ var menu_3013 = ms.addMenu(document.getElementById('menu_about_greenerd')); } else { var menu_3013 = msleft.addMenu(document.getElementById('menu_about_greenerd')); } menu_3013.addItem("INNOVATIVE HYDRAULIC AND ARBOR PRESS SOLUTIONS", "/about-greenerd/innovative-press-solutions.aspx"); menu_3013.addItem("QUALITY", "/about-greenerd/quality.aspx"); menu_3013.addItem("ENGINEERING EXPERTISE", "/about-greenerd/engineering-expertise.aspx"); menu_3013.addItem("HISTORY", "/about-greenerd/history/default.aspx"); menu_3013.addItem("CUSTOMER SERVICE & SUPPORT", "/about-greenerd/customer-service-support.aspx"); menu_3013.addItem("CONTACT US", "/about-greenerd/contact-us/default.aspx"); var menu_3040 = menu_3013.addMenuLeft(menu_3013.items[5]); menu_3040.addItem("DRIVING DIRECTIONS", "/about-greenerd/contact-us/driving-directions.aspx"); menu_3040.addItem("DEALER LOCATOR", "/about-greenerd/contact-us/dealer-locator.aspx"); menu_3040.addItem("REQUEST A QUOTE", "/about-greenerd/contact-us/request-a-quote.aspx"); TransMenu.renderAll(); }