// constants

var itemHeight  = 17;
var xOverlap    = 1;
var yOverlap    = 0;
//

// Don't change these parameters
var delay        = 200; /////
var menuElement  = new Array ();
var usedWidth    = 0;
var numOfMenus   = 0;
/// ----------------------------

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
1, // the width of current menu list 
280, // x coordinate (absolute) of left corner of this menu list, -1 if the coordinate is defined from parent x-coordinate
52, // y coordinate (absolute) of left corner of this menu list, -1 if the coordinate is defined from parent y-coordinate
new Array (
"Amenities", "viewPast.htm",
"Temporary Open Land", "viewPast_TOL.htm"
//"Delete member's records","DeleteReg1.asp",
//"View member's Profile","#"
));

menuContent [1] = 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
1, // the width of current menu list 
140, // x coordinate (absolute) of left corner of this menu list, -1 if the coordinate is defined from parent x-coordinate
38, // y coordinate (absolute) of left corner of this menu list, -1 if the coordinate is defined from parent y-coordinate
new Array (
"Amenities", "viewBidding_amenities.htm",
"Temporary Open Land", "viewBidding_TOL.htm",
"Government Land Sales", "viewBidding_GLS.htm"
//"View all country category","#"
));

menuContent [2] = new Array ( 
-1, // the id of parent menu, -1 if this is a first level menu
-2, // the number of line in parent menu, -1 if this is a first level menu
1, // the width of current menu list 
45, // x coordinate (absolute) of left corner of this menu list, -1 if the coordinate is defined from parent x-coordinate
52, // y coordinate (absolute) of left corner of this menu list, -1 if the coordinate is defined from parent y-coordinate
new Array (
"Amenities", "viewProperties.htm",
"Temporary Open Land", "viewProperties_TOL.htm"
//"View all country category","#"
//"View all industry categories", "#"
));

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
1, // the width of current menu list 
565, // x coordinate (absolute) of left corner of this menu list, -1 if the coordinate is defined from parent x-coordinate
52, // y coordinate (absolute) of left corner of this menu list, -1 if the coordinate is defined from parent y-coordinate
new Array (
"Amenities", "terms.htm",
"Temporary Open Land", "terms_TOL.htm"
//"View all country category","#"
//"View all industry categories", "#"
));

menuContent [4] = 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
1, // the width of current menu list 
122, // x coordinate (absolute) of left corner of this menu list, -1 if the coordinate is defined from parent x-coordinate
234, // y coordinate (absolute) of left corner of this menu list, -1 if the coordinate is defined from parent y-coordinate
new Array (
"Create new member login", "MemberLoginCreate1.asp",
"Edit/Delete member login", "MemberLoginUpdate1.asp"
));

menuContent [5] = 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
1, // the width of current menu list 
122, // x coordinate (absolute) of left corner of this menu list, -1 if the coordinate is defined from parent x-coordinate
246, // y coordinate (absolute) of left corner of this menu list, -1 if the coordinate is defined from parent y-coordinate
new Array (
"View audit trails", "Audit1.asp"
));

menuContent [6] = new Array ( 
0, // the id of parent menu, -1 if this is a first level menu
3, // the number of line in parent menu, -1 if this is a first level menu
1, // the width of current menu list 
253, // x coordinate (absolute) of left corner of this menu list, -1 if the coordinate is defined from parent x-coordinate
196, // y coordinate (absolute) of left corner of this menu list, -1 if the coordinate is defined from parent y-coordinate
new Array (
"By Industry", "#",
"By Country", "#",
"Profile of JTC members","#"
));

menuContent [7] = new Array ( 
6, // the id of parent menu, -1 if this is a first level menu
2, // the number of line in parent menu, -1 if this is a first level menu
1, // the width of current menu list 
374, // x coordinate (absolute) of left corner of this menu list, -1 if the coordinate is defined from parent x-coordinate
226, // y coordinate (absolute) of left corner of this menu list, -1 if the coordinate is defined from parent y-coordinate
new Array (
"Total Number of JTC members", "javascript:countJTCTenants()",
"Profile of JTC members", "#"
));

menuContent [8] = new Array ( 
2, // the id of parent menu, -1 if this is a first level menu
0, // the number of line in parent menu, -1 if this is a first level menu
1, // the width of current menu list 
274, // x coordinate (absolute) of left corner of this menu list, -1 if the coordinate is defined from parent x-coordinate
210, // y coordinate (absolute) of left corner of this menu list, -1 if the coordinate is defined from parent y-coordinate
new Array (
"Create new industry class", "AddIndustryClass.asp"
));

menuContent [9] = new Array ( 
2, // 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
1, // the width of current menu list 
274, // x coordinate (absolute) of left corner of this menu list, -1 if the coordinate is defined from parent x-coordinate
224, // y coordinate (absolute) of left corner of this menu list, -1 if the coordinate is defined from parent y-coordinate
new Array (
"Modify industry class", "UpdateIndustryClass.asp"
));

menuContent [10] = new Array ( 
2, // the id of parent menu, -1 if this is a first level menu
2, // the number of line in parent menu, -1 if this is a first level menu
1, // the width of current menu list 
274, // x coordinate (absolute) of left corner of this menu list, -1 if the coordinate is defined from parent x-coordinate
238, // y coordinate (absolute) of left corner of this menu list, -1 if the coordinate is defined from parent y-coordinate
new Array (
"Delete industry class", "DeleteIndustryClass1.asp"
));
