// write me if you have questions: web.master@male.net

// constants
var initX       = 80; // x-coordinate of top left corner of dropdown menu 
var initY       = 20; // y-coordinate of top left corner of dropdown menu 
var backColor   = '#E6E6E6'; // the background color of dropdown menu, set empty '' for transparent
var borderColor = 'black'; // the color of dropdown menu border
var borderSize  = '1'; // the width of dropdown menu border
var itemHeight  = 20;
var xOverlap    = 5;
var yOverlap    = 10;
//


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 
230.5, // x coordinate (absolute) of left corner of this menu list, -1 if the coordinate is defined from parent x-coordinate
15.5, // y coordinate (absolute) of left corner of this menu list, -1 if the coordinate is defined from parent y-coordinate
new Array (
'submit a story', '/submissions/index.php/submit',
'view status', '/submissions/index.php/status',
'guidelines', '/submissions/index.php/guidelines',
'edit account', '/submissions/index.php/account'
));

menuContent [1] = new Array ( 
-1, 
-1,
70,
455.5, // x coordinate (absolute) of left corner of this menu list, -1 if the coordinate is defined from parent x-coordinate
15.5, // y coordinate (absolute) of left corner of this menu list, -1 if the coordinate is defined from parent y-coordinate
new Array (
'authors', '/authors.php',
'story archive', '/archive.php'
//,
// 'Link 23', 'http://www.3.net'
));

menuContent [2] = new Array ( 
//0, 
//1,
//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 (
//'Link 111', 'http://www.1.net',
//'Link 112', 'http://www.2.net', 
//'Link 113', 'http://www.3.net'
));

menuContent [3] = new Array ( 
0, 
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 (
'Link 21', 'http://www.1.net',
'Link 22', 'http://www.2.net',
'Link 23', 'http://www.3.net'
));

menuContent [4] = 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 (
'Link 21', 'http://www.1.net',
'Link 22', 'http://www.2.net',
'Link 23', 'http://www.3.net'
));

menuContent [5] = new Array ( 
4, 
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 (
'Link 21', 'http://www.1.net',
'Link 22', 'http://www.2.net', 
'Link 23', 'http://www.3.net'
));



