fixMozillaZIndex=true; //Fixes Z-Index problem  with Mozilla browsers but causes odd scrolling problem, toggle to see if it helps
_menuCloseDelay=500;
_menuOpenDelay=0;
_subOffsetTop=0;
_subOffsetLeft=0;


//SUB MENU
with(submenuStyle=new mm_style()){
bordercolor="#1b0305";
borderstyle="solid";
borderwidth=5;
fontfamily="Lucida Grande, Verdana, Bitstream Vera Sans, Ariel, sans-serif";
fontsize="8pt";
fontstyle="normal";
fontweight="normal";
//headercolor="#000000";
offbgcolor="#1b0305";
offcolor="#ffffff";
onbgcolor="#ffcc00";
oncolor="#222222";
//outfilter="Blinds( Bands=1,direction=up, duration=0.3)";
//overfilter="Blinds( Bands=1,direction=down, duration=0.5)";
padding=8;
//pagecolor="black";
separatorcolor="#ffffff";
separatorsize=0;
subimagepadding=10;
}

with(menuStyle=new mm_style()){
styleid=1;
bordercolor="#ACABAB";
borderstyle="solid";
borderwidth=0;
fontfamily="Verdana, Tahoma, Arial";
fontsize="10pt";
fontstyle="normal";
fontweight="normal";
headerbgcolor="#ffffff";
//headercolor="#000000";
image="milonic/menugrad.png";
//imagepadding=6;
//offbgcolor="#ffffff";
offcolor="#ffffff";
//onbgcolor="#ffffff";
oncolor="#ffff00";
outfilter="Fade(Overlap=1.00)";
//overimage="http://www.milonic.com/menuimages/square_blue.gif";
padding=5;
//pagecolor="black";
separatorcolor="#ffffff";
separatorsize=0;
subimagepadding=25;
}


with(milonic=new menuname("Main Menu")){
alwaysvisible=1;
position="relative"
orientation="horizontal";
style=menuStyle;


aI("showmenu=fruit;image=https://www.chocolatefx.ca/milonic/images/fruit.png;overimage=https://www.chocolatefx.ca/milonic/images/fruitr.png;url=http://www.chocolatefx.ca/store/index.php?main_page=index&cPath=2&zenid=3sh0s8qc33gbk0k4fgiedbgpe0;");
aI("showmenu=nuts;image=https://www.chocolatefx.ca/milonic/images/nuts.png;overimage=https://www.chocolatefx.ca/milonic/images/nutsr.png;url=http://www.chocolatefx.ca/store/index.php?main_page=index&cPath=1;");
aI("showmenu=truffles;image=https://www.chocolatefx.ca/milonic/images/truffles.png;overimage=https://www.chocolatefx.ca/milonic/images/trufflesr.png;url=http://www.chocolatefx.ca/store/index.php?main_page=index&cPath=10;");
aI("showmenu=molded;image=https://www.chocolatefx.ca/milonic/images/molded.png;overimage=https://www.chocolatefx.ca/milonic/images/moldedr.png;url=http://www.chocolatefx.ca/store/index.php?main_page=index&cPath=12&zenid=4qmt432t5r3al7rtfgspffa2u2;");
aI("showmenu=specialty;image=https://www.chocolatefx.ca/milonic/images/specialty.png;overimage=https://www.chocolatefx.ca/milonic/images/specialtyr.png;url=http://www.chocolatefx.ca/store/index.php?main_page=index&cPath=3;");
aI("showmenu=candy;image=https://www.chocolatefx.ca/milonic/images/candy.png;overimage=https://www.chocolatefx.ca/milonic/images/candyr.png;url=http://www.chocolatefx.ca/store/index.php?main_page=index&cPath=41;");
aI("showmenu=novelty;image=https://www.chocolatefx.ca/milonic/images/novelty.png;overimage=https://www.chocolatefx.ca/milonic/images/noveltyr.png;url=http://www.chocolatefx.ca/store/index.php?main_page=index&cPath=42;");
aI("showmenu=gift;image=https://www.chocolatefx.ca/milonic/images/gift.png;overimage=https://www.chocolatefx.ca/milonic/images/giftr.png;url=http://www.chocolatefx.ca/store/index.php?main_page=index&cPath=19;");
//aI("showmenu=specials;image=https://www.chocolatefx.ca/milonic/images/specials.png;overimage=https://www.chocolatefx.ca/milonic/images/specialsr.png;");
//aI("image=http://www.futureaccess.ca/chocolatefx/milonic/images/bridal.png;overimage=http://www.futureaccess.ca/chocolatefx/milonic/images/bridalr.png;url=http://www.futureaccess.ca/chocolatefx/ubb;");
}

with(milonic=new menuname("fruit")){
//top="197"
//divides=2;
//orientation='vertical';
//top="offset=-5"; 
overflow="scroll";
style=submenuStyle;

aI("text=Apricot;url=http://www.chocolatefx.ca/store/index.php?main_page=product_info&cPath=2_25&products_id=3;")
aI("text=Blueberry;url=http://www.chocolatefx.ca/store/index.php?main_page=index&cPath=2_26;")
aI("text=Cherry;url=http://www.chocolatefx.ca/store/index.php?main_page=index&cPath=2_27;")
aI("text=Cranberry;url=http://www.chocolatefx.ca/store/index.php?main_page=index&cPath=2_28;")
aI("text=Raisin;url=http://www.chocolatefx.ca/store/index.php?main_page=index&cPath=2_29;")
aI("text=Pineapple;url=http://www.chocolatefx.ca/store/index.php?main_page=product_info&cPath=2_30&products_id=20;")
aI("text=Ginger;url=http://www.chocolatefx.ca/store/index.php?main_page=product_info&cPath=2_31&products_id=14;")
aI("text=Fruit Specialties;url=http://www.chocolatefx.ca/store/index.php?main_page=index&cPath=2_32;")
}

with(milonic=new menuname("nuts")){
//top="197"
overflow="scroll";
style=submenuStyle;
aI("text=Almonds;url=http://www.chocolatefx.ca/store/index.php?main_page=index&cPath=1_33;")
aI("text=Brazil Nuts;url=http://www.chocolatefx.ca/store/index.php?main_page=index&cPath=1_34;")
aI("text=Cashew;url=http://www.chocolatefx.ca/store/index.php?main_page=index&cPath=1_35;")
aI("text=Hazelnut;url=http://www.chocolatefx.ca/store/index.php?main_page=index&cPath=1_36;")
aI("text=Macadamia;url=http://www.chocolatefx.ca/store/index.php?main_page=index&cPath=1_37;")
aI("text=Peanut;url=http://www.chocolatefx.ca/store/index.php?main_page=product_info&cPath=1_38&products_id=48;")
aI("text=Pistachio;url=http://www.chocolatefx.ca/store/index.php?main_page=product_info&cPath=1_39&products_id=43;")
aI("text=Walnut;url=http://www.chocolatefx.ca/store/index.php?main_page=index&cPath=1_40;")
//aI("text=Nut Specialties;url=http://www.chocolatefx.ca/store/index.php?main_page=index&cPath=1_43;")
}

with(milonic=new menuname("truffles")){
//top="197"
overflow="scroll";
style=submenuStyle;
aI("text=Ice Wine;url=http://www.chocolatefx.ca/store/index.php?main_page=index&cPath=10;")
aI("text=Belgium Rum;url=http://www.chocolatefx.ca/store/index.php?main_page=index&cPath=10;")
aI("text=Irish Cream;url=http://www.chocolatefx.ca/store/index.php?main_page=index&cPath=10;")
aI("text=Milk Belgium;url=http://www.chocolatefx.ca/store/index.php?main_page=index&cPath=10;")
}

with(milonic=new menuname("molded")){
//top="197"
overflow="scroll";
style=submenuStyle;
aI("text=Cream Filled;url=http://www.chocolatefx.ca/store/index.php?main_page=index&cPath=24&zenid=4qmt432t5r3al7rtfgspffa2u2;")
aI("text=Custom Molded;url=http://www.chocolatefx.ca/store/index.php?main_page=index&cPath=12;")
aI("text=Seasonal Molded;url=http://www.chocolatefx.ca/store/index.php?main_page=index&cPath=12;")
aI("text=Peanut Butter Cups;url=http://www.chocolatefx.ca/store/index.php?main_page=index&cPath=12&zenid=rv4oq29s3j35hacjhlgs2s5cd6;")
}



with(milonic=new menuname("specialty")){
//top="197"
overflow="scroll";
style=submenuStyle;
aI("text=* Sugar Free;url=http://www.chocolatefx.ca/store/index.php?main_page=index&cPath=4;")
aI("text=Coffee Beans;url=http://www.chocolatefx.ca/store/index.php?main_page=index&cPath=3_44;")
aI("text=Chewy Centers;url=http://www.chocolatefx.ca/store/index.php?main_page=index&cPath=3_49;")
aI("text=Dipped Strawberries;url=http://www.chocolatefx.ca/store/index.php?main_page=index&cPath=3_51;")
aI("text=Peanut Butter Balls;url=http://www.chocolatefx.ca/store/index.php?main_page=index&cPath=3_46;")
aI("text=Pretzels;url=http://www.chocolatefx.ca/store/index.php?main_page=index&cPath=3_45;")
aI("text=Specialty Balls;url=http://www.chocolatefx.ca/store/index.php?main_page=index&cPath=3_47;")
aI("text=Specialty Squares;url=http://www.chocolatefx.ca/store/index.php?main_page=index&cPath=3_50;")
aI("text=Clusters;url=http://www.chocolatefx.ca/store/index.php?main_page=index&cPath=15;")
aI("text=Macaroons;url=http://www.chocolatefx.ca/store/index.php?main_page=index&cPath=18;")

}

with(milonic=new menuname("candy")){
//top="197"
overflow="scroll";
style=submenuStyle;

aI("text=Candy Cones;url=http://www.chocolatefx.ca/store/index.php?main_page=index&cPath=41;")
aI("text=Candy Kebabs;url=http://www.chocolatefx.ca/store/index.php?main_page=index&cPath=41;")
aI("text=Candy Sticks;url=http://www.chocolatefx.ca/store/index.php?main_page=index&cPath=41;")
aI("text=Nibs;url=http://www.chocolatefx.ca/store/index.php?main_page=index&cPath=3;")
aI("text=JuJubes;url=http://www.chocolatefx.ca/store/index.php?main_page=index&cPath=3;")
aI("text=Sponge Toffee;url=http://www.chocolatefx.ca/store/index.php?main_page=index&cPath=41;")
aI("text=Pokies;url=http://www.chocolatefx.ca/store/index.php?main_page=index&cPath=41;")
}

with(milonic=new menuname("novelty")){
//top="197"
overflow="scroll";
style=submenuStyle;
aI("text=Bark;url=http://www.chocolatefx.ca/store/index.php?main_page=index&cPath=42;")
aI("text=Cigars;url=http://www.chocolatefx.ca/store/index.php?main_page=index&cPath=42;")
aI("text=Pucks;url=http://www.chocolatefx.ca/store/index.php?main_page=index&cPath=42;")
aI("text=Roses;url=http://www.chocolatefx.ca/store/index.php?main_page=index&cPath=42;")
aI("text=Spoons;url=http://www.chocolatefx.ca/store/index.php?main_page=index&cPath=42;")
aI("text=Suckers;url=http://www.chocolatefx.ca/store/index.php?main_page=index&cPath=42;")
aI("text=Tiles;url=http://www.chocolatefx.ca/store/index.php?main_page=index&cPath=42;")
}

with(milonic=new menuname("gift")){
//top="197"
overflow="scroll";
style=submenuStyle;
aI("text=Corporate Gifts;url=http://www.chocolatefx.ca/corporategifts.php;")
//aI("text=Corporate Gifts;url=http://www.chocolatefx.ca/store/index.php?main_page=product_info&cPath=20&products_id=146;")
aI("text=Event Favors;url=http://www.chocolatefx.ca/eventfavors.php;")
aI("text=Gift Baskets;url=http://www.chocolatefx.ca/store/index.php?main_page=index&cPath=19;")
aI("text=Giant Chocolate Bars;url=http://www.chocolatefx.ca/store/index.php?main_page=index&cPath=6;")
}


drawMenus();
