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=5;




with(redmenuStyle=new mm_style()){
bgimage="images/redtab2.gif";
styleid=5;
imagepadding=4;
fontfamily="Verdana";
fontsize="8pt";
fontstyle="normal";
fontweight="bold";
onsubimage="images/arrow.gif";
itemheight=26;
itemwidth=161;
rawcss="padding-left:5px"
overbgimage="images/redtab2.gif";
subimage="images/white_arrow.gif";
subimagepadding=2;
offcolor="#ffffff";
oncolor="#000000";
separatorcolor="transparent";
separatorsize=2;
separatorpadding=0;
}

with(redmenuStyle1=new mm_style()){
bgimage="images/redtab.gif";
styleid=5;
imagepadding=4;
fontfamily="Verdana";
fontsize="8pt";
fontstyle="normal";
fontweight="bold";
onsubimage="images/arrow.gif";
itemheight=26;
itemwidth=114;
rawcss="padding-left:5px"
overbgimage="images/redtab.gif";
subimage="images/white_arrow.gif";
subimagepadding=2;
offcolor="#ffffff";
oncolor="#000000";
separatorcolor="transparent";
separatorsize=2;
separatorpadding=0;
}

with(yellowmenuStyle=new mm_style()){
bgimage="images/yellowtab2.gif";
styleid=5;
imagepadding=4;
fontfamily="Verdana";
fontsize="8pt";
fontstyle="normal";
fontweight="bold";
onsubimage="images/arrow.gif";
itemheight=26;
itemwidth=161;
rawcss="padding-left:5px"
overbgimage="images/yellowtab2.gif";
subimage="images/white_arrow.gif";
subimagepadding=2;
offcolor="#ffffff";
oncolor="#000000";
separatorcolor="transparent";
separatorsize=2;
separatorpadding=0;
}

with(yellowmenuStyle1=new mm_style()){
bgimage="images/yellowtab.gif";
styleid=5;
imagepadding=4;
fontfamily="Verdana";
fontsize="8pt";
fontstyle="normal";
fontweight="bold";
onsubimage="images/arrow.gif";
itemheight=26;
itemwidth=114;
rawcss="padding-left:5px"
overbgimage="images/yellowtab.gif";
subimage="images/white_arrow.gif";
subimagepadding=2;
offcolor="#ffffff";
oncolor="#000000";
separatorcolor="transparent";
separatorsize=2;
separatorpadding=0;
}

with(greenmenuStyle=new mm_style()){
bgimage="images/greentab2.gif";
styleid=5;
imagepadding=4;
fontfamily="Verdana";
fontsize="8pt";
fontstyle="normal";
fontweight="bold";
onsubimage="images/arrow.gif";
itemheight=26;
itemwidth=161;
rawcss="padding-left:5px"
overbgimage="images/greentab2.gif";
subimage="images/white_arrow.gif";
subimagepadding=2;
offcolor="#ffffff";
oncolor="#000000";
separatorcolor="transparent";
separatorsize=2;
separatorpadding=0;
separatorpadding=0;
}

with(greenmenuStyle1=new mm_style()){
bgimage="images/greentab.gif";
styleid=5;
imagepadding=4;
fontfamily="Verdana";
fontsize="8pt";
fontstyle="normal";
fontweight="bold";
onsubimage="images/arrow.gif";
itemheight=26;
itemwidth=114;
rawcss="padding-left:5px"
overbgimage="images/greentab.gif";
subimage="images/white_arrow.gif";
subimagepadding=2;
offcolor="#ffffff";
oncolor="#000000";
separatorcolor="transparent";
separatorsize=2;
separatorpadding=0;
separatorpadding=0;
}

with(bluemenuStyle=new mm_style()){
bgimage="images/bluetab2.gif";
styleid=5;
imagepadding=4;
fontfamily="Verdana";
fontsize="8pt";
fontstyle="normal";
fontweight="bold";
onsubimage="images/arrow.gif";
itemheight=26;
itemwidth=161;
rawcss="padding-left:5px"
overbgimage="images/bluetab2.gif";
subimage="images/white_arrow.gif";
subimagepadding=2;
offcolor="#ffffff";
oncolor="#000000";
separatorcolor="transparent";
separatorsize=2;
separatorpadding=0;
}

with(bluemenuStyle1=new mm_style()){
bgimage="images/bluetab.gif";
styleid=5;
imagepadding=4;
fontfamily="Verdana";
fontsize="8pt";
fontstyle="normal";
fontweight="bold";
onsubimage="images/arrow.gif";
itemheight=26;
itemwidth=114;
rawcss="padding-left:5px"
overbgimage="images/bluetab.gif";
subimage="images/white_arrow.gif";
subimagepadding=2;
offcolor="#ffffff";
oncolor="#000000";
separatorcolor="transparent";
separatorsize=2;
separatorpadding=0;
}

with(background=new mm_style()){
fontfamily="Verdana";
fontsize="10pt";
fontstyle="normal";
fontweight="bold";
image="images/transparent.gif";
imagewidth=15;
imagepadding=0;
itemheight=26;
itemwidth=114;
offcolor="#ffffff";
oncolor="#000000";
separatorcolor="transparent";
separatorsize=20;
separatorpadding=10;
}

with(milonic=new menuname("aboutus")){
style=redmenuStyle1;
aI("text=home page;url=http://www.swakeleysdental.com/index.html;");
aI("text=why Swakeleys;url=http://www.swakeleysdental.com/why-swakeleys.html;");
aI("text=the team;url=http://www.swakeleysdental.com/the-team.html;");
aI("text=appointments;url=http://www.swakeleysdental.com/appointments.html;");
}

with(milonic=new menuname("newpatients")){
style=yellowmenuStyle1;
aI("text=new patients;url=http://www.swakeleysdental.com/new-patients.html;");
aI("text=technology;showmenu=technology;text=technology;");
aI("text=fee guide;url=http://www.swakeleysdental.com/fee-guide.html;");
aI("text=surgery tour;url=http://www.swakeleysdental.com/surgery-tour.html;");
aI("text=library;url=http://www.swakeleysdental.com/library.html;");
aI("text=hillingdon first;url=http://www.swakeleysdental.com/hillingdon-first.html;");
aI("text=appointments;url=http://www.swakeleysdental.com/appointments.html;");
}

with(milonic=new menuname("smilemaking")){
style=greenmenuStyle1;
aI("text=treatments;showmenu=treatments;text=treatments;");
aI("text=testimonials;url=http://www.swakeleysdental.com/testimonials.html;");
aI("text=gallery;url=http://www.swakeleysdental.com/gallery.html;");
aI("text=library;url=http://www.swakeleysdental.com/library.html;");
aI("text=appointments;url=http://www.swakeleysdental.com/appointments.html;");
}

with(milonic=new menuname("contactus")){
style=bluemenuStyle1;
aI("text=contact details;url=http://www.swakeleysdental.com/contact.html;");
aI("text=forms;showmenu=contact;text=forms;");
aI("text=appointments;url=http://www.swakeleysdental.com/appointments.html;");
}

with(milonic=new menuname("technology")){
style=yellowmenuStyle;
aI("text=digital x-rays;url=http://www.swakeleysdental.com/technology.html#digitalxrays;");
aI("text=intra-oral camera;url=http://www.swakeleysdental.com/technology.html#intraoral;");
aI("text=endodontic microscope;url=http://www.swakeleysdental.com/technology.html#endodontic;");
aI("text=procedure simulator;url=http://www.swakeleysdental.com/technology.html#simulator;");
aI("text=education system;url=http://www.swakeleysdental.com/technology.html#education;");
}

with(milonic=new menuname("treatments")){
style=greenmenuStyle;
aI("text=maintenance;url=http://www.swakeleysdental.com/treatments-maintenance.html;");
aI("text=hygiene;url=http://www.swakeleysdental.com/treatments-hygiene.html;");
aI("text=veneers;url=http://www.swakeleysdental.com/treatments-veneers.html;");
aI("text=crowns;url=http://www.swakeleysdental.com/treatments-crowns.html;");
aI("text=whitening;url=http://www.swakeleysdental.com/treatments-whitening.html;");
aI("text=endodontics;url=http://www.swakeleysdental.com/treatments-endodontics.html;");
aI("text=bridges;url=http://www.swakeleysdental.com/treatments-bridges.html;");
aI("text=white fillings;url=http://www.swakeleysdental.com/treatments-white-fillings.html;");
aI("text=mouthguards;url=http://www.swakeleysdental.com/treatments-mouthguards.html;");
}

with(milonic=new menuname("contact")){
style=bluemenuStyle;
aI("text=appointment request;url=http://www.swakeleysdental.com/appointments.html;");
aI("text=medical history;url=http://www.swakeleysdental.com/medical-history.html;");
}

drawMenus();

