mymenu = new POTMenu
// Defines the size of the main menu items, width and height
mymenu.mainmenuitemsize(158,21)
// Defines the size of the sub menu items, width and height
mymenu.submenuitemsize(90,21)
// Defines the position of the sub menus in relation to the parent
mymenu.submenuplacing(0,-10)
// Images that make up the border of the main menu. Optional.
mymenu.mainborderimages("images/clearpixel.gif","images/clearpixel.gif","images/clearpixel.gif","images/clearpixel.gif")
// Corners of the images that make up the main menu border.
mymenu.mainbordercorners("images/clearpixel.gif","images/clearpixel.gif","images/clearpixel.gif","images/clearpixel.gif")
// Left width, right width and height of the top and bottom of the border
mymenu.mainborderdimensions(1,2,2)
// 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(2,3,2)
// Main menu cell color
mymenu.mainmenucolor("#C2D2E3")
// Sub menu cell color
mymenu.submenucolor("#C2D2E3")
// Graphical "join" between a menu and its sub menu. Optional
//mymenu.definejoin("images/join.gif",25)
// Centers text for Netscape 4.7
mymenu.netscapeadjust(3,3)
// The image that is show between the main menu items
mymenu.definemainspacer("images/clearpixel.gif",2)
// The image that is show between the sub menu items
mymenu.definesubspacer("images/greypixel.gif",2)
// This line is required here
mymenu.startMenu()
// Define the main menu.
mymenu.addMenu("HOME","<b>HOME</b>", "index.htm")
mymenu.addMenu("PERSONAL","<b>PERSONAL</b>", "index.htm")
mymenu.addMenu("COMMERCIAL","<b>COMMERCIAL</b>", "index.htm")
mymenu.addMenu("OTHER SERVICES","<b>OTHER SERVICES</b>", "Others.htm")
mymenu.addMenu("LOAN SERVICES","<b>LOAN SERVICES</b>", "loan services.htm")
mymenu.addMenu("INTERNATIONAL BANKING SERVICE","<b>INTERNATIONAL &nbsp;BANKING SERVICES</b>", "international.htm")
mymenu.addMenu("INTERNET BANKING","<b>INTERNET BANKING</b>", "INTERNETBANKING.htm")
mymenu.addMenu("RATES","<b>RATES</b>", "rates.htm")
// This line is required after the main menu is defined.
mymenu.showMainMenu()
// Define the sub menus
mymenu.addSubMenu("PERSONAL", "", "<b>CHECKING</b>", "P_CHECKING.htm")
mymenu.addSubMenu("PERSONAL", "", "<b>SAVINGS</b>", "P_SAVING.htm")
mymenu.addSubMenu("COMMERCIAL", "", "<b>CHECKING</b>", "C_CHECKING.htm")
mymenu.addSubMenu("COMMERCIAL", "", "<b>SAVINGS</b>", "C_SAVING.htm")

// This line is required after all menu definitions are finished
mymenu.showMenu()
