// write me if you have questions: web.master@male.ru

// constants
var initX       = 2; // x-coordinate of top left corner of dropdown menu 
var initY       = 125; // y-coordinate of top left corner of dropdown menu 
var backColor   = '#ffffff'; // the background color of dropdown menu, set empty '' for transparent
var borderColor = '#3C3C3C'; // the color of dropdown menu border
var borderSize  = '1'; // the width of dropdown menu border
var itemHeight  = 20;
var xOverlap    = 5;
var yOverlap    = 5;
//C0C0C0
//

// Don't change these parameters
var delay        = 350; /////
var menuElement  = new Array ();
var usedWidth    = 0;
var numOfMenus   = 0;
/// ----------------------------

menuContent     = new Array ();

//MENU1 HOME
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
60, // 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 (
'Home', 'http://www.healthworkforce.org/index.htm',
'Site Map', 'http://www.healthworkforce.org/sitemap.htm'
));

//MENU2 ABOUT THE CENTER
menuContent [1] = new Array ( 
-1, 
-1,
125,
-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 (
'About The Center', 'http://www.healthworkforce.org/about/index.htm',
'Advisory Committee', 'http://www.healthworkforce.org/about/committee.htm',
'Center Staff', 'http://www.healthworkforce.org/about/staff.htm',
'Contact Us', 'http://www.healthworkforce.org/about/contact.htm'
));

//MENU2 ABOUT THE CENTER - SUBMENU2 ADV COUNCIL RESOURCES
menuContent [2] = 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
125, // 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 (
'Committee Resources', 'http://www.healthworkforce.org/about/committee-resources.htm'
));

//MENU3 GRANTS
menuContent [3] = new Array ( 
-1, 
-1,
67,
-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 (
'Workforce Development Grant', 'http://www.healthworkforce.org/grants/wf-dev-grant.htm',
'NIH Programs', 'http://www.healthworkforce.org/grants/nih.htm'
//'Grants 3', 'http://www.healthworkforce.org/grants/'
));

//MENU4 DATA & INFO
menuContent [4] = new Array ( 
-1, 
-1, 
99,
-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 (
'Recruitment &amp; Retention Guide', 'http://www.healthworkforce.org/guide/index.htm',
'Tennessee Data', 'http://www.healthworkforce.org/data/tenn-data.htm',
'Supply & Demand', 'http://www.healthworkforce.org/data/supply.htm',
'HRSA Profiles', 'http://www.healthworkforce.org/data/hrsa.htm',
'National Data', 'http://www.healthworkforce.org/data/national-data.htm'
));

//MENU5 ADVOCACY
menuContent [5] = new Array ( 
-1, 
-1,
82,
-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 (
'Nurse Reinvestment Act', 'http://www.healthworkforce.org/advocacy/index.htm'
//'Advocacy 2', 'http://www.healthworkforce.org/advocacy/',
//'Advocacy 3', 'http://www.healthworkforce.org/advocacy/'
));

//MENU6 RESOURCES
menuContent [6] = new Array ( 
-1, 
-1,
95,
-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 (
'Recruitment &amp; Retention Guide', 'http://www.healthworkforce.org/guide/index.htm',
'Data &amp; Info', 'http://www.healthworkforce.org/data/index.htm', 
'Careers Toolkit', 'http://www.healthworkforce.org/resources/index.htm',
'Ideas in Action', 'http://www.healthworkforce.org/resources/ideas.htm',
'Current Projects', 'http://www.healthworkforce.org/resources/projects.htm',
'Career Moves', 'http://www.tha.com/career/index.htm target=blank'
));

//MENU7 EDUCATION
menuContent [7] = new Array ( 
-1, 
-1,
84,
-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 (
'Event Calendar', 'http://www.healthworkforce.org/education/index.htm', 
'Nurse Mgrs. Program', 'http://www.healthworkforce.org/education/nurse-mgr.htm'
));



