var menuMgr = new NlsMenuManager("mgr"); menuMgr.defaultEffect="aoslide"; var menucrops = menuMgr.createMenu("crops"); menucrops.showIcon = false; menucrops.addItem("1", "Alfalfa", "/crop/alfalfa"); menucrops.addSeparator(); menucrops.addItem("2", "California Rice", "/crop/california-rice"); menucrops.addSeparator(); menucrops.addItem("3", "Corn", "/crop/corn"); menucrops.addSeparator(); menucrops.addItem("4", "Corn - Field", "/crop/corn----field"); menucrops.addSeparator(); menucrops.addItem("5", "Corn - Pop", "/crop/corn----pop"); menucrops.addSeparator(); menucrops.addItem("6", "Corn - Seed", "/crop/corn----seed"); menucrops.addSeparator(); menucrops.addItem("7", "Corn - Sweet", "/crop/corn----sweet"); menucrops.addSeparator(); menucrops.addItem("8", "Cotton", "/crop/cotton"); menucrops.addSeparator(); menucrops.addItem("9", "Delta Rice", "/crop/delta-rice"); menucrops.addSeparator(); menucrops.addItem("10", "Fruits Nuts Trees and Vegetables", "/crop/fruits-nuts-trees-and-vegetables"); menucrops.addSeparator(); menucrops.addItem("11", "Potatoes", "/crop/potatoes"); menucrops.addSeparator(); menucrops.addItem("12", "Small Grains", "/crop/small-grains"); menucrops.addSeparator(); menucrops.addItem("13", "Sorghum", "/crop/sorghum"); menucrops.addSeparator(); menucrops.addItem("14", "Soybeans", "/crop/soybeans"); menucrops.addSeparator(); menucrops.addItem("15", "Sunflowers", "/crop/sunflowers"); menucrops.addSeparator(); menucrops.addItem("16", "Tobacco", "/crop/tobacco"); menucrops.addSeparator(); menucrops.dropShadow("none"); var menuinsectsweeds=menuMgr.createMenu("insectsweeds"); menuinsectsweeds.showIcon = false; menuinsectsweeds.addItem("1", "Insects", "/pest/list/insects"); menuinsectsweeds.addSeparator(); menuinsectsweeds.addItem("2", "Broadleaf Weeds", "/pest/list/broadleaf-weeds"); menuinsectsweeds.addSeparator(); menuinsectsweeds.addItem("3", "Grass Weeds", "/pest/list/grass-weeds"); menuinsectsweeds.addSeparator(); menuinsectsweeds.addItem("4", "Diseases", "/pest/list/"); menuinsectsweeds.addSeparator(); menuinsectsweeds.addItem("5", "Mites", "/pest/list/mites"); menuinsectsweeds.addSeparator(); menuinsectsweeds.addItem("6", "Sedges", "/pest/list/sedges"); menuinsectsweeds.dropShadow("none"); var menuproducts = menuMgr.createMenu("productList"); menuproducts.showIcon = false; menuproducts.addItem("1", "Insecticides & Miticides", "/product/list/type/insecticides-and-miticides"); menuproducts.addSeparator(); menuproducts.addItem("2", "Herbicides", "/product/list/type/herbicides"); //menuproducts.addSeparator(); //menuproducts.addItem("3", "Harvest Aids", "/product/list/type/harvest-aids"); menuproducts.addSeparator(); menuproducts.addItem("3", "Fungicides", "/product/list/type/fungicides"); menuproducts.addSeparator(); menuproducts.addItem("4", "Capture Liquid Ready System", "/product/capture/liquid-ready-system/"); menuproducts.addSeparator(); menuproducts.addItem("5", "Canadian Product List", "/product/list/CA"); menuproducts.dropShadow("none"); var menulabelsmsds=menuMgr.createMenu("labelsmsds"); menulabelsmsds.showIcon = false; menulabelsmsds.addItem("1", "US Labels", "/product/label/list/US"); menulabelsmsds.addSeparator(); menulabelsmsds.addItem("2", "US MSDS", "/product/msds/list/US"); menulabelsmsds.addSeparator(); menulabelsmsds.addItem("3", "CDMS database", "http://www.cdms.net/LabelsMsds/LMDefault.aspx?manuf=15&t=1,2,3,4"); menulabelsmsds.getItemById("3").target="_blank"; menulabelsmsds.addSeparator(); menulabelsmsds.addItem("4", "Canadian Labels", "/product/label/list/CA"); menulabelsmsds.addSeparator(); menulabelsmsds.addItem("5", "Canadian MSDS", "/product/msds/list/CA"); menulabelsmsds.dropShadow("none"); var menubusinesspartners = menuMgr.createMenu("businesspartners"); menubusinesspartners.showIcon = false; menubusinesspartners.addItem("1", "Consultants", "http://www.consultantexchange.com"); menubusinesspartners.getItemById("1").target="_blank"; menubusinesspartners.addSeparator(); menubusinesspartners.addItem("2", "FMC Distributors", "http://www.fmcdistributors.com"); menubusinesspartners.getItemById("2").target="_blank"; menubusinesspartners.addSeparator(); menubusinesspartners.addItem("3", "FMC Star Retailers", "http://www.fmcstars.com"); menubusinesspartners.getItemById("3").target="_blank"; menubusinesspartners.addSeparator(); menubusinesspartners.addItem("4", "CropLife America", "http://www.croplifeamerica.org/"); menubusinesspartners.getItemById("4").target="_blank"; menubusinesspartners.dropShadow("none"); var menuaboutfmc = menuMgr.createMenu("aboutfmc"); menuaboutfmc.showIcon = false; menuaboutfmc.addItem("1", "About Us", "/about-us"); menuaboutfmc.addSeparator(); menuaboutfmc.addItem("2", "Our Locations", "/our-locations"); menuaboutfmc.addSeparator(); menuaboutfmc.addItem("3", "Contact Us", "/contact-us/"); menuaboutfmc.dropShadow("none"); var menufmcrewards = menuMgr.createMenu("fmcrewards"); menufmcrewards.showIcon = false; menufmcrewards.addItem("1", "FMC Rewards", "http://www.FMCrewards.com"); menufmcrewards.getItemById("1").target="_blank"; //menufmcrewards.addSeparator(); //menufmcrewards.addItem("2","Sunflower Rewards", "http://www.FMCrewards.com"); //menufmcrewards.getItemById("2").target="_blank"; menufmcrewards.dropShadow("none"); var menuBar = menuMgr.createMenubar("menubar"); menuBar.stlprf="horz_"; menuBar.orient = "H"; menuBar.showIcon = true; menuBar.showSubIcon = false; menuBar.addItem("1", "HOME", "/"); menuBar.addSeparator(); menuBar.addItem("2", "CROPS", "/crop/list/", "",true, null, "crops"); menuBar.addSeparator(); menuBar.addItem("3", "INSECTS & WEEDS", "/pest/list/", "", true, null, "insectsweeds"); menuBar.addSeparator(); menuBar.addItem("4", "PRODUCTS", "/product/list/", "", true, null, "productList"); menuBar.addSeparator(); menuBar.addItem("5", "LABELS & MSDS", "/product/labels-and-msds/list/", "", true, null, "labelsmsds"); menuBar.addSeparator(); menuBar.addItem("6", "BUSINESS PARTNERS", "", "", true, null, "businesspartners"); menuBar.addSeparator(); menuBar.addItem("7", "ABOUT FMC AG", "/about-us", "", true, null, "aboutfmc"); menuBar.addSeparator(); menuBar.addItem("8", "FMC REWARDS", "http://www.fmcrewards.com/", "", true, null, "fmcrewards"); menuBar.getItemById("8").target="_blank"; menuBar.dropShadow("none"); menuMgr.renderMenus(); function validateSearch(form) { if(form.q.value=="" || form.q.value==null) { return false; }else { return true; } } function pestmapload(url){ var a = document.getElementById('pestModSm').src; if (a == 'javascript:void(0);'){ document.getElementById('pestModSm').src=url; } } function loadmap(url) { // document.getElementById('weatherModSm').setAttribute("src", url); } function loadit(frame) { if(frame.src != "") window.setTimeout("document.getElementById('loading').style.display='none'", 1000); }