// write me if you have questions: web.master@male.net

// constants
var initX       = 200; // x-coordinate of top left corner of dropdown menu 
var initY       = 125; // y-coordinate of top left corner of dropdown menu 
var backColor   = '#EDEDED'; // the background color of dropdown menu, set empty '' for transparent
var borderColor = 'black'; // the color of dropdown menu border
var borderSize  = '0'; // 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
135, // the width of current menu list 
215, // x coordinate (absolute) of left corner of this menu list, -1 if the coordinate is defined from parent x-coordinate
142, // y coordinate (absolute) of left corner of this menu list, -1 if the coordinate is defined from parent y-coordinate
new Array (
'- mērķi un uzdevumi', '?cmd=uzd',
'- struktūra', '?cmd=asoc',
'- kontakti', '?cmd=kontakti'
));


menuContent [3] = 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
135, // the width of current menu list 
215, // x coordinate (absolute) of left corner of this menu list, -1 if the coordinate is defined from parent x-coordinate
142, // y coordinate (absolute) of left corner of this menu list, -1 if the coordinate is defined from parent y-coordinate
new Array (
'- aims and tasks', '?cmd=uzd',
'- structure', '?cmd=asoc',
'- contacts', '?cmd=kontakti'
));


menuContent [1] = new Array ( 
-1, 
-1,
265,
215, // x coordinate (absolute) of left corner of this menu list, -1 if the coordinate is defined from parent x-coordinate
170, // y coordinate (absolute) of left corner of this menu list, -1 if the coordinate is defined from parent y-coordinate
new Array (
'- nedzīvības apdrošināšanas sabiedrības', '?cmd=nedz',
'- dzīvības apdrošināšanas sabiedrības', '?cmd=dziv'
));

menuContent [4] = new Array ( 
-1, 
-1,
265,
215, // x coordinate (absolute) of left corner of this menu list, -1 if the coordinate is defined from parent x-coordinate
170, // y coordinate (absolute) of left corner of this menu list, -1 if the coordinate is defined from parent y-coordinate
new Array (
'- non-life insurance companies', '?cmd=nedz',
'- life insurance companies', '?cmd=dziv'
));

menuContent [2] = new Array ( 
-1, 
-1,
210,
215, // x coordinate (absolute) of left corner of this menu list, -1 if the coordinate is defined from parent x-coordinate
205, // y coordinate (absolute) of left corner of this menu list, -1 if the coordinate is defined from parent y-coordinate
new Array (
'- ievads aprošināšanā', '?cmd=ievapdros',
'- riska apdrošināšanas veidi', '?cmd=nedzivapdros', 
'- dzīvības apdrošināšanas veidi', '?cmd=dzivapdros',
'- nodokļu atvieglojumi', '?cmd=nodokl', 
'- terminu skaidrojumi', '?cmd=terminu'
));