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()){
fontfamily="Arial, Helvetica, sans-serif";
fontsize="10pt";
fontstyle="normal";
fontweight="normal";
headerbgcolor="#ffffff";
headercolor="#000000";
offcolor="#fffdff";
oncolor="#ffffff";
onsubimage="http://img.milonic.com/white.gif";
outfilter="fade(duration=0.5)";
overfilter="Fade(duration=0.2);Alpha(opacity=90);Shadow(color=#777777', Direction=135, Strength=5)";
padding=5;
pagecolor="#7f6ab0";
separatorcolor="#ffffff";
separatorimage="http://img.milonic.com/whitestripe.gif";
separatorpadding=1;
subimage="http://img.milonic.com/grey.gif";
subimagepadding=2;
}


with(submenuStyle=new mm_style()){
styleid=1;
borderstyle="solid";
fontfamily="Arial, Helvetica, sans-serif";
fontsize="8pt";
fontstyle="normal";
fontweight="normal";
headercolor="#000000";
offbgcolor="#000000";
offcolor="#fffdff";
onborder="1px solid #4d2f91";
oncolor="#ffffff";
outfilter="fade(duration=0.5)";
overbgimage="bgOn.jpg";
overfilter="Fade(duration=0.2);Alpha(opacity=90);Shadow(color=#777777', Direction=135, Strength=5)";
padding=4;
pagecolor="#ffffff";
pagebgcolor="#1d0b45";
separatorsize=1;
subimage="lightPurple5x5.gif";
subimagepadding=8;
align="left";
}

with(milonic=new menuname("Main Menu")){
alwaysvisible=1;
itemheight=20;
itemwidth=78;
left=400;
orientation="horizontal";
style=menuStyle;
top=63;
aI("align=left;showmenu=Business;text=business;");

aI("align=left;showmenu=Landlord;text=landlord;");
aI("align=left;showmenu=Liability;text=liability;");
aI("align=left;showmenu=Car;text=motor;");
aI("align=left;showmenu=Personal;text=personal;");
aI("align=left;text=Prize Draw;url=prizeDraw.php;");
}

with(milonic=new menuname("Business")){
margin=5;
style=submenuStyle;
aI("text=Building trades &amp; contractors;url=buildingtrades.php;");
aI("text=Cafe;url=cafe.php;");
aI("text=Engineering;url=engineering.php;");
aI("text=Fish &amp; chips;url=fishandchips.php;");
aI("text=Guesthouse;url=guesthouse.php;");
aI("text=Hairdressers;url=hairdressers.php;");
aI("text=Hotel;url=hotel.php;");
aI("text=Manufacturing and distribution;url=industrial.php;");
aI("text=Motor trade;url=motortrade.php;");
aI("text=Off licence;url=offLicence.php;");
aI("text=Office;url=office.php;");
aI("text=Pubs;url=pubs.php;");
aI("text=Restaurant;url=restaurant.php;");
aI("text=Shop &amp; retail;url=shopandretail.php;");
aI("text=Surgery;url=surgery.php");
aI("text=Takeaway;url=takeaway.php");
aI("text=Tanning &amp; beauticians;url=tanningandbeauticians.php");
aI("text=Tradesmen;url=buildingtrades.php;");
aI("text=Warehouse;url=warehouse.php;");
aI("text=Wine merchant;url=offLicence.php;");
aI("text=Wholesale;url=wholesale.php;");
}

with(milonic=new menuname("Landlord")){
margin=5;
style=submenuStyle;
aI("text=Buy to let insurance;url=buy-to-let-insurance.php;");
aI("text=Commercial let properties commercial;url=letpropertiesCommercial.php;");
}

with(milonic=new menuname("Liability")){
margin=5;
style=submenuStyle;
aI("text=Directors &amp; officers;url=directorsandofficers.php;");
aI("text=Liability;url=liability.php;");
aI("text=Professional indemnity;url=professionalindemnity.php;");
}

with(milonic=new menuname("Car")){
margin=5;
style=submenuStyle;
aI("text=Breakdown;url=breakdown.php;");
aI("text=Car;url=car2.php;");
aI("text=Caravan;url=caravan.php;");
aI("text=Courier;url=courier.php;");
aI("text=Fleet;url=fleet.php;");
aI("text=Leasing gap;url=leasinggap.php;");
aI("text=Minibus;url=minibus.php;");
aI("text=Motor;url=motor.php;");
aI("text=Motorbike;url=motorcycle.php;");
aI("text=Taxi;url=taxi.php;");
aI("text=Truck;url=truck.php;");
aI("text=Van;url=van.php;");
aI("text=Young driver;url=youngDriver.php;");
}

with(milonic=new menuname("Personal")){
margin=5;
style=submenuStyle;
aI("text=Household;url=household2.php;");
aI("text=Personal accident &amp; sickness;url=personalaccidentandsickness.php;");
aI("text=Pets;url=pets.php;");
aI("text=Travel;url=travel.php;");
aI("text=Working from home;url=workingfromhome.php;");
}

drawMenus();


