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=0;
_subOffsetLeft=0;




with(horizStyle=new mm_style()){
align="left";
bordercolor="#999999";
borderstyle="solid";
borderwidth=0;
fontfamily="arial, tahoma";
fontsize="7pt";
fontstyle="normal";
headerbgcolor="#AFD1B5";
headerborder=1;
headercolor="#000099";
offbgcolor="#003366";
offcolor="#FFFFFF";
onbgcolor="#FEFAD2";
onborder="1px solid #999999";
oncolor="#000000";
onsubimage="https://store.spa-mart.com/merchant2/Menu_milonicHome/on_downboxed.gif";
overbgimage="https://store.spa-mart.com/merchant2/Menu_milonicHome/backon_beige.gif";
padding=3;
pagebgcolor="#003366";
pagecolor="#FFFFFF";
pageimage="https://store.spa-mart.com/merchant2/Menu_milonicHome/db_red.gif";
separatoralign="right";
separatorcolor="#999999";
separatorwidth="85%";
subimage="https://store.spa-mart.com/merchant2/Menu_milonicHome/downboxed.gif";
}

with(vertStyle=new mm_style()){
styleid=1;
align="left";
bordercolor="#999999";
borderstyle="solid";
borderwidth=1;
fontfamily="arial, tahoma";
fontsize="7pt";
fontstyle="normal";
headerbgcolor="#AFD1B5";
headerborder=1;
headercolor="#000099";
image="https://store.spa-mart.com/merchant2/Menu_milonicHome/18_blank.gif";
imagepadding=3;
menubgimage="none";
offbgcolor="transparent";
offcolor="#000000";
onbgcolor="#FEFAD2";
onborder="1px solid #999999";
oncolor="#000000";
onsubimage="https://store.spa-mart.com/merchant2/Menu_milonicHome/on_13x13_greyboxed.gif";
outfilter="randomdissolve(duration=0.2)";
overfilter="Fade(duration=0.1);Alpha(opacity=95);Shadow(color=#777777', Direction=135, Strength=3)";
padding=3;
pagebgcolor="#CFE2D1";
pagecolor="#000066";
pageimage="https://store.spa-mart.com/merchant2/Menu_milonicHome/db_red.gif";
separatoralign="right";
separatorcolor="#999999";
separatorpadding=1;
separatorwidth="85%";
subimage="https://store.spa-mart.com/merchant2/Menu_milonicHome/black_13x13_greyboxed.gif";
menubgcolor="#F5F5F5";
}

with(milonic=new menuname("miva")){
margin=3;
style=vertStyle;
top="offset=2";
aI("text=Store Directory;url=http://store.spa-mart.com/merchant2/;");
aI("image=https://store.spa-mart.com/merchant2/Menu_milonicHome/18_webcalender_user.gif;text=My Account;url=http://store.spa-mart.com/merchant2/merchant.mvc?Screen=SACNT&Store_Code=001;");
aI("image=https://store.spa-mart.com/merchant2/Menu_milonicHome/trolley.gif;text=View Cart;url=http://store.spa-mart.com/merchant2/merchant.mvc?Screen=BASK&Store_Code=001;");
aI("image=https://store.spa-mart.com/merchant2/Menu_milonicHome/18_purchase.gif;text=Checkout;url=http://store.spa-mart.com/merchant2/merchant.mvc?Screen=OINF&Store_Code=001;");
aI("image=https://store.spa-mart.com/merchant2/Menu_milonicHome/searchdoc.gif;text=Gift Registry;url=http://store.spa-mart.com/merchant2/merchant.mvc?Screen=SRCHREG&Store_Code=001;");
aI("image=https://store.spa-mart.com/merchant2/Menu_milonicHome/18_privacy.gif;text=SPA-MART Three Star Guarantee;url=http://www.spa-mart.com/company/spa-mart-service.cfm;");
aI("image=https://store.spa-mart.com/merchant2/Menu_milonicHome/18_license.gif;text=Sales Terms & Conditions;url=http://www.spa-mart.com/company/sales-terms-and-conditions.cfm;");
aI("image=https://store.spa-mart.com/merchant2/Menu_milonicHome/18_corporate.gif;text=Our Company;url=http://www.spa-mart.com/company/about-spa-mart.cfm;");
aI("image=https://store.spa-mart.com/merchant2/Menu_milonicHome/18_testimonial.gif;text=Our Service;url=http://www.spa-mart.com/company/spa-mart-service.cfm;");
aI("image=https://store.spa-mart.com/merchant2/Menu_milonicHome/18_contact.gif;text=Contacting Us;url=http://www.spa-mart.com/company/contacting-spa-mart.cfm;");
aI("image=https://store.spa-mart.com/merchant2/Menu_milonicHome/18_privacy.gif;text=Privacy Policy;url=http://www.spa-mart.com/company/privacy-policy.cfm;");
aI("image=https://store.spa-mart.com/merchant2/Menu_milonicHome/18_imagecopyright.gif;text=Copyright and Site Use;url=http://www.spa-mart.com/company/copyright.cfm;");
aI("text=Site Terms of Use;url=http://www.spa-mart.com/company/terms-of-use.cfm;");
}

with(milonic=new menuname("sanitizerTypes")){
margin=3;
style=vertStyle;
aI("text=Chlorine;url=http://store.spa-mart.com/c/spa-chemicals-chlorine/;");
aI("text=Bromine;url=http://store.spa-mart.com/c/spa-chemicals-bromine/;");
aI("text=Nature2;url=http://store.spa-mart.com/c/spa-nature2/;");
aI("text=ecoONE;url=http://store.spa-mart.com/c/spa-care-ecoone/;");
aI("text=Biguanide;url=http://store.spa-mart.com/c/spa-chemicals-biguanide/;");
aI("text=Renew & Reserve;url=http://store.spa-mart.com/c/spa-chemicals-renew-reserve/;");
aI("text=Spa Frog;url=http://store.spa-mart.com/c/spa-frog/;");
}

with(milonic=new menuname("chemInfoFAQs")){
margin=3;
style=vertStyle;
aI("text=Spa Sanitizing Options;url=http://www.spa-mart.com/spa-chemicals/spa-sanitizing-options.cfm;");
aI("image=https://store.spa-mart.com/merchant2/Menu_milonicHome/20icon-101.gif;text=Spa Water 101;url=http://www.spa-mart.com/spa-chemicals/spa-water-101.cfm;");
aI("image=https://store.spa-mart.com/merchant2/Menu_milonicHome/20icon-nature2.gif;text=Why use mineral purifiers?;url=http://www.spa-mart.com/spa-chemicals/mineral-purifiers.cfm;");
aI("text=ecoONE Spa Care;url=http://www.spa-mart.com/spa-chemicals/eco-one-spa-care.cfm;");
aI("image=https://store.spa-mart.com/merchant2/Menu_milonicHome/20icon-lt.gif;text=Free Sanitizing System;url=http://www.spa-mart.com/spa-chemicals/free-sanitizing-system.cfm;");
aI("image=https://store.spa-mart.com/merchant2/Menu_milonicHome/18icon-filecross.gif;text=Water Troubleshooting;url=http://www.spa-mart.com/spa-chemicals/water-troubleshooting.cfm;");
aI("image=https://store.spa-mart.com/merchant2/Menu_milonicHome/faqicon.gif;text=Spa Water FAQ;url=http://www.spa-mart.com/spa-chemicals/spa-water-faq.cfm;");
aI("text=Leisure Time Simple Spa Care Guide;url=http://www.spa-mart.com/spa-chemicals/simple-spa-care-program.cfm;");
}


with(milonic=new menuname("shopForChemicals")){
margin=3;
style=vertStyle;
aI("image=https://store.spa-mart.com/merchant2/Menu_milonicHome/faqicon.gif;showmenu=chemInfoFAQs;text=Information & FAQs;");
aI("image=https://store.spa-mart.com/merchant2/Menu_milonicHome/folder_open.gif;showmenu=sanitizerTypes;text=Chemicals by system;");
aI("text=Sanitizers;url=http://store.spa-mart.com/c/spa-sanitizers/;");
aI("text=Balancers;url=http://store.spa-mart.com/c/spa-balancers/;");
aI("text=Shock Agents;url=http://store.spa-mart.com/c/spa-shock/;");
aI("text=Clarifiers;url=http://store.spa-mart.com/c/spa-clarifiers/;");
aI("text=Maintenance Products;url=http://store.spa-mart.com/c/spa-maintenance/;");
aI("text=Water Fragrances;url=http://store.spa-mart.com/c/spa-fragrance/;");
}

with(milonic=new menuname("mivaProductCategories")){
margin=3;
style=vertStyle;
/* aI("image=https://store.spa-mart.com/merchant2/Menu_milonicHome/18_xmas_garland.gif;text=Holiday Gift Ideas;separatorsize=1;url=http://store.spa-mart.com/c/giftideas/Find+The+Perfect+Holiday+Present.html;"); */
aI("showmenu=spaCovers;image=https://store.spa-mart.com/merchant2/Menu_milonicHome/18icon-spacovers.gif;text=Spa Covers;url=http://store.spa-mart.com/c/spa-covers/;");
aI("image=https://store.spa-mart.com/merchant2/Menu_milonicHome/18icon-filters.gif;text=Filter Cartridges;url=http://www.spa-mart.com/spa-accessories/spa-filters/hot-tub-filter-cartridges.cfm;");
aI("image=https://store.spa-mart.com/merchant2/Menu_milonicHome/18icon-sclift.gif;text=Hot Tub Cover Lifters;url=http://store.spa-mart.com/c/spa-cover-lifts/;");
aI("showmenu=shopForChemicals;text=Spa Chemicals;url=http://www.spa-mart.com/spa-chemicals/hot-tub-chemicals.cfm;");
aI("text=Testing & Measurement;url=http://store.spa-mart.com/c/spa-testing-measure/Test+Strips+For+Hot+Tubs.html;");
aI("image=https://store.spa-mart.com/merchant2/Menu_milonicHome/18icon-spasteps.gif;text=Spa Steps;url=http://store.spa-mart.com/c/steps/;");
aI("showmenu=spaAccessories;text=Spa Accessories;url=http://www.spa-mart.com/spa-accessories/hot-tub-accessories.cfm;");
aI("showmenu=patioGameroom;text=Patio and Gameroom;separatorsize=1;url=http://www.spa-mart.com/patio-and-gameroom/patio-poker-billiards.cfm;");
aI("showmenu=shopbyBrand;text=Shop By Brand;url=http://store.spa-mart.com/c/brand/;");
aI("text=Display All Products;url=http://store.spa-mart.com/c/ALL/;");
}

with(milonic=new menuname("searchSite")){
margin=3;
style=vertStyle;
top="offset=2";
aI("image=https://store.spa-mart.com/merchant2/Menu_milonicHome/18icon-search.png;text=`<form action=http://www.spa-mart.com/search/gsearch.cfm id=cse-search-box><div><input type=hidden name=cx value=002664629769227439775:9trw65hblng /><input type=hidden name=cof value=FORID:11 /><input type=hidden name=ie value=UTF-8 /><input type=text name=q size=22 /><BR /><input type=submit name=sa value=Search&nbsp;SPA-MART /></div></form>`;type=form;align=left;onbgcolor=;onborder=;");
}

with(milonic=new menuname("searchProducts")){
margin=3;
style=vertStyle;
aI("image=https://store.spa-mart.com/merchant2/Menu_milonicHome/18icon-search.png;text=`<FORM METHOD=POST ACTION=http://store.spa-mart.com/merchant2/merchant.mvc?Screen=SRCH&Store_Code=001 name=search style='margin:0px;'><table><tr><td align=left><input name=search size=17></td></tr><tr><td align=left><input type=submit value=Product&nbsp;Lookup></td></tr></table></form>`;type=form;align=left;onbgcolor=;onborder=;");
}

with(milonic=new menuname("shopByBrand")){
margin=3;
style=vertStyle;
aI("text=303 Products;url=http://store.spa-mart.com/c/brand-303/;");
aI("text=AquaChek;url=http://store.spa-mart.com/c/brand-AquaChek/;");
aI("text=Cover Valet;url=http://store.spa-mart.com/c/brand-CoverValet/;");
aI("text=Covermate;url=http://store.spa-mart.com/c/brand-LeisureConcepts/;");
aI("text=ecoONE;url=http://store.spa-mart.com/c/brand-ecoONE/;");
aI("text=inSPAration;url=http://store.spa-mart.com/c/brand-inSPAration/;");
aI("text=Leisure Concepts;url=http://store.spa-mart.com/c/brand-LeisureConcepts/;");
aI("text=Leisure Time;url=http://store.spa-mart.com/c/brand-LeisureTime/;");
aI("text=Natural Chemistry;url=http://store.spa-mart.com/c/brand-NaturalChemistry/;");
aI("text=Spa Choice;url=http://store.spa-mart.com/c/brand-SpaChoice/;");
aI("text=Unicel;url=http://store.spa-mart.com/c/brand-Unicel/;");
aI("text=Zodiac-Nature2;url=http://store.spa-mart.com/c/brand-Nature2/;");
}

with(milonic=new menuname("spaCovers")){
margin=3;
style=vertStyle;
aI("image=https://store.spa-mart.com/merchant2/Menu_milonicHome/18icon-spacovers.gif;text=Insulating Spa Covers;url=http://www.spa-mart.com/hot-tub-spa-covers/insulating-spa-covers.cfm;");
aI("text=Floating Covers;url=http://www.spa-mart.com/hot-tub-spa-covers/floating-spa-covers.cfm;");
aI("text=Cover Care Products;url=http://store.spa-mart.com/c/spa-cover-care/;");
aI("text=SpaScenes Spa Murals;url=http://www.spa-mart.com/spa-accessories/spascenes.cfm;");
}

with(milonic=new menuname("spaAccessories")){
margin=3;
style=vertStyle;
aI("text=Safety Rails;url=http://store.spa-mart.com/c/rail/;");
aI("text=Towels & Storage;url=http://store.spa-mart.com/c/towels/;");
aI("text=Filter Cleaning;url=http://store.spa-mart.com/c/filterclean/;");
aI("text=Tables, Lights & Accessories;url=http://store.spa-mart.com/c/tables/;");
}

with(milonic=new menuname("patioGameroom")){
margin=3;
style=vertStyle;
aI("text=Firepits;url=http://store.spa-mart.com/c/firepits/Firepit+Tables.html;");
aI("image=https://store.spa-mart.com/merchant2/Menu_milonicHome/18icon-ptc.gif;text=Pool Table Covers;url=http://store.spa-mart.com/c/pool-table-covers/Billiard+Tables+Cover.html;");
}


// drawMenus();


