mymenu = new POTMenu
// Defines the size of the main menu items, width and height
mymenu.mainmenuitemsize(135,16)
// Defines the size of the sub menu items, width and height
mymenu.submenuitemsize(152,16)
// Defines the position of the sub menus in relation to the parent
mymenu.submenuplacing(0,0)
// Images that make up the border of the main menu. Optional.
mymenu.mainborderimages("images/greypixel.gif","images/clearpixel.gif","images/clearpixel.gif","images/greypixel.gif")
// Corners of the images that make up the main menu border.
mymenu.mainbordercorners("images/greypixel.gif","images/greypixel.gif","images/greypixel.gif","images/greypixel.gif")
// Left width, right width and height of the top and bottom of the border
mymenu.mainborderdimensions(1,1,1)
// These lines are for the sub menu borders
mymenu.subborderimages("images/greypixel.gif","images/greypixel.gif","images/greypixel.gif","images/greypixel.gif")
mymenu.subbordercorners("images/greypixel.gif","images/greypixel.gif","images/greypixel.gif","images/greypixel.gif")
mymenu.subborderdimensions(1,1,1)
// Main menu cell color
mymenu.mainmenucolor("#F7F7F4")
mymenu.mainmenucolorov("#FEDCA3")
// Sub menu cell color
mymenu.submenucolor("#F7F7F4")
mymenu.submenucolorov("#FEDCA3")
// Centers text for Netscape 4.7
mymenu.netscapeadjust(3,3)
// The image that is show between the main menu items
mymenu.definemainspacer("images/greypixel.gif",1)
// The image that is show between the sub menu items
mymenu.definesubspacer("images/greypixel.gif",1)
// This line is required here
mymenu.startMenu()
// Define the main menu.
mymenu.addMenu("home","O HOME", "index.htm")
mymenu.addMenu("features","O FEATURES", "features.htm")
mymenu.addMenu("getdemo","O GET DEMO", "getdemo.htm")
mymenu.addMenu("faq","O FAQ", "faq1.htm")
mymenu.addMenu("support","O SUPPORT", "support.htm")
mymenu.addMenu("upgrade","O UPGRADE", "upgrade.htm")
mymenu.addMenu("links","O LINKS", "links.htm")
mymenu.addMenu("news","O NEWS", "upgrade.htm")
mymenu.addMenu("contact","O CONTACT", "contact.htm")
mymenu.addMenu("privacy","O PRIVACY", "privacy.htm")
// This line is required after the main menu is defined.
mymenu.showMainMenu()
// Define the sub menus
mymenu.addSubMenu("features", "", "O RESERVATIONS", "reservations.htm")
mymenu.addSubMenu("features", "", "O DISPATCHING", "dispatching.htm")
mymenu.addSubMenu("features", "", "O ACCOUNTING", "accounting.htm")
mymenu.addSubMenu("features", "", "O WEB RESERVATIONS", "webreservations.htm")
mymenu.addSubMenu("features", "", "O VEHICLE MANAGEMENT", "vehicles.htm")
mymenu.addSubMenu("features", "", "O INTEGRATION", "integration.htm")
mymenu.addSubMenu("features", "", "O REPORTS", "reports.htm")

// This line is required after all menu definitions are finished
mymenu.showMenu()
