mymenu = new POTMenu
// Defines the size of the main menu items, width and height
mymenu.mainmenuitemsize(137,21)
// Defines the size of the sub menu items, width and height
mymenu.submenuitemsize(137,21)
// 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/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(2,2,2)
// These lines are for the sub menu borders
mymenu.subborderimages("images/clearpixel.gif","images/clearpixel.gif","images/clearpixel.gif","images/clearpixel.gif")
mymenu.subbordercorners("images/clearpixel.gif","images/clearpixel.gif","images/clearpixel.gif","images/clearpixel.gif")
mymenu.subborderdimensions(2,2,2)
// Main menu cell color
mymenu.mainmenucolor("#FFCC99")
// Sub menu cell color
mymenu.submenucolor("#FFCC99")
// 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/clearpixel.gif",2)
// This line is required here
mymenu.startMenu()
// Define the main menu.
mymenu.addMenu("home","<b>Portada</b>", "default.aspx")
mymenu.addMenu("instructions","<b>Biografia</b>", "bio.aspx")
mymenu.addMenu("forums","<b>foros</b>", "")
mymenu.addMenu("poems","<b>Poemas</b>", "poemas.aspx")
mymenu.addMenu("order","<b>Comprar</b>", "order.aspx")
mymenu.addMenu("contactar","<b>contactar</b>", "contact.aspx")
// This line is required after the main menu is defined.
mymenu.showMainMenu()
//-- Define the sub menus
mymenu.addSubMenu("forums", "", "<b>Amor, Amor</b>", "http://www.anahilda.com/cgi-bin/yabb/YaBB.pl")
//-- mymenu.addSubMenu("forums", "", "<b></b>", "")
//-- This line is required after all menu definitions are finished
mymenu.showMenu()