

// constants

// x-coordinate of top left corner of dropdown menu 
var initX             = 75; 

// y-coordinate of top left corner of dropdown menu 
var initY             = 65; 

// the background color of dropdown menu (set empty '' for transparent)
var backColor         = '#778899'; 

// the background color of selected menu items, set empty '' for transparent
var activeBackColor   = '#B0C4DE'; 

// the color of dropdown menu border
var borderColor = 'white'; 

// the width of menu border
var borderSize  = '1'; 

// height of menu itesm
var itemHeight  = 20;

// overlapping between 
var xOverlap    = 5;
var yOverlap    = 10;

// end of constants


menuContent     = new Array ();

menuContent [0] = new Array ( 
-1, 
-1, 
120, // 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 (
'File PiRep', '../members/filepirep.php',
'Search Flights', '../members/flightfinder.php',
'My Assignments', '../members/myflights.php',
'ACARS Flights', '../members/realtime.php'
));

menuContent [1] = new Array ( 
-1, 
-1,
120, // 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 (
'My PiReps', '../members/mypireps.php', 
'ACARS Configuration', '../members/myprofile.php', 
'Hub Transfer', '../members/hubtransfer.php', 
'Friend Referral', '../members/referral.php'
));

menuContent [2] = new Array ( 
-1, 
1,
120, // 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 (
'Rosters', '../members/rosters.php', 
'Forums', '../members/new_forum.php?sid=$session_id',
'Hubs', '../members/hubs.php', 
'Fleet', '../members/fleet.php?airline_fleet=ROT'
));

menuContent [3] = new Array ( 
-1, 
1,
120, // 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 (
'Events', '../members/events.php', 
'News', '../members/news.php', 
'Job Opportunities', '../members/jobs.php'
));

menuContent [4] = new Array ( 
-1, 
1,
120, // 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 (
'Links', '../members/links.php', 
'Training', '../members/training.php', 
'Type Ratings & Promotions', '../members/promotions.php'
));