// write me if you have questions: web.master@male.ru

// constants
var initX       = 0; // x-coordinate of top left corner of dropdown menu 
var initY       = 85; // y-coordinate of top left corner of dropdown menu 
var backColor   = '#E6E6E6'; // the background color of dropdown menu, set empty '' for transparent
var borderColor = 'black'; // the color of dropdown menu border
var borderSize  = '1'; // the width of dropdown menu border
var itemHeight  = 15;
var xOverlap    = 5;
var yOverlap    = 10;
//

// Don't change these parameters
var delay        = 500; /////
var menuElement  = new Array ();
var usedWidth    = 0;
var numOfMenus   = 0;
/// ----------------------------

menuContent     = new Array ();

menuContent [0] = new Array ( 
-1, // the id of parent menu, -1 if this is a first level menu
-1, // the number of line in parent menu, -1 if this is a first level menu
100, // the width of current menu list 
-1, // x coordinate (absolute) of left corner of this menu list, -1 if the coordinate is defined from parent x-coordinate
-1, // y coordinate (absolute) of left corner of this menu list, -1 if the coordinate is defined from parent y-coordinate
new Array (
'Contact Info', 'http://www.data-a.com/contact.shtml',
'Corporate Info', 'http://www.data-a.com/about.shtml',
'Partner Info', 'http://www.data-a.com/partner.shtml'
));

menuContent [1] = new Array ( 
-1, 
-1,
101,
-1, // x coordinate (absolute) of left corner of this menu list, -1 if the coordinate is defined from parent x-coordinate
-1, // y coordinate (absolute) of left corner of this menu list, -1 if the coordinate is defined from parent y-coordinate
new Array (
'Solutions for Aerospace', 'http://www.data-a.com/solutions/CD_DVD_aerospace.shtml',
'Solutions for Banking and Finance', 'http://www.data-a.com/solutions/CD_DVD_bank.shtml',
'Solutions for Healthcare', 'http://www.data-a.com/solutions/CD_DVD_health.shtml',
'Solutions for Government and Defense', 'http://www.data-a.com/solutions/CD_DVD_bank.shtml',
'Custom Solutions', 'http://www.data-a.com/solutions/CD_DVD_health.shtml'
));

menuContent [2] = new Array ( 
-1, 
-1,
101,
-1, // x coordinate (absolute) of left corner of this menu list, -1 if the coordinate is defined from parent x-coordinate
-1, // y coordinate (absolute) of left corner of this menu list, -1 if the coordinate is defined from parent y-coordinate
new Array (
'CD Studio', 'http://www.data-a.com/products/cd_studio.shtml', 
'DVD Studio', 'http://www.data-a.com/products/dvd_studio.shtml',
'PowerStudio', 'http://www.data-a.com/products/powerstudio.shtml', 
'MPS4+', 'http://www.data-a.com/products/mps4.shtml',
'DVD-Q Server', 'http://www.data-a.com/products/dvdq-server.shtml',
'iStudio', 'http://www.data-a.com/products/istudio.shtml',
'iJukebox', 'http://www.data-a.com/products/ijukebox.shtml',
'VoD', 'http://www.data-a.com/products/vod.shtml'
));

menuContent [3] = new Array ( 
-1, 
-1,
101,
-1, // x coordinate (absolute) of left corner of this menu list, -1 if the coordinate is defined from parent x-coordinate
-1, // y coordinate (absolute) of left corner of this menu list, -1 if the coordinate is defined from parent y-coordinate
new Array (
'System Purchase', 'http://www.data-a.com/store/buy.shtml',
'Media Purchase', 'http://www.data-a.com/store/index.shtml',
'Information Request', 'http://www.data-a.com/store/register.shtml'
));

menuContent [4] = new Array ( 
1, 
0,
101,
-1, // x coordinate (absolute) of left corner of this menu list, -1 if the coordinate is defined from parent x-coordinate
-1, // y coordinate (absolute) of left corner of this menu list, -1 if the coordinate is defined from parent y-coordinate
new Array (
'Access and Archival Solutions for Aerospace', 'http://www.data-a.com/solutions/aerospace.shtml'
));

menuContent [5] = new Array ( 
1, 
1,
101,
-1, // x coordinate (absolute) of left corner of this menu list, -1 if the coordinate is defined from parent x-coordinate
-1, // y coordinate (absolute) of left corner of this menu list, -1 if the coordinate is defined from parent y-coordinate
new Array (
'Access and Archival Solutions for Banking and Finance', 'http://www.data-a.com/solutions/bank.shtml'
));


