// write me if you have questions: web.master@male.ru

// constants
var initX       = 195; // x-coordinate of top left corner of dropdown menu 
var initY       = 134; // y-coordinate of top left corner of dropdown menu 
var backColor   = '#000033'; // the background color of dropdown menu, set empty '' for transparent
var borderColor = 'FF9900'; // the color of dropdown menu border
var borderSize  = '1'; // the width of dropdown menu border
var itemHeight  = 20;
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
167, // 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 (
'The Company', 'about/company.htm',
'In The News', 'about/news.htm'
));

menuContent [1] = new Array ( 
-1, 
-1,
167,
-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 (
'Wireless Internet Services', 'services/wireless.htm',
'Web Hosting', 'services/hosting.htm',
'Web Design', 'services/webdesign.htm',
'Business Network Design', 'services/businessnet.htm',
'Home Networking', 'services/homenet.htm',
'Network Security', 'services/netsecurity.htm',
'VPN Solutions', 'services/vpn.htm',
'Training', 'services/training.htm',
'Video Conferencing', 'services/video.htm'
));

menuContent [2] = new Array ( 
-1, 
-1,
167,
-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 (
'Fast', 'advantage/fast.htm',
'Secure', 'advantage/secure.htm', 
'Reliable', 'advantage/reliable.htm', 
'Always On', 'advantage/alwayson.htm', 
'Quick Installation', 'advantage/installation.htm'
));

menuContent [3] = new Array ( 
1, 
0,
120,
-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 (
'Business', 'services/wireless_business.htm',
'Residential', 'services/wireless_residential.htm'
));
