fixMozillaZIndex=false; //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(XPMainStyle=new mm_style()){
bordercolor="#427abd";
borderstyle="solid";
borderwidth=0;
fontfamily="Verdana";
fontsize="10pt";
fontstyle="normal";
fontweight="bold";
offbgcolor="#427abd";
offcolor="#eeeeee";
onbgcolor="#C1D2EE";
onborder="1px solid #000080";
oncolor="#000000";
overbgimage="includes/menu/orange_office2003.gif";
padding=1;
}

with(XPMenuStyle=new mm_style()){
styleid=1;
align="left";
bordercolor="#427abd";
borderstyle="solid";
borderwidth=1;
fontfamily="Verdana";
fontsize="10pt";
fontstyle="normal";
fontweight="normal";
image="includes/menu/xpblank.gif";
imagepadding=3;
menubgimage="includes/menu/backoff2003_web.gif";
offbgcolor="transparent";
offcolor="#000000";
onbgcolor="#ffeec2";
onborder="1px solid #000080";
oncolor="#000000";
outfilter="randomdissolve(duration=0.3)";
overfilter="Fade(duration=0.2);Alpha(opacity=88);Shadow(color=#B8D1F8', Direction=135, Strength=5)";
padding=4;
separatoralign="right";
separatorcolor="#6A8CCB";
separatorpadding=1;
separatorwidth="80%";
subimage="includes/menu/arrow.gif";
subimagepadding=3;
menubgcolor="#EBF0EC";
}

with(milonic=new menuname("Main Menu")){
alwaysvisible=1;
margin=2;
orientation="horizontal";
style=XPMainStyle;
position="relative";
aI("image=includes/menu/home.gif;text=Home Page&nbsp;&nbsp;&nbsp;;url=index.php;");
aI("showmenu=learn;text=&nbsp;&nbsp;Learner Driver Zone&nbsp;&nbsp;&nbsp;;");
aI("showmenu=motorcycle;text=&nbsp;&nbsp;Motorcycle Zone&nbsp;&nbsp;&nbsp;;");
aI("showmenu=lgv;text=&nbsp;&nbsp;LGV Training Zone&nbsp;&nbsp;&nbsp;;");
aI("showmenu=careers;text=&nbsp;&nbsp;Careers&nbsp;&nbsp;&nbsp;;");
//aI("text=&nbsp;&nbsp;Caravan Towing&nbsp;&nbsp;&nbsp;;url=towing.php?s=learn;");
aI("showmenu=contact;text=&nbsp;&nbsp;Contact&nbsp;&nbsp;&nbsp;;");
}

with(milonic=new menuname("learn")){
margin=2;
overflow="scroll";
style=XPMenuStyle;
aI("image=includes/menu/theory.gif;showmenu=theory;text=Revise The Theory Test;url=theory.php?s=learn;");
aI("image=includes/menu/learningtodrive.gif;showmenu=learningtodrive;text=Learning To Drive;");
aI("image=includes/menu/drivingtest.gif;showmenu=drivingtest;text=Driving Test;");
aI("image=includes/menu/under_17s.png;url=under_17s.php?s=learn;text=Under 17 Course;");
aI("image=includes/menu/theadishop.gif;text=Car Theory Test Shop;url=car_theory_test_shop.php?s=learn;");
aI("image=includes/menu/dvd.gif;text=DVD - How To Pass;url=dvd.php?s=learn;");
aI("image=includes/menu/questions.gif;text=Questions (FAQ);url=questions.php?s=learn;");
aI("image=includes/menu/passplus.gif;text=Pass Plus;url=passplus.php?s=learn;");
aI("image=includes/menu/becomeaninstructor.gif;text=Caravan Towing;url=towing.php?s=learn;");
aI("image=includes/menu/lessonprices.gif;text=Lesson Prices;url=prices.php?s=learn;");
aI("image=includes/menu/learningtodrive.gif;text=Book Your Theory Test Online;url=https://pt.dsa.gov.uk/tests/tests_E/tt/index.asp?test=tt;target=_blank;");
aI("image=includes/menu/learningtodrive.gif;separatorsize=1;text=Book Your Practical Test Online;url=https://pt.dsa.gov.uk/tests/tests_E/pt/index.asp?test=pt;target=_blank;");
aI("image=includes/menu/contactus.gif;separatorsize=1;text=Contact Us;url=contact.php?s=learn;");
aI("image=includes/menu/fleet.gif;text=Make A Comment;url=comments.php?s=learn;");
aI("image=includes/menu/lookatcomments.gif;text=Look At Comments;url=comments.php?action=view&s=learn;");
}

with(milonic=new menuname("theory")){
margin=2;
style=XPMenuStyle;
aI("image=includes/menu/drivingtest.gif;text=Register (New Members);url=theory.php?s=learn;");
aI("image=includes/menu/theory.gif;text=Log In (Existing Members);url=theory;");
}

with(milonic=new menuname("drivingtest")){
margin=2;
style=XPMenuStyle;
aI("image=includes/menu/becomeaninstructor.gif;text=About The Driving Test;url=abouttest.php?s=learn;");
aI("image=includes/menu/instructorforums.gif;text=Show Me/Tell Me Questions;url=showme.php?s=learn;");
}

with(milonic=new menuname("learningtodrive")){
margin=2;
style=XPMenuStyle;
aI("image=includes/menu/learningtodrive2.gif;separatorsize=1;text=Learning To Drive Contents;url=ltdmenu.php?s=learn;");
aI("image=includes/menu/learningtodrive2.gif;text=Knowing What The Controls Are For;url=ltdsection1.php;");
aI("image=includes/menu/learningtodrive2.gif;text=How To Get The Car Moving;url=ltdsection2.php;");
aI("image=includes/menu/learningtodrive2.gif;text=How To Use Your Mirrors;url=ltdsection3.php;");
aI("image=includes/menu/learningtodrive2.gif;text=How To Use The Gears;url=ltdsection4.php;");
aI("image=includes/menu/learningtodrive2.gif;text=How To Use The Steering Wheel;url=ltdsection5.php;");
aI("image=includes/menu/learningtodrive2.gif;text=How To Move Off Up And Downhill;url=ltdsection6.php;");
aI("image=includes/menu/learningtodrive2.gif;text=How To Move A Car Slowly;url=ltdsection7.php;");
aI("image=includes/menu/learningtodrive2.gif;text=How To Turn In Various Situations;url=ltdsection8.php;");
aI("image=includes/menu/learningtodrive2.gif;text=More On Turning In Various Situations;url=ltdsection9.php;");
aI("image=includes/menu/learningtodrive2.gif;text=How To Approach Meeting Situations;url=ltdsection10.php;");
aI("image=includes/menu/learningtodrive2.gif;text=How To Approach Pedestrian Crossings;url=ltdsection11.php;");
aI("image=includes/menu/learningtodrive2.gif;text=How To Approach Crossroads Controlled By<br /> Traffic Lights;url=ltdsection12.php;");
aI("image=includes/menu/learningtodrive2.gif;text=How To Carry Out An Emergency Stop;url=ltdsection13.php;");
aI("image=includes/menu/learningtodrive2.gif;text=How To Carry Out A Turn In The Road;url=ltdsection14.php;");
aI("image=includes/menu/learningtodrive2.gif;text=How To Carry Out A Reverse Corner To<br /> The Left;url=ltdsection15.php;");
aI("image=includes/menu/learningtodrive2.gif;text=How To Carry Out A Reverse Around A<br /> Parked Car;url=ltdsection16.php;");
}

with(milonic=new menuname("careers")){
margin=2;
style=XPMenuStyle;
aI("image=includes/menu/becomeaninstructor.gif;text=Become A Driving Instructor;url=drivinginstructor.php?s=career;");
aI("image=includes/menu/motorcycle.png;text=Become A Motorcycle Trainer;url=become_a_bike_trainer.php?s=mc_career;");
aI("image=includes/menu/instructorforums.gif;text=Instructor Forums;url=instructorforums.php?s=career;");
aI("image=includes/menu/fleet.gif;text=About Fleet Training;url=aboutfleettraining.php?s=career;");
aI("image=includes/menu/becomefleet.gif;text=Become A Fleet Trainer;url=fleettrainer.php?s=career;");
aI("image=includes/menu/ordit.gif;text=Become An ORDIT Approved Trainer;url=ordit.php?s=career;");
aI("image=includes/menu/theadishop.gif;text=The ADI Shop;url=theadishop.php?s=career#;");
}

with(milonic=new menuname("motorcycle")){
margin=2;
style=XPMenuStyle;
aI("image=includes/menu/motorcycle.png;text=Learn To Ride;showmenu=motorcyclelearn;");
aI("image=includes/menu/passplus.gif;text=Learn to Ride in a Week;url=bike_licence_in_a_week.php?s=mc_learn;");
aI("image=includes/menu/theadishop.gif;separatorsize=1;text=Bike Theory Test Shop;url=bike_theory_test_shop.php?s=mc_learn;");
aI("image=includes/menu/learningtodrive.gif;text=Book Your Theory Test Online;url=https://pt.dsa.gov.uk/tests/tests_E/tt/index.asp?test=tt;target=_blank;");
aI("image=includes/menu/learningtodrive.gif;separatorsize=1;text=Book Your Practical Test Online;url=https://pt.dsa.gov.uk/tests/tests_E/pt/index.asp?test=pt;target=_blank;");
aI("image=includes/menu/becomefleet.gif;text=Become A Motorcycle Instructor;url=become_a_bike_trainer.php?s=mc_career;");
}

with(milonic=new menuname("motorcyclelearn")){
margin=2;
style=XPMenuStyle;
aI("image=includes/menu/theory.gif;text=Motorcycle Theory Test;url=bike_theory.php?s=mc_learn;");
aI("image=includes/menu/passplus.gif;text=Compulsory Basic Training (CBT);url=cbt.php?s=mc_learn;");
aI("image=includes/menu/passplus.gif;text=Standard License (Full Test On 125cc Bikes);url=standard_license.php?s=mc_learn;");
aI("image=includes/menu/passplus.gif;text=Direct Access (Full Test On 500cc Bikes);url=direct_access.php?s=mc_learn;");
aI("image=includes/menu/passplus.gif;text=Learn to Ride in a Week;url=bike_licence_in_a_week.php?s=mc_learn;");
aI("image=includes/menu/lessonprices.gif;text=Prices;url=bike_prices.php?s=mc_learn;");
aI("image=includes/menu/fleet.gif;text=Terms and Conditions;url=bike_terms.php?s=mc_learn;");
}

with(milonic=new menuname("contact")){
margin=2;
style=XPMenuStyle;
aI("image=includes/menu/details.gif;text=Details;url=contactdetails.php;");
aI("image=includes/menu/enquiry.gif;text=Make An Enquiry;url=contact.php;");
aI("image=includes/menu/privacypolicy.gif;text=Privacy Policy;url=privacypolicy.php;");
aI("image=includes/menu/learningtodrive.gif;text=Terms And Conditions;url=terms.php;");
}

with(milonic=new menuname("lgv")){
margin=2;
style=XPMenuStyle;
aI("image=includes/menu/lorry.png;text=Category C1 (7&frac12; Tonne);url=category_c1.php?s=lgv_learn;");
aI("image=includes/menu/lorry.png;text=Category C (18 Tonne Class 2 Rigid);url=category_c.php?s=lgv_learn;");
aI("image=includes/menu/lorry.png;text=Category C+E (Artic Class 1);url=category_c+e.php?s=lgv_learn;");
aI("image=includes/menu/lorry.png;text=Category D1 (Minibus);url=category_d1.php?s=lgv_learn;");
aI("image=includes/menu/theadishop.gif;text=Lorry and Minibus Theory Test Shop;url=lorry_minibus_theory_test_shop.php?s=lgv_learn;");
}

drawMenus();

