// Syntaxes: *** START EDITING HERE, READ THIS SECTION CAREFULLY! ***
//
// menu[menuNumber][0] = new Menu(Vertical menu? (true/false), 'popout indicator', left, top,
// width, 'mouseover colour', 'background colour', 'border stylesheet', 'text stylesheet');
//
// Left and Top are measured on-the-fly relative to the top-left corner of its trigger, or
// for the root menu, the top-left corner of the page.
//
// menu[menuNumber][itemNumber] = new Item('', '', 'target frame', length of menu item,
//  additional spacing to next menu item, number of target menu to popout, cursor style);
// first element should contain TEXT and second element should contain URL.
//
// If no target menu (popout) is desired, set it to 0. Likewise, if your site does not use
// frames, pass an empty string as a frame target.
//
// Something that needs explaining - the Vertical Menu setup. You can see most menus below
// are 'true', that is they are vertical, except for the first root menu. The 'length' and
// 'width' of an item depends on its orientation -- length is how long the item runs for in
// the direction of the menu, and width is the lateral dimension of the menu. Just look at
// the examples and tweak the numbers, they'll make sense eventually :).

var menu = new Array();

// Default colours passed to most menu constructors (just passed to functions, not
// a global variable - makes things easier to change later in bulk).
var normText = '#FFFFFF', normBack = '#FF9900';
var selText = '#FF9900', selBack = '#FFFFFF';
var subNormText = '#FF9900', subNormBack = '#FFFFFF';
var subSelText = '#FFFFFF', subSelBack = '#FF9900';
var separator = true;

// Default 'length' of menu items - item height if menu is vertical, width if horizontal.
var globalHeight = 17;
var subHeight = 21;

menu[0] = new Array();
menu[0][0] = new Menu(false, '', globalHeight, '', 'itemText');
menu[0][1] = new Item('DOWNLOADS', '', '', globalHeight, 1, '', '', 'default');
menu[0][2] = new Item('PRODUCTS', '', '', globalHeight, 2, '', '', 'default');
menu[0][3] = new Item('SUPPORT', '', '', globalHeight,3, '', '', 'default');
menu[0][4] = new Item('COMPANY', '', '', globalHeight, 4, '', '', 'default');
menu[0][5] = new Item('CONTACT', '', '', globalHeight, 5, '', '', 'default');
/*menu[0][8] = new Item('DEVELOPERS', '', '', globalHeight, 8, '', '', 'default');*/

menu[1] = new Array();
menu[1][0] = new Menu(true, '>', globalHeight, 'itemBorder', 'itemText');
menu[1][1] = new Item('Mainsoft SharePoint Integrator for Lotus Notes', 'http://www.mainsoft.com/downloads/mainsoft-sharepoint-integrators-ibm-platforms', '', subHeight, 0, '', '', 'hand');
menu[1][2] = new Item('Mainsoft SharePoint Integrator for WebSphere Portal', 'http://www.mainsoft.com/downloads/mainsoft-sharepoint-integrators-ibm-platforms', '', subHeight, 0, '', '', 'hand');
menu[1][3] = new Item('Mainsoft Document Collaboration for Rational Jazz', 'http://www.mainsoft.com/downloads/jazz', '', subHeight, 0, '', '', 'hand');
menu[1][4] = new Item('Harmony for SharePoint', 'http://harmony.mainsoft.com/content/downloads/harmony-for-sharepoint', '', subHeight, 0, '', '', 'hand');
menu[1][5] = new Item('Harmony for Google Docs', 'http://harmony.mainsoft.com/content/downloads/harmony-for-google-docs', '', subHeight, 0, '', '', 'hand');
menu[1][6] = new Item('Grasshopper', 'http://dev.mainsoft.com/Default.aspx?tabid=177', '', subHeight, 0, '', '', 'hand');


menu[2] = new Array();
menu[2][0] = new Menu(true, '>', globalHeight, 'itemBorder', 'itemText');
menu[2][1] = new Item('Mainsoft SharePoint Integrator for Lotus Notes', 'http://www.mainsoft.com/content/mainsoft-sharepoint-integrator-lotus-notes-overview', '', subHeight,  0, '', '', 'hand');
menu[2][2] = new Item('Mainsoft SharePoint Integrator for Rational Jazz', 'http://www.mainsoft.com/content/mainsoft-document-collaboration-rational-jazz', '', subHeight, 0, '', '', 'hand');
menu[2][3] = new Item('Harmony for SharePoint', 'http://harmony.mainsoft.com/content/harmony-for-sharepoint/features', '', subHeight, 0, '', '', 'hand');
menu[2][4] = new Item('Harmony for Google Docs', 'http://harmony.mainsoft.com/content/harmony-for-google-docs/product-features', '', subHeight, 0, '', '', 'hand');
menu[2][5] = new Item('Grasshopper', 'http://dev.mainsoft.com/Default.aspx', '', subHeight, 0, '', '', 'hand');
menu[2][6] = new Item('Mainsoft SharePoint Integrator for WebSphere Portal', 'http://www.mainsoft.com/content/mainsoft-support-services', '', subHeight, 0, '', '', 'hand');
menu[2][7] = new Item('Mainsoft, Portal Edition', 'http://www.mainsoft.com/content/mainsoft-support-services', '', subHeight, 0, '', '', 'hand');
menu[2][8] = new Item('Mainsoft for UNIX and Linux', 'http://www.mainsoft.com/content/mainsoft-support-services', '', subHeight, 0, '', '', 'hand');

menu[3] = new Array();
menu[3][0] = new Menu(true, '>', globalHeight, 'itemBorder', 'itemText');
menu[3][1] = new Item('Resources', 'http://www.mainsoft.com/content/mainsoft-support-services', '', subHeight, 0, '', '', 'hand');
menu[3][2] = new Item('Customer support site', 'http://vmwsupport.mainsoft.com/XSupport/', '', subHeight, 0, '', '', 'hand');

menu[4] = new Array();
menu[4][0] = new Menu(true, '>', globalHeight, 'itemBorder', 'itemText');
menu[4][1] = new Item('About Mainsoft', 'http://www.mainsoft.com/content/about-mainsoft', '', subHeight, 0, '', '', 'hand');
menu[4][2] = new Item('Executive team', 'http://www.mainsoft.com/content/executive-team', '', subHeight, 0, '', '', 'hand');
menu[4][3] = new Item('Customers', 'http://www.mainsoft.com/content/integrate-sharepoint-lotus-notes-and-lotus-sametime-customers', '', subHeight, 0, '', '', 'hand');
menu[4][4] = new Item('Partners', 'http://www.mainsoft.com/content/mainsofts-partners', '', subHeight, 0, '', '', 'hand');
menu[4][5] = new Item('Press', 'http://www.mainsoft.com/content/in-the-news', '', subHeight, 0, '', '', 'hand');
menu[4][6] = new Item('Announcements', 'http://www.mainsoft.com/content/press-releases', '', subHeight, 0, '', '', 'hand');
menu[4][7] = new Item('Events', 'http://www.mainsoft.com/content/events', '', subHeight, 0, '', '', 'hand');

menu[5] = new Array();
menu[5][0] = new Menu(true, '<', globalHeight, 'itemBorder', 'itemText');
menu[5][1] = new Item('Contact us', 'http://www.mainsoft.com/content/contact-us', '', subHeight, 0, '', '', 'hand');