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("about")){
margin=3;
style=vertStyle;
top="offset=2";
aI("image=http://www.spa-mart.com/Menu_milonicHome/18_corporate.gif;text=Our Company;url=../company/about-spa-mart.cfm;");
aI("image=http://www.spa-mart.com/Menu_milonicHome/18_testimonial.gif;text=Our Service;url=../company/spa-mart-service.cfm;");
aI("image=http://www.spa-mart.com/Menu_milonicHome/18_contact.gif;text=Contacting Us;url=../company/contacting-spa-mart.cfm;");
aI("image=http://www.spa-mart.com/Menu_milonicHome/18_privacy.gif;text=Privacy Policy;url=../company/privacy-policy.cfm;");
aI("image=http://www.spa-mart.com/Menu_milonicHome/18_imagecopyright.gif;text=Copyright and Site Use;url=../company/copyright.cfm;");
aI("text=Site Terms of Use;url=../company/terms-of-use.cfm;");
}

with(milonic=new menuname("shopping")){
margin=3;
style=vertStyle;
top="offset=2";
aI("text=Store Directory;url=http://store.spa-mart.com/merchant2/;");
aI("image=http://www.spa-mart.com/Menu_milonicHome/18_webcalender_user.gif;text=My Account - Favorites & Order History;url=http://store.spa-mart.com/merchant2/merchant.mvc?Screen=SACNT&Store_Code=001;");
aI("image=http://www.spa-mart.com/Menu_milonicHome/trolley.gif;text=View Cart;url=http://store.spa-mart.com/merchant2/merchant.mvc?Screen=BASK&Store_Code=001;");
aI("image=http://www.spa-mart.com/Menu_milonicHome/18_purchase.gif;text=Checkout;url=http://store.spa-mart.com/merchant2/merchant.mvc?Screen=OINF&Store_Code=001;");
aI("image=http://www.spa-mart.com/Menu_milonicHome/18_privacy.gif;text=SPA-MART Three Star Guarantee;url=http://www.spa-mart.com/company/spa-mart-service.cfm;");
aI("image=http://www.spa-mart.com/Menu_milonicHome/18_license.gif;text=Sales Terms & Conditions;url=../company/sales-terms-and-conditions.cfm;");
aI("image=http://www.spa-mart.com/Menu_milonicHome/searchdoc.gif;text=Gift Registry;url=http://store.spa-mart.com/merchant2/merchant.mvc?Screen=SRCHREG&Store_Code=001;");
}


with(milonic=new menuname("products")){
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("image=https://store.spa-mart.com/merchant2/Menu_milonicHome/18icon-spacovers.gif;text=Thermal Guardian Spa Covers;url=../hot-tub-spa-covers/insulating-spa-covers.cfm;");
aI("image=https://store.spa-mart.com/merchant2/Menu_milonicHome/18icon-sclift.gif;text=Hot Tub Cover Lifters;url=../spa-cover-lifts/all-hot-tub-cover-lifters.cfm;");
aI("text=Cover Care Products;url=http://store.spa-mart.com/c/spa-cover-care/Products+For+Hot+Tub+Covers.html;");
aI("text=Spa Chemicals;url=../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("text=Tables, Lights & Accessories;url=http://store.spa-mart.com/c/tables/Spa+Accessories+Games.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/Hot+Tub+Spa+Steps.html;");
aI("text=Safety Rails;url=http://store.spa-mart.com/c/rail/Spa+Safety+Rails.html;");
aI("text=Towels & Storage;url=http://store.spa-mart.com/c/towels/Towels+Robes+Storage.html;");
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("text=Filter Cleaning;url=http://store.spa-mart.com/c/filterclean/Keep+Your+Spa+Filter+Clean.html;");
aI("text=Water Fragrances;url=http://store.spa-mart.com/c/spa-fragrance/Make+Your+Water+Smell+Good.html;");
aI("image=https://store.spa-mart.com/merchant2/Menu_milonicHome/18icon-ptc.gif;text=Pool Table Covers;url=../patio-and-gameroom/billiard-pool-table-supplies/billiard-table-covers.cfm;");
aI("text=Firepits;url=http://www.spa-mart.com/patio-and-gameroom/patio-firepits-and-storage/firepits.cfm;separatorsize=1;");
}

with(milonic=new menuname("greatPlaces")){
margin=3;
style=vertStyle;
top="offset=2";
// aI("image=http://www.spa-mart.com/Menu_milonicHome/18_testimonial.gif;text=Discussion Forum;url=http://forum.spa-mart.com;");
aI("text=Pool & Spa Living;url=http://www.poolspaliving.com;");
aI("text=Hot Tub Wiki;url=http://en.wikipedia.org/wiki/Hot_tub;");
aI("image=../assets/images/blogicon.gif;separatorsize=1;text=Sir Spa Blog;url=http://blog.spa-mart.com;");
}

with(milonic=new menuname("greatIdeas")){
margin=3;
style=vertStyle;
top="offset=2";
aI("text=Choose a denser spa cover and enjoy it longer;url=../;");
aI("text=Take your heavy cover off easier;url=../;");
aI("text=Use less chemicals, more often;url=../;");
aI("text=Discover alternative water purifiers;url=../;");
aI("text=Use all of your spa;url=../;");
aI("text=How $25 can save your spa cover's life;url=../;");
aI("text=Reflect your way to savings;url=../;");
}

with(milonic=new menuname("sanitizerTypes")){
margin=3;
style=vertStyle;
aI("text=Chlorine;url=http://store.spa-mart.com/c/spa-chemicals-chlorine/Chlorine+For+Hot+Tubs.html;");
aI("text=Bromine;url=http://store.spa-mart.com/c/spa-chemicals-bromine/Bromine+For+Hot+Tubs.html;");
aI("text=Nature2;url=http://store.spa-mart.com/c/spa-nature2/Nature+2+For+Hot+Tubs.html;");
aI("text=ecoONE;url=http://store.spa-mart.com/c/spa-care-ecoone/Eco+One+For+Hot+Tubs.html;");
aI("text=Biguanide;url=http://store.spa-mart.com/c/spa-chemicals-biguanide/Leisure+Time+Free+Spa+Care.html;");
aI("text=Renew & Reserve;url=http://store.spa-mart.com/c/spa-chemicals-renew-reserve/Leisure+Time+Bromine+Reserve.html;");
}

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("SCInfoFAQs")){
margin=3;
style=vertStyle;
aI("text=Spa Cover Care;url=http://www.spa-mart.com/support/spa-cover-care-facts.cfm;");
aI("image=https://store.spa-mart.com/merchant2/Menu_milonicHome/faqicon.gif;text=Spa Cover FAQ;url=http://www.spa-mart.com/support/spa-cover-faq.cfm;");
aI("text=Measuring For Your New Spa Cover;url=http://www.spa-mart.com/support/measuring-a-spa-cover.cfm;");
}

with(milonic=new menuname("spaCoverTypes")){
margin=3;
style=vertStyle;
aI("image=https://store.spa-mart.com/merchant2/Menu_milonicHome/18icon-spacovers.gif;text=ThermalGuardian Insulating;url=http://www.spa-mart.com/hot-tub-spa-covers/insulating-spa-covers.cfm;");
aI("text=Floating Blankets;url=http://www.spa-mart.com/hot-tub-spa-covers/floating-spa-covers.cfm;");
aI("text=Walk-on Covers;url=http://www.spa-mart.com/hot-tub-spa-covers/insulating-spa-cover/thermalguardian_walkon.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/Hot+Tub+Sanitizer.html;");
aI("text=Balancers;url=http://store.spa-mart.com/c/spa-balancers/Hot+Tub+Water+Balance.html;");
aI("text=Shock Agents;url=http://store.spa-mart.com/c/spa-shock/MPS+Non-Chlorine+Shock+Renew.html;");
aI("text=Clarifiers;url=http://store.spa-mart.com/c/spa-clarifiers/Hot+Tub+Water+Clarifier.html;");
aI("text=Maintenance Products;url=http://store.spa-mart.com/c/spa-maintenance/Hot+Tub+Maintenance+Products.html;");
aI("text=Water Fragrances;url=http://store.spa-mart.com/c/spa-fragrance/Make+Your+Water+Smell+Good.html;");
}

with(milonic=new menuname("shopForAccessories")){
margin=3;
style=vertStyle;
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("text=Tables, Fun & Games;url=http://store.spa-mart.com/c/tables/Spa+Accessories+Games.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/Hot+Tub+Steps.html;");
aI("text=Safety Rails;url=http://store.spa-mart.com/c/rail/Spa+Safety+Rails.html;");
aI("text=Towels & Storage;url=http://store.spa-mart.com/c/towels/Towels+Robes+Storage.html;");
aI("text=Filter Cleaning;url=http://store.spa-mart.com/c/filterclean/Keep+Your+Spa+Filter+Clean.html;");
}

with(milonic=new menuname("shopForSCNLift")){
margin=3;
style=vertStyle;
aI("image=https://store.spa-mart.com/merchant2/Menu_milonicHome/faqicon.gif;showmenu=SCInfoFAQs;text=Information & FAQs;");
aI("image=https://store.spa-mart.com/merchant2/Menu_milonicHome/18icon-spacovers.gif;showmenu=spaCoverTypes;text=Hot Tub Covers;");
aI("image=https://store.spa-mart.com/merchant2/Menu_milonicHome/18icon-sclift.gif;text=Spa Cover Lifts;url=http://www.spa-mart.com/spa-cover-lifts/all-hot-tub-cover-lifters.cfm;");
aI("text=Cover Care Products;url=http://store.spa-mart.com/c/spa-cover-care/Products+For+Hot+Tub+Covers.html;");
aI("text=Cover Saver;url=http://www.spa-mart.com/spa-cover-lifts/cover-saver.cfm;");
}

with(milonic=new menuname("shopForPatioGameroom")){
margin=3;
style=vertStyle;
aI("text=Pool Table Covers;url=http://www.spa-mart.com/patio-and-gameroom/billiard-pool-table-supplies/billiard-table-covers.cfm;");
aI("text=Foosball Table Covers;url=http://www.spa-mart.com/patio-and-gameroom/billiard-pool-table-supplies/billiard-table-covers.cfm;");
aI("text=Air Hockey Table Covers;url=http://www.spa-mart.com/patio-and-gameroom/billiard-pool-table-supplies/billiard-table-covers.cfm;");
aI("text=Firepits;url=http://www.spa-mart.com/patio-and-gameroom/patio-firepits-and-storage/patio.cfm;");
aI("text=Bayou Classic Cooking;url=http://www.spa-mart.com/patio-and-gameroom/bayou-classic-cooking/bayou.cfm;");
}


// 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 METHOD=GET ACTION=http://www.spa-mart.com/search/search.asp name=search style='margin:0px;'><table><tr><td><input name=zoom_query size=22></td></tr><tr><td><input type=submit value=Search&nbsp;SPA-MART></td></tr></table></form>`;type=form;align=left;onbgcolor=;onborder=;");
// }

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=;");
}


// drawMenus();


