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=30;
_subOffsetLeft=-2;

with(submenuStyle=new mm_style()){
styleid=1;
bordercolor="#66761D";
borderstyle="solid";
borderwidth=1;
fontfamily="Arial, Verdana, Tahoma";
fontsize="9pt";
fontstyle="normal";
fontweight="bold";
headercolor="#000000";
offbgcolor="#949863";
offcolor="#000000";
onbgcolor="#D9DDC6";
onborder="";
oncolor="#000000";
outfilter="fade(duration=0.5)";
overfilter="Fade(duration=0.2);Alpha(opacity=90);Shadow(color=#777777', Direction=135, Strength=5)";
padding=5;
subimage="orange_10x10.gif";
subimagepadding=8;
}

with(menuStyle=new mm_style()){
borderstyle="solid";
fontfamily="Arial, Verdana, Tahoma";
fontsize="9pt";
fontstyle="normal";
fontweight="bold";
headerbgcolor="#ffffff";
headercolor="#000000";
offbgcolor="#66761D";
offcolor="#FAE5BB";
oncolor="#ffffff";
outfilter="fade(duration=0.5)";
overfilter="Fade(duration=0.2);Alpha(opacity=90)";
padding=5;
pagecolor="black";
separatorcolor="#FEA700";
separatorheight=16;
separatorpadding=5;
separatorsize=0;
subimage="";
subimagepadding=2;
}

with(milonic=new menuname("Main Menu")){
alwaysvisible=1;
orientation="horizontal";
style=menuStyle;
top=51;
aI("showmenu=Shop Now;image=../_images/main_menu/shopnow.gif;overimage=../_images/main_menu/shopnow-over.gif;url=http://www.thefreshmarket.com");
aI("showmenu=Inspirations;image=../_images/main_menu/index2_04.gif;overimage=../_images/main_menu/index2Over_04.gif;url=../inspirations/");
aI("showmenu=Recipes;image=../_images/main_menu/index2_05.gif;overimage=../_images/main_menu/index2Over_05.gif;url=../recipes/");
aI("showmenu=Stores;image=../_images/main_menu/index2_06.gif;overimage=../_images/main_menu/index2Over_06.gif;url=../stores/store_locations.aspx");
aI("showmenu=Departments;image=../_images/main_menu/departments.gif;overimage=../_images/main_menu/departments-over.gif;url=../departments/");

}

with(milonic=new menuname("Shop Now")){
left=112;
style=submenuStyle;
aI("text=New &amp; Seasonal;url=../online-market/searchresult.aspx?CategoryID=94;");
aI("text=Bakery;url=../online-market/searchresult.aspx?CategoryID=178;");
aI("text=Coffee, Tea, Cocoa;url=../online-market/searchresult.aspx?CategoryID=77;");
aI("text=Chocolate &amp; Candy;url=../online-market/searchresult.aspx?CategoryID=27;");
aI("text=Floral;url=../online-market/searchresult.aspx?CategoryID=172;");
aI("text=Gift Cards;url=../online-market/searchresult.aspx?CategoryID=19;");
aI("text=Gifts;url=../online-market/searchresult.aspx?CategoryID=10;");
aI("text=Nuts &amp; Snack Mixes;url=../online-market/searchresult.aspx?CategoryID=7");
aI("text=Organic &amp; Gluten-Free;url=../online-market/searchresult.aspx?CategoryID=201");
aI("text=Sale;url=../online-market/searchresult.aspx?CategoryID=82");
aI("text=Seafood;url=../online-market/searchresult.aspx?CategoryID=221;");
aI("text=Specialty Pantry;url=../online-market/searchresult.aspx?CategoryID=175;");
aI("text=TFM Products;url=../online-market/searchresult.aspx?CategoryID=84");
aI("text=Customer Service;url=../company/customer_service.html;");
}


with(milonic=new menuname("Inspirations")){
left=234;
style=submenuStyle;
aI("text=View Specials;url=../inspirations/monthly_inspirations.html;");
aI("text=In Season;url=../inspirations/inseason.html;");
aI("text=Fresh &amp; Best;url=../inspirations/fresh&best.html;");
aI("text=Meal Planning;url=../inspirations/mealplanning.html;");
//aI("text=Healthy Lifestyles;url=../inspirations/healthy.html;");
aI("text=Entertaining;url=../inspirations/entertaining.html;");
aI("text=In the Kitchen;url=../inspirations/kitchen.html;");
}

with(milonic=new menuname("Recipes")){
left=348;
style=submenuStyle;
aI("text=Accompaniments;url=../recipes/recipes_search_review.aspx?Category=34;");
aI("text=Appetizers;url=../recipes/recipes_search_review.aspx?Category=24;");
aI("text=Desserts;url=../recipes/recipes_search_review.aspx?Category=35;");
aI("text=Entrees;url=../recipes/recipes_search_review.aspx?Category=99;");
aI("text=Salads;url=../recipes/recipes_search_review.aspx?Category=26;");
aI("text=Soups;url=../recipes/recipes_search_review.aspx?Category=25;");
aI("text=Everything Else;url=../recipes/recipes_search_review.aspx?Category=36;"); 
aI("text=Fresh Flavors;url=../recipes/recipes_search_review.aspx?Category=37;"); 
//aI("text=Cooking Demos;url=#;");
}

with(milonic=new menuname("Stores")){
left=430;
style=submenuStyle;
aI("text=Careers;url=../company/careers.html;");
aI("text=About Our Stores;url=../company/stores.html;");
aI("text=Coming Soon;url=../stores/store_locations.aspx?q=cs#Results;");
aI("text=View All Stores;url=../stores/store_locations.aspx?q=a#Results;");
}


with(milonic=new menuname("Departments")){
left=508;
style=submenuStyle;
aI("text=Meat;url=../departments/meat.html;");
aI("text=Seafood;url=../departments/seafood.html;");
aI("text=Produce;url=../departments/produce.html;");
aI("text=Prepared Foods;url=../departments/preparedfoods.html;");
aI("text=Deli &amp; Cheese;url=../departments/deli.html;");
aI("text=Bakery;url=../departments/bakery.html;");
aI("text=Grocery &amp; Dairy;url=../departments/grocery.html;");  
aI("text=Coffee;url=../departments/coffee.html;");
aI("text=Bulk;url=../departments/bulk.html;");
aI("text=Candy;url=../departments/candy.html;");
aI("text=Beer &amp; Wine;url=../departments/beerwine.html;");
aI("text=Floral &amp; Gift;url=../departments/floral.html;");
aI("text=TFM Products;url=../departments/tfmproducts.html;");
}


drawMenus();

