
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 = "/img/menu/arrow.gif";
	subimagepadding = "2";
	overfilter = "";
	outfilter = "";
}

// define the main menu
with (milonic = new menuname("menu0")) {
	alwaysvisible = 1;
	left = 176;
	orientation = "horizontal";
	style = AllImagesStyle;
	top = 0;
	aI("image=/img/menu/item_1_0.jpg;overimage=/img/menu/item_1_1.jpg;showmenu=menu1;url=;");
	aI("image=/img/menu/item_2_0.jpg;overimage=/img/menu/item_2_1.jpg;showmenu=menu2;url=;");
	aI("image=/img/menu/item_3_0.jpg;overimage=/img/menu/item_3_1.jpg;showmenu=menu3;url=;");
	aI("image=/img/menu/item_4_0.jpg;overimage=/img/menu/item_4_1.jpg;showmenu=menu4;url=;");
	aI("image=/img/menu/item_5_0.jpg;overimage=/img/menu/item_5_1.jpg;showmenu=menu5;url=;");
	aI("image=/img/menu/item_6_0.jpg;overimage=/img/menu/item_6_1.jpg;url=/en/about/contact.aspx;");
}

// define the first-tier menus
with (milonic = new menuname("menu1")) {
	itemwidth = 106;
	style = menuStyle;
	alignment = "left";
	aI("text=About Syngenta;url=/en/about/about.aspx;");
	aI("text=Environmental Stewardship;url=/en/stewardship/default.aspx;");
	aI("text=Sponsorships;url=/en/about/Sponsorships.aspx;");
	aI("text=Careers;url=/en/about/employ.aspx;");
	//aI("text=Customer Service;showmenu=menu1_5;url=;");
	aI("text=Contact Us;url=/en/about/contact.aspx;");   
}

with (milonic = new menuname("menu2")) {
	itemwidth = 102;
	style = menuStyle;
	alignment = "left";
	aI("text=Labels & MSDS;url=/en/labels/index.asp;");
	aI("text=Products;url=/en/prod/prodlist.aspx;");
}

with (milonic = new menuname("menu3")) {
	itemwidth = 107;
	style = menuStyle;
	alignment = "left";
	aI("text=Barley;url=/en/crop/barley/");
	aI("text=Canola;url=/en/crop/canola/");
	aI("text=Corn;url=/en/crop/corn/");
	aI("text=Potatoes;url=/en/crop/potatoes/");
	aI("text=Pulse Crops;url=/en/crop/Pulse/");
	aI("text=Soybeans;url=/en/crop/soybeans/");
	aI("text=Wheat;url=/en/crop/wheat/");
}

with (milonic = new menuname("menu4")) {
	itemwidth = 105;
	style = menuStyle;
	alignment = "left";
	aI("text=Pest Alerts;url=/en/info/alerts.aspx;");
	aI("text=Agronomic Resources;url=/farm");
	aI("text=Best Practices;showmenu=menu4_3;url=;");
}
//	aI("text=Agronomic Resources;url=http://www.sngenta.ca/farm/english/index.asp;target=_blank");
with (milonic = new menuname("menu5")) {
	itemwidth = 104;
	style = menuStyle;
	alignment = "left";
	aI("text=What's New;url=/en/media/whatsnew.aspx;");
	
	aI("text=Resource Centre;url=/en/media/resourcecentre.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();
