﻿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=2;
_subOffsetLeft=2;

with(menuStyle=new mm_style()){
offclass="menuoff";
onclass="menuon";
clickclass="menuclick";
pageclass="menuoff";
separatorsize=0;
subimagepadding=2;
}

with(submenuStyle=new mm_style()){
offclass="submenuoff";
onclass="submenuon";
clickclass="submenuclick";
pageclass="submenuoff";
separatorsize=0;
subimagepadding=2;
left="offset=50";
}

with(milonic=new menuname("Main Menu")){
alwaysvisible=1;
orientation="horizontal";
style=menuStyle;
position="relative";
aI("text=home;url=/;");
aI("text=about joyita;showmenu=About;");
aI("text=about silk;showmenu=Silk;");
aI("text=show schedule;url=/cgi-bin/DJcalendar.cgi?TEMPLATE=events.html;");
aI("text=purchase;showmenu=Buy;");
aI("text=policies;showmenu=Policies;");
aI("text=contact;showmenu=Contact;");
}

with(milonic=new menuname("About")) {
overflow="scroll";
style=submenuStyle;
left="offset=10";
aI("text=artist statement;url=/_pages/artist-statement.html;");
aI("text=about joyita's art;url=/_pages/joyitas-art.html;");
aI("text=featured work;url=/cgi-bin/DJgallery.cgi?T=featured.html;");
aI("text=testimonials;url=/_pages/testimonials.html;");
aI("text=in the news;url=/cgi-bin/DJlinks.cgi?TEMPLATE=news.html&SORT=R1;");
}

with(milonic=new menuname("Silk")) {
overflow="scroll";
style=submenuStyle;
left="offset=10";
aI("text=how to choose a scarf;url=/_pages/choosing-a-scarf.html;");
aI("text=how to tie a scarf;url=/_pages/tying-a-scarf.html;");
aI("text=caring for silk;url=/_pages/caring-for-silk.html;");
}

with(milonic=new menuname("Buy")) {
overflow="scroll";
style=submenuStyle;
left="offset=10";
aI("text=online store;url=https://id34124.securedata.net/poshaq.com/merchantmanager/index.php?cPath=0;target=Store");
aI("text=retailers;url=/cgi-bin/DJlinks.cgi?TEMPLATE=retail.html;");
aI("text=show schedule;url=/cgi-bin/DJcalendar.cgi?TEMPLATE=events.html;");
}

with(milonic=new menuname("Policies")) {
overflow="scroll";
style=submenuStyle;
left="offset=10";
aI("text=shipping;url=/_pages/shipping.html;");
aI("text=returns;url=/_pages/returns.html;");
aI("text=copyright;url=/_pages/copyright.html;");
aI("text=privacy;url=/_pages/privacy.html;");
}

with(milonic=new menuname("Contact")) {
overflow="scroll";
style=submenuStyle;
left="offset=10";
aI("text=contact poshaq;url=/_pages/contact.html;");
aI("text=tell a friend;url=/_pages/tell-a-friend.html;");
aI("text=links;url=/cgi-bin/DJlinks.cgi?TEMPLATE=links.html;");
}

drawMenus();


