
fixMozillaZIndex = true; //Fixes Z-Index problem  with Mozilla browsers but causes odd scrolling problem, toggle to see if it helps
_menuCloseDelay = 500;
_menuOpenDelay = 150;
_subOffsetTop = 2;
_subOffsetLeft = -2;

// define the image (main) menu style
with (AllImagesStyle = new mm_style()) {
	styleid = 1;
	bordercolor = "#000000";
	borderstyle = "solid";
	fontstyle = "normal";
	fontweight = "normal";
	padding = 3;
}

// define the text menu style
with (menuStyle = new mm_style()) {
	onbgcolor = "#cccc99";
	oncolor = "#ffffff";
	offbgcolor = "#ffffff";
	offcolor = "#000000";
	bordercolor = "#cccc99";
	borderstyle = "solid";
	borderwidth = 1;
	separatorcolor = "";
	separatorsize = "";
	padding = 4;
	fontsize = "11px";
	fontstyle = "normal"; // font style (italic or normal)
	fontfamily = "verdana, tahoma, arial"; // font name
	pagecolor = "#ffffff";
	pagebgcolor = "#cccc99";
	headercolor = "";
	headerbgcolor = "";
	subimage = "/en/img/menu/arrow.gif";
	subimagepadding = "2";
	overfilter = "";
	outfilter = "";
}

// define the main menu
with (milonic = new menuname("menu0")) {
	alwaysvisible = 1;
	left = 214;
	orientation = "horizontal";
	style = AllImagesStyle;
	top = 41;
	//aI("image=/en/img/menu/item_1_0.gif;overimage=/en/img/menu/item_1_1.gif;showmenu=menu1;url=;");
	aI("image=/en/img/menu/item_1_0.gif;overimage=/en/img/menu/item_1_1.gif;showmenu=menu1;url=/en/About.aspx;");
	aI("image=/en/img/menu/item_2_0.gif;overimage=/en/img/menu/item_2_1.gif;showmenu=menu2;url=/en/News.aspx;");
	aI("image=/en/img/menu/item_3_0.gif;overimage=/en/img/menu/item_3_1.gif;showmenu=menu3;url=/en/Products.aspx;");
	aI("image=/en/img/menu/item_4_0.gif;overimage=/en/img/menu/item_4_1.gif;showmenu=menu4;url=/en/irm.aspx;");
	aI("image=/en/img/menu/item_5_0.gif;overimage=/en/img/menu/item_5_1.gif;showmenu=menu5;url=/en/Contact.aspx;");
}

// define the first-tier menus
with (milonic = new menuname("menu1")) {
	itemwidth = 106;
	style = menuStyle;
	alignment = "left";
	//aI("text=About Us;url=/en/about.aspx;");
	
}

with (milonic = new menuname("menu2")) {
	itemwidth = 102;
	style = menuStyle;
	alignment = "left";
	aI("text=Agronomic News;url=/en/Agronomics.aspx;");
	aI("text=Featured Products;url=/en/featuredprod.aspx;");	
	aI("text=Field Updates;url=/en/Fieldupdate.aspx;");	
	aI("text=News Releases;url=/en/Releases.aspx;");
}

with (milonic = new menuname("menu3")) {
	itemwidth = 107;
	style = menuStyle;
	alignment = "left";	
    //
	aI("text=Corn;url=/en/products.aspx?prod_type=corn;");
	aI("text=Soybeans;url=/en/products.aspx?prod_type=soybeans;");
	aI("text=Forage;url=/en/products.aspx?prod_type=forage;");
	aI("text=Product Guides;url=/en/products.aspx?prod_type=guide;");
}

with (milonic = new menuname("menu4")) {
	itemwidth = 105;
	style = menuStyle;
	alignment = "left";
	aI("text=IRM/Stewardship;url=/en/irm.aspx;");	
	aI("text=Agronomy Bulletins;url=/en/agrobulletin.aspx;");
}

with (milonic = new menuname("menu5")) {
	itemwidth = 104;
	style = menuStyle;
	alignment = "left";
	aI("text=Contact Us;url=/en/contact.aspx;");	
	aI("text=Dealer Locator;url=/en/locator.aspx;");
}

// define the second-tier menus
/*
with (milonic = new menuname("menu1_5")) {
	itemwidth = 106;
	style = menuStyle;
	alignment = "left";
	aI("text=Customer Service Desk;url=;");
	aI("text=Email Us;url=;");
}

with (milonic = new menuname("menu4_3")) {
	itemwidth = 105;
	style = menuStyle;
	alignment = "left";
	aI("text=Overview;url=/en/info/Pracitices.aspx;");
	aI("text=Integrated Pest Management;url=/en/info/ipm.aspx;");
	aI("text=Biotechnology;url=/en/info/biotech.aspx;");
	aI("text=Application Tips;url=/en/info/apptips.aspx;");
	aI("text=Protecting Water Quality;url=/en/stewardship/waterquality.aspx;");
}
*/

drawMenus();
