// constants

// x-coordinate of top left corner of dropdown menu 
var initX             = 0; 

// y-coordinate of top left corner of dropdown menu 
var initY             = 121; 

// the background color of dropdown menu (set empty '' for transparent)
var backColor         = '#333366'; 

// the background color of selected menu items, set empty '' for transparent
var activeBackColor   = '#0965A6'; 

// the color of dropdown menu border
var borderColor = '#FFFFFF'; 

// 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, 
0, // 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 (
));

menuContent [1] = new Array ( 
-1, 
-1,
0, // 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 (
));

menuContent [2] = new Array ( 
-1, 
1,
0, // 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 (
));

menuContent [3] = new Array ( 
-1, 
1,
0, // 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 (
));

menuContent [4] = new Array ( 
-1, 
1,
0, // 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 (
));

menuContent [5] = new Array ( 
-1, 
1,
0, // 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 (
));

menuContent [6] = new Array ( 
-1, 
1,
0, // 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 (
));



