// 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       = 185; // y-coordinate of top left corner of dropdown menu
var backColor   = '#E6E6E6'; // the background color of dropdown menu, set empty '' for transparent
var borderColor = '000080'; // 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        = 400; /////
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
96, // 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 (
'FAQ', 'http://www.sardoc.org/about/faq.asp',
'Organization', 'http://www.sardoc.org/default.asp',
'Documentation', 'http://www.sardoc.org/default.asp',
'Forms', 'http://www.sardoc.org/default.asp'
));

menuContent [2] = new Array (
0, // 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
96,
-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 (
'Board Members', 'http://www.sardoc.org/about/leaders.asp',
'Contact Info', 'http://www.sardoc.org/about/contacts.asp'
));

menuContent [5] = 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
150,
-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 (
'Team Etiquette', 'http://www.sardoc.org/training/docs/DogTeamEtiquette.pdf',
'Candidate Test', 'http://www.sardoc.org/training/docs/CandidateTest.pdf',
'Training Record', 'http://www.sardoc.org/training/docs/BlankK9TrainingRecord.pdf'
));

menuContent [7] = new Array (
0, // the id of parent menu, -1 if this is a first level menu
2, // the number of line in parent menu, -1 if this is a first level menu
150,
-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 (
'Standards', 'http://www.sardoc.org/about/docs/SARDOC_Standards.pdf',
'Policies', 'http://www.sardoc.org/about/docs/SARDOC_Policies.pdf',
'By Laws', 'http://www.sardoc.org/about/docs/SARDOC_ByLaws.pdf',
'Member Levels', 'http://www.sardoc.org/about/docs/MembershipLevels.pdf'
));


menuContent [8] = new Array (
0, // the id of parent menu, -1 if this is a first level menu
3, // the number of line in parent menu, -1 if this is a first level menu
150,
-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 (
'Application', 'http://www.sardoc.org/about/docs/NewMemberApp.pdf',
'New Member Packet', 'http://www.sardoc.org/about/docs/NewMemberPacket.pdf'
));
