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()){
bordercolor="#999999";
borderstyle="solid";
borderwidth=1;
fontfamily="Verdana, Tahoma, Arial";
fontsize="75%";
fontstyle="normal";
headerbgcolor="#ffffff";
headercolor="#000000";
offbgcolor="#eeeeee";
offcolor="#000000";
onbgcolor="#ddffdd";
oncolor="#000099";
outfilter="randomdissolve(duration=0.3)";
overfilter="Fade(duration=0.2);Alpha(opacity=90);Shadow(color=#777777', Direction=135, Strength=3)";
padding=4;
pagebgcolor="#82B6D7";
pagecolor="black";
separatorcolor="#999999";
separatorsize=1;
subimage="http://www.milonic.com/menuimages/arrow.gif";
subimagepadding=2;
}

with(milonic=new menuname("Main Menu")){
alwaysvisible=1;
left=20;
overflow="scroll";
style=menuStyle;
top=80;
aI("text=Home;url=/eng/index.htm;");
aI("showmenu=Home Office;text=Home Office;");
aI("showmenu=Working;text=If you are working;");
aI("showmenu=Taxes;text=Taxes;");
aI("showmenu=Pension;text=Pension;");
aI("text=Your Vote;url=/eng/yourvote.htm;");
aI("showmenu=Childcare;text=Childcare;");
aI("showmenu=Housing;text=Housing;");
aI("showmenu=Your Car;text=Your Car;");

}

with(Office=new menuname("Home Office")){
overflow="scroll";
style=menuStyle;
aI("text=Workers Registration Scheme;url=/eng/homeoffice/registration.htm;")
aI("text=Residence Permit;url=/eng/homeoffice/permit.htm;")
aI("text=Permanent Residence;url=/eng/homeoffice/residence.htm")
}

with(Working=new menuname("Working")){
overflow="scroll";
style=menuStyle;
aI("text=Contract of Employment;url=/eng/working/employment.htm")
aI("text=National Minimum Wage;url=/eng/working/nmw.htm")
aI("text=Working Time (48 Hour Week);url=/eng/working/worktime.htm")
aI("text=Working at Night;url=/eng/working/nightwork.htm")
aI("text=Overtime;url=/eng/working/overtime.htm")
aI("text=Sunday Work;url=/eng/working/sunday.htm")
aI("text=Daily Rest;url=/eng/working/rest.htm")
aI("text=Paid Holiday;url=/eng/working/holidaypay.htm;")
aI("text=Statutory Sick Pay;url=/eng/working/ssp.htm")
aI("text=Industrial Injuries Disablement Benefit;url=/eng/working/iidb.htm")
aI("text=Lay Off and Redundancy;url=/eng/working/redundancy.htm")
aI("text=Notice;url=/eng/working/notice.htm")
aI("text=Grievance Procedure;url=/eng/working/grievance.htm")
aI("text=Working Tax Credits;url=/eng/working/taxcredits.htm;")
aI("text=Social Security Benefit Rates;url=/eng/working/socialsecurity.htm")
aI("text=Benefits and Help when looking for work;url=/eng/working/benefits.htm")
}

with(milonic=new menuname("Taxes")){
style=menuStyle;
aI("text=Taxation;url=/eng/taxes/taxation.htm");
aI("text=Income Tax;url=/eng/taxes/incometax.htm");
aI("text=National Insurance Number;url=/eng/taxes/ninumber.htm");
aI("text=Tax-free Allowances;url=/eng/taxes/taxfree.htm");
aI("text=Tax Overpayments;url=/eng/taxes/overpayments.htm");
}

with(milonic=new menuname("Pension")){
style=menuStyle;
aI("text=Pension;url=/eng/pensions/pension.htm");
aI("text=Basic Pension;url=/eng/pensions/basicpension.htm;");
aI("text=Additional Pension;url=/eng/pensions/additional.htm");
aI("text=Pension Scheme;url=/eng/pensions/scheme.htm;");
aI("text=Personal Pension;url=/eng/pensions/personal.htm;");
aI("text=Pension Age;url=/eng/pensions/age.htm");
aI("text=Pension Credit;url=/eng/pensions/credit.htm;");
aI("text=When you move abroad;url=/eng/pensions/abroad.htm;");
aI("text=Winter Payments;url=/eng/pensions/winter.htm;");
aI("text=Useful Contacts;url=/eng/pensions/contacts.htm;");
}

with(milonic=new menuname("Childcare")){
style=menuStyle;
aI("text=Child Benefit;url=/eng/childcare/benefit.htm;");
aI("text=Child Tax Credits;url=/eng/childcare/taxcredits.htm;");
aI("text=Statutory Maternity Pay;url=/eng/childcare/maternitypay.htm;");
aI("text=Maternity Leave;url=/eng/childcare/maternityleave.htm;");
aI("text=Maternity Allowance;url=/eng/childcare/allowance.htm;");
aI("text=Sure Start Maternity Grant;url=/eng/childcare/surestart.htm;");
}

with(milonic=new menuname("Housing")){
style=menuStyle;
aI("text=Housing Allocation;url=/eng/housing/allocation.htm;");
aI("text=Housing Prioritisation;url=/eng/housing/prioritisation.htm;");
aI("text=Council Register;url=/eng/housing/register.htm;");
aI("text=Help with your Rent;url=/eng/housing/rent.htm;");
aI("showmenu=Buying;text=Buying your home;");
}
with(milonic=new menuname("Buying")){
style=menuStyle;
aI("text=Considerations;url=/eng/housing/buying.htm;");
aI("text=Buying in Scotland;url=/eng/housing/buyingscot.htm;");
aI("text=Buying in England & Wales;url=/eng/housing/buyingengwales.htm;");
}

with(milonic=new menuname("Your Car")){
style=menuStyle;
aI("text=Provisional Driving Licence;url=/eng/yourcar/provisional.htm;");
aI("text=Driving in Great Britain;url=/eng/yourcar/ukdriving.htm;");
aI("text=Buying and Selling a Vehicle;url=/eng/yourcar/buyingselling.htm;");
aI("text=Before Taking to the Road;url=/eng/yourcar/roadvehicle.htm;");
aI("text=Importing and Exporting;url=/eng/yourcar/importexport.htm;");
aI("text=Motor Insurance;url=/eng/yourcar/insurance.htm;");
aI("text=Vehicle Licensing - Tax Disc;url=/eng/yourcar/roadtax.htm;");
aI("text=When to MOT your Vehicle;url=/eng/yourcar/mot.htm;");
}

drawMenus();