<!--
YOffset=86;          // The YOffset is the number of pixels that the menu is from the top of the document.
XAlign=2;            // Determines the alignment of the menu to the width of the page.  0 Right 1 Cen 2 Left
XOffset=31;          // The XOffset is the number of pixels that the menu is from the alignment of the menu.
staticYOffset=86;    // The staticYOffset is the minimum number of pixels that the menu is from the top of the browser window. This number cannot be greater than the YOffset.
waitTime=500;        // The length of time in milliseconds that the menu will stay open until closing again.

slideX=1;            // Allows the menu to slide open and closed. 0 off 1 on
slideXSpeed=50;      // The length of time in milliseconds between each menu movement when opening and closing.
slideY=0;            // Allows the menu to scroll with the browser window to stay visible.  0 off 1 on
slideYSpeed=50;      // The length of time in milliseconds between each menu movement to return to the staticYOffset number of pixels from the top of the browser window.
slideOnYOverflow=1;  // Allows the menu to scroll with the browser even if the menu height + staticYOffset is larger than the viewable area of the clients browser window. Turning this off will mean that someone viewing the page will only see the menu scroll if the height of the menu + staticYOffset is smaller than the viewable area of the browser window and if you have the slideY turned on. 0 off 1 on
autoHideXOverflow=1; // Makes the script automatically hide the horizontal scrollbar if it calculates that the menu will go past the boundaries of the page width. 0 off 1 on

targetFrame="";      // Makes all the links on the menu target a specific frame or blank page. Leave it blank if the links are menu to target the same frame or page. You can have your links override this by giving your links are target. The point of this option is to allow the default target for the menu's link to go somewhere but allow you to define some specific link that need to target somewhere else if they have too.
targetDomain="";     // You would use this if you are targetting a domain with a long name and you want to shorten the code. So if you had a menu all going to http://maximus.ravecore.com then you can put targetDomain="http://maximus.ravecore.com" and just put the name of the page you want to target rather than putting the full URL for each link on the menu. URLs on links items that have a protocall on them such as 'http://' will override the targetDomain.
operaFix=0;          // Due to the fact that Opera 6 doesn't not support clipping on layers that means that if you want the menu to be somewhere off the left or rigth edge of the borwser, you would be able to see the contents of the menu. So you would need a fix. '0' means that no fix is done. '1' means that the menu is forced to the left or right of the browser depending on the menuPosition you have. '2' totally hides the menu in Opera. 0 no fix 1 fix 2 hide

menuOpacity=100;     // Due to the fact that Opera 6 doesn't not support clipping on layers that means that if you want the menu to be somewhere off the left or rigth edge of the borwser, you would be able to see the contents of the menu. So you would need a fix. '0' means that no fix is done. '1' means that the menu is forced to the left or right of the browser depending on the menuPosition you have. '2' totally hides the menu in Opera.
menuPosition=1;      // Determines which way the menu will open. "Left" will make the mnu open left to right and "Right" makes the menu open right to left. 0 right to left 1 left side 
menuBGColor="black"; // The color of the background on the menu. It is basically the cellspacing color.
menuWidth=300;       // The menuWidth is the width of the menu items but does not include the width of the menu's bar.

hdrBGColor="black"; // The color of the background on the header items.
hdrPadding=2;         // The number of pixels of padding around the text on each header.
hdrAlign="left";      // The horizontal alignment of the headers in their cells.
hdrVAlign="center";   // The vertical alignment of the headers in their cells.

linkBGColor="#108C08";        // The color of the background on link items.
linkOverBGColor="#808080";  // The color of the background on a link item when the mouse is over it.
linkAlign="left";           // The horizontal alignment of the links in their cells.
linkVAlign="center";        // The vertical alignment of the links in their cells.
linkPadding=1;              // The number of pixels of padding around the text on each link.

barWidth=19;                // The barWidth is the width of the menu's bar. It is suggested that you make the width bigger then the width of the text or make it the exact width of the image you are going to use.
barBGColor="black";       // The color of the background on menu's bar. It may be important to set this value even if you are going to use an image so if the image is smaller than the height of the menu, th color will look right.
barAlign="left";            // The horizontal alignment of the menu's bar.
barVAlign="top";            // The vertical alignment of the menu's bar.
barType=1;                  // Determines whether you are goingto use text on the bar or an image. 0 image 1 text
barText="» Menu";    // This is either the text on the bar OR the URL of the image. If the image is going to be in the same folder of the menu then you only have to put the name of the image file with it's extention.

addHdr("St-Intelligence");
addItem("STI Main", "http://www.st-intelligence.com", "_top");
addItem("Technology Database", "../../begin_tech.php", "_top");
addItem("Federation Tech Report", "st_dom_tech.php", "_top");

addHdr("Computer and Communication Systems");
addItem("Bio-Neural Gelpack", "biogel.php", "_top");
addItem("Computer Core", "core.php", "_top");
addItem("Isolinear Chips", "isolinear.php", "_top");

addHdr("Propulsion Systems");
addItem("Bussard Collectors", "bussard.php", "_top");
addItem("Navigational Deflectors", "deflector.php", "_top");
addItem("Impulse Drive", "impulse.php", "_top");

addHdr("Shipboard Systems");
addItem("Auto-Destruct", "autodestruct.php", "_top");
addItem("Warp Core Ejection", "ejection.php", "_top");
addItem("Starship Landing", "landing.php", "_top");
addItem("Saucer Seperation", "seperation.php", "_top");

addHdr("Weapon Systems");
addItem("Phasers (Shipboard)", "phasers.php", "_top");
addItem("Photon Torpedoes", "photon.php", "_top");
addItem("Quantum Torpedoes", "quantum.php", "_top");

buildMenu();



//-->