// write me if you have questions: web.master@male.net

// constants
var initX       = 265; // x-coordinate of top left corner of dropdown menu 
var initY       = 35; // y-coordinate of top left corner of dropdown menu 
var backColor   = '#999999'; // the background color of dropdown menu, set empty '' for transparent
var borderColor = ''; // the color of dropdown menu border
var borderSize  = '0'; // the width of dropdown menu border
var itemHeight  = 15;
var xOverlap    = 1;
var yOverlap    = 10;
//
menuContent     = new Array ();
// home page menus
	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
	110, // 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 (
	'HISTORY', 'history.html',
	'JOIN OUR FAMILY', 'join_us.asp',
	'TELL A FRIEND', 'bandwagon.asp',
	'DIVERSITY', 'diversity.html'
	));
//sub page ABOUT US MENU
	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
	110, // the width of current menu list 
	270, // x coordinate (absolute) of left corner of this menu list, -1 if the coordinate is defined from parent x-coordinate
	48, // y coordinate (absolute) of left corner of this menu list, -1 if the coordinate is defined from parent y-coordinate
	new Array (
	'HISTORY', 'history.html',
	'JOIN OUR FAMILY', 'join_us.asp',
	'TELL A FRIEND', 'bandwagon.asp',
	'DIVERSITY', 'diversity.html'
	));
//sub page PRODUCTS MENU
	menuContent [2] = 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
	110, // the width of current menu list 
	175, // x coordinate (absolute) of left corner of this menu list, -1 if the coordinate is defined from parent x-coordinate
	48, // y coordinate (absolute) of left corner of this menu list, -1 if the coordinate is defined from parent y-coordinate
	new Array (
	'RETAIL', 'retail_supermarket.asp',
	'CLUB STORES', 'retail_club_stores.asp',
	'MEAL IDEAS', 'retail_meal_ideas.asp',
	'STORE LOCATOR', 'retail_store_locator.asp'
	));
//FOOD SERVICE HOME - products MENU
	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
	130, // the width of current menu list 
	95, // x coordinate (absolute) of left corner of this menu list, -1 if the coordinate is defined from parent x-coordinate
	48, // y coordinate (absolute) of left corner of this menu list, -1 if the coordinate is defined from parent y-coordinate
	new Array (
	'NEW PRODUCTS', 'fs_showcase.asp',
	'FULL PRODUCT LINE', 'fs_product_full.asp',
	'SERVING IDEAS', 'fs_sauceserve.html'
	));	
//FOOD SERVICE HOME - ABOUT US MENU
	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
	105, // the width of current menu list 
	202, // x coordinate (absolute) of left corner of this menu list, -1 if the coordinate is defined from parent x-coordinate
	48, // y coordinate (absolute) of left corner of this menu list, -1 if the coordinate is defined from parent y-coordinate
	new Array (
	'HISTORY', 'history.html',
	'JOIN OUR FAMILY', 'join_us.asp',
	'DIVERSITY', 'diversity.html',
	'CONTACT US', 'fs_contact.asp'
	));
//FOOD SERVICE SUBPAGE - products MENU
	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
	130, // the width of current menu list 
	165, // x coordinate (absolute) of left corner of this menu list, -1 if the coordinate is defined from parent x-coordinate
	48, // y coordinate (absolute) of left corner of this menu list, -1 if the coordinate is defined from parent y-coordinate
	new Array (
	'NEW PRODUCTS', 'fs_showcase.asp',
	'FULL PRODUCT LINE', 'fs_product_full.asp',
	'SERVING IDEAS', 'fs_sauceserve.html'
	));	
//FOOD SERVICE SUBPAGE - ABOUT US MENU
	menuContent [6] = 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
	105, // the width of current menu list 
	275, // x coordinate (absolute) of left corner of this menu list, -1 if the coordinate is defined from parent x-coordinate
	48, // y coordinate (absolute) of left corner of this menu list, -1 if the coordinate is defined from parent y-coordinate
	new Array (
	'HISTORY', 'history.html',
	'JOIN OUR FAMILY', 'join_us.asp',
	'DIVERSITY', 'diversity.html',
	'CONTACT US', 'fs_contact.asp'
	));
// home page menu EXTRANET
	menuContent [7] = 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
	110, // the width of current menu list 
	500, // x coordinate (absolute) of left corner of this menu list, -1 if the coordinate is defined from parent x-coordinate
	31, // y coordinate (absolute) of left corner of this menu list, -1 if the coordinate is defined from parent y-coordinate
	new Array (
	'Business Partners', 'http://extranet.barberfoods.com/BARBERFOODS/BROKPAGE.NSF?OpenDatabase',
	'EDI', 'http://extranet.barberfoods.com/BARBERFOODS/homepage.nsf/05dc94f0e723e60f852565410074c795/64cbdcd673a4195f852568b800574bcb?OpenDocument'
	));	